[R] Problem accessing functions in package 'roxygen'
Uwe Ligges
ligges at statistik.tu-dortmund.de
Thu Sep 3 19:42:33 CEST 2009
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.
More information about the R-help
mailing list