Nothing has changed here for three months, AFAICS. However, I noticed you
have installed R into a directory with a space in the path, despite the
advice not to. OTOH, I have just tested installing where you did, and
was able to install R.oo:
[c:/Program Files/R/R-2.5.0alpha/bin]% ./Rcmd INSTALL
d:/R/packages/contrib/R.oo_1.2.3.tar.gz
installing to 'c:/PROGRA~1/R/R-25~1.0AL/library'
...
On Windows, INSTALL is a Perl script. Please debug it to see what is
going wrong on your setup (it is working for many others).
You can of course specify -l to workaround this.
On Sat, 7 Apr 2007, Henrik Bengtsson wrote:
> Hi,
>
> I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for
That is not the latest binary build I am offered, let alone the latest
sources.
> 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
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595