Robert A. LaBudde
2009-Sep-03 17:07 UTC
[R] Problem accessing functions in package 'roxygen'
I have Vista Home with R-2.9.0, and installed and tried to test the package 'roxygen': > utils:::menuInstallPkgs() trying URL 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/roxygen_0.1.zip' Content type 'application/zip' length 699474 bytes (683 Kb) opened URL downloaded 683 Kb package 'roxygen' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\RAL\AppData\Local\Temp\RtmpZPlILq\downloaded_packages updating HTML package descriptions Warning message: In file.create(f.tg) : cannot create file 'C:\PROGRA~1\R\R-29~1.0/doc/html/packages.html', reason 'Permission denied' > library('roxygen') Warning message: package 'roxygen' was built under R version 2.9.1 > trim(" 1234") Error: could not find function "trim" I have a similar problem with trim.right(), trim.left() and other functions I've tried. Any ideas? ===============================================================Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral at lcfltd.com Least Cost Formulations, Ltd. URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239 Fax: 757-467-2947 "Vere scire est per causas scire"
Robert A. LaBudde wrote:> I have Vista Home with R-2.9.0, and installed and tried to test the > package 'roxygen': > > > utils:::menuInstallPkgs() > trying URL > 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/roxygen_0.1.zip' > Content type 'application/zip' length 699474 bytes (683 Kb) > opened URL > downloaded 683 Kb > > package 'roxygen' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Users\RAL\AppData\Local\Temp\RtmpZPlILq\downloaded_packages > updating HTML package descriptions > Warning message: > In file.create(f.tg) : > cannot create file 'C:\PROGRA~1\R\R-29~1.0/doc/html/packages.html', > reason 'Permission denied' > > library('roxygen') > Warning message: > package 'roxygen' was built under R version 2.9.1 > > trim(" 1234") > Error: could not find function "trim" > > I have a similar problem with trim.right(), trim.left() and other > functions I've tried. > > Any ideas?Probably it is not intende to call trim and friends like that, because they are not exported from roxygen's namespace, hence you could use roxygen:::trim(" 1234") Uwe Ligges> ===============================================================> Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral at lcfltd.com > Least Cost Formulations, Ltd. URL: http://lcfltd.com/ > 824 Timberlake Drive Tel: 757-467-0954 > Virginia Beach, VA 23464-3239 Fax: 757-467-2947 > > "Vere scire est per causas scire" > > ______________________________________________ > 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.
Apparently Analagous Threads
- Multidimensional contingency tables
- Is there a good package for multiple imputation of missing values in R?
- S-Plus "resample" package and associated functions
- R function which finds confidence interval for binomial variance
- Singularity in simple ANCOVA problem