[R] "R CMD INSTALL in R 2.5.1 (2007-06-27)"
Uwe Ligges
ligges at statistik.uni-dortmund.de
Sat Jun 30 23:03:35 CEST 2007
Fredrik Lundgren wrote:
> Hello,
>
> I'm moving from R 2.2.1 (Winows XP) to R 2.5.1 and have problems with
> installing "myfuncs", which worked OK in 2.2.1
>
> R CMD INSTALL myfuns
> # gives
> installing to ''
Have you set an environment variable such as R_LIBS that is "" rather
than a sensible directory? (my guess)
Are all the tools up to date?
Do you have another library (except the standard one) defined anywhere?
Can you source() all the R files in your package separately in R-2.5.1?
Uwe Ligges
>
>
> ---------- Making package myfuncs ------------
> adding build stamp to DESCRIPTION
> installing R files
> installing man source files
> installing indices
> installing help
> >>> Building/Updating help pages for package 'myfuncs'
> Formats: text html latex example chm
> Bland.plot text html latex example
> Cook.plot text html latex example
> added.var.plot text html latex example
> jit.plot text html latex example
> waldtest text html latex example
> preparing package myfuncs for lazy loading
> Warning in list.files(lib, pattern = paste("^", pkg_regexp, sep = ""),
> full = TR
> UE) :
> list.files: '' is not a readable directory
> Error in findpack(package, lib.loc) : there is no package called
> 'myfuncs'
> Execution halted
> make: *** [lazyload] Error 1
> *** Installation of myfuncs failed ***
>
> Removing '/myfuncs'
> # end
>
> "installing to '' " at the start appears to be the problem
>
> I have install Rtools 2.5.1 appropriately ( I hope)
> my PATH looks like this:
>
> PATH=C:\Program\Rtools\MinGW\bin;C:\Program\R\Rtools\bin;c:\program\imagemagick-
> 6.1.8-q16;C:\Program\TeXLive\bin\win32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS
> \system32\WBEM;C:\Program\Aspell\bin;C:\Program\Perl\bin\;C:\Program\HTML
> Help W
> orkshop;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program\ATI
> T
> echnologies\ATI Control
> Panel;C:\Program\R\R-2.5.1\bin;C:\Program\sp2000\cmd;C:\
> Program\XEmacs\XEmacs-21.4.13\i586-pc-win32;C:\Program\gnuplot\bin;C:\Program\Ma
> yura;C:\Program files\WinEdt Team\WinEdt;C:\Program\Internet
> Explorer;;C:\Progra
> m\WinBUGS;C:\Program\Adobe\Acrobat
> 7.0\Reader;C:\Program\QuickTime\QTSystem\
>
> To me looks as if R don't know where to install - any help available?
>
> Sincerely Fredrik Lundgren
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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