From rpeng at jhsph.edu  Wed Jun 23 15:59:10 2004
From: rpeng at jhsph.edu (Roger D. Peng)
Date: Wed Jun 23 15:59:13 2004
Subject: [Rd] problem with tilde expansion in install.packages
Message-ID: <40D98CAE.7000501@jhsph.edu>

In R 1.9.0 on Solaris/Sparc when I run, for example, 
install.packages("gregmisc", "~/R-local/lib"), instead of installing 
the `gregmisc' package in the directory 
/users/student/rpeng/R-local/lib the package gets installed in 
/users/student/rpeng/\~/R-local/lib, so the directory \~ is created in 
my home directory.  This doesn't happen to me on Linux or Windows so I 
thought it might not be an R problem.

I realize I'm referring to an older version of R but I was wondering 
if anyone had seen this happen (perhaps on 1.9.1) or how I might 
better pinpoint the problem.

 > version
          _
platform sparc-sun-solaris2.8
arch     sparc
os       solaris2.8
system   sparc, solaris2.8
status
major    1
minor    9.0
year     2004
month    04
day      12
language R

If it matters, I'm using tcsh (in /bin/tcsh).

-roger

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/


[Rd] problem with tilde expansion in install.packages
Roger D. Peng