[R] Version Upgrade and Packages

Rich Shepard rshepard at appl-ecosys.com
Mon Mar 4 17:28:11 CET 2013


On Mon, 4 Mar 2013, MacQueen, Don wrote:

> Immediately after you see one of those messages, do, e.g.,
>
>  find('cor')

> It should tell you that you have more than one object named 'cor' in your
> search path, and where they all are. Then you can decide if it's what you
> want (probably not, but can't say from here).

Don,

   find doesn't because these are apparently not individual files. So I run
egrep -R 'cor' * or egrep -R 'as.Date' * within /usr/lib/R/library and see
many instances of where these strings are used. Many are in help files.
Others are used in different libraries; for example:

gdata/unitTests/runit.getDateTimeParts.R:cDate <- as.Date(tDate)

plyr/tests/test-rbind.r:    d = as.Date(c("2008-01-01", "2009-01-01",
"2010-01-01")))

spacetime/demo/gvis.R:	rural_PM10$time == as.Date("2003-12-31"))

timeDate/unitTests/runit.SpecialDates.R:    dts <- as.Date(ch.dts)

zoo/NAMESPACE:   "as.Date",

   I'm not seeing code for as.Date, as.Date.numeric, or cor in multiple
libraries.

Thanks,

Rich



More information about the R-help mailing list