Hello all, After this reinstallation of R 3.1.1 and Rstudio 0.98.1028, I have the following error messages whenever I tried to load a library to it:> library('zoo')Error : '.path.package' is defunct. Use 'path.package' instead. See help("Defunct") Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Could you please help on this? Thanks! Rebecca ---------------------------------------------------------------------- This message, and any attachments, is for the intended r...{{dropped:5}}
Hello, This seems to be an RStudio issue, to load package zoo works on R 3.1.1 on Windows, at least when using RGui. RStudio has its own help list, maybe you should contact them, at https://support.rstudio.com. > library(zoo) Attaching package: ?zoo? The following objects are masked from ?package:base?: as.Date, as.Date.numeric > sessionInfo() R version 3.1.1 (2014-07-10) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=Portuguese_Portugal.1252 LC_CTYPE=Portuguese_Portugal.1252 [3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C [5] LC_TIME=Portuguese_Portugal.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] zoo_1.7-11 Hope this helps, Rui Barradas Em 25-09-2014 19:02, Yuan, Rebecca escreveu:> Hello all, > > After this reinstallation of R 3.1.1 and Rstudio 0.98.1028, I have the following error messages whenever I tried to load a library to it: > >> library('zoo') > Error : '.path.package' is defunct. > Use 'path.package' instead. > See help("Defunct") > > Attaching package: 'zoo' > > The following objects are masked from 'package:base': > > as.Date, as.Date.numeric > > Could you please help on this? > > Thanks! > > Rebecca > > ---------------------------------------------------------------------- > This message, and any attachments, is for the intended r...{{dropped:5}} > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On Sep 25, 2014, at 1:02 PM, Yuan, Rebecca <rebecca.yuan at bankofamerica.com> wrote:> Hello all, > > After this reinstallation of R 3.1.1 and Rstudio 0.98.1028, I have the following error messages whenever I tried to load a library to it: > >> library('zoo') > Error : '.path.package' is defunct. > Use 'path.package' instead. > See help("Defunct") > > Attaching package: 'zoo' > > The following objects are masked from 'package:base': > > as.Date, as.Date.numeric > > Could you please help on this? > > Thanks! > > RebeccaCheck the version of 'zoo' that you have installed by using: library(help = zoo) More than likely, you have an old version of the package installed (current is 1.7-11) that still uses the now defunct function, hence the error message. You can run: update.packages(checkBuilt = TRUE) to update all of your installed packages and be sure that they are built for the current version of R that you now have running. There may be other nuances here, such as OS, having Admin access and where the CRAN packages are installed, but at least checking the version of zoo will be a good staring point. Regards, Marc Schwartz