[Rd] tilde expansion with install.packages
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Apr 5 10:49:39 CEST 2007
Looks right, and now committed, thanks.
On Wed, 4 Apr 2007, Roger D. Peng wrote:
> I've noticed recently that 'update.packages' and 'install.packages' seem to
> not do tilde expansion anymore, i.e. when I run
>
> update.packages("~/R-local/lib")
>
> on R-alpha (r41043) I get the message
>
> /home/rpeng/install/R-alpha/lib64/R/bin/INSTALL: line 304: cd:
> ~/R-local/lib: No such file or directory
>
> and the package is subsequently installed in the current working directory.
>
> The attached patch solves the problem for me.
>
> -roger
>
--
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
More information about the R-devel
mailing list