[Rd] R CMD install on R 2.5.0 alpha

Henrik Bengtsson hb at stat.berkeley.edu
Sat Apr 7 18:35:14 CEST 2007


Hi,

I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for
WinXP.  When I try to
install a package R tries to install it to a no-name (empty name)
directory (causing error downstream):

RCMD INSTALL R.oo
installing to ''

FYI: Package install perfectly on R v2.4.1 patched, and did so also on
earlier R v2.5.0 devel/alpha(?) versions.

Current directory is:
C:\tmp

with subdirectory R.oo/ containing inst/ man/ R/ DESCRIPTION as usual.

I noticed the following in CHANGES and NEWS related to R CMD INSTALL:

 o	R CMD INSTALL now installs by default into the first library on
	the library path if R was run in the current environment.
	Similarly, R CMD REMOVE by default removes from that library.
	R CMD INSTALL does a better job of removing its temporary
	directory.

 o	R CMD INSTALL and R CMD REMOVE now use as the default library
	(if -l is not specified) the first library that would be used
	if R were run in the current environment (and they run R to
	find it).

    o	R CMD INSTALL now prepends the installation directory (if
	specified) to the library search path.

But my I do have:

> .libPaths()
[1] "C:/PROGRA~1/R/R-2.5.0alpha/library"

My setup:
echo %RHOME%:
C:\PROGRA~1\R\R-2.5.0alpha
> .libPaths()
[1] "C:/PROGRA~1/R/R-2.5.0alpha/library"
> sessionInfo()
R version 2.5.0 alpha (2007-04-04 r41043)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MON
ETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"
[7] "base"


Any help appreciated

Henrik



More information about the R-devel mailing list