Peter Dalgaard wrote:
"Roger D. Peng" <[EMAIL PROTECTED]> writes:


I didn't compile this version of R myself but I believe readline is
compiled in -- the command history works and:

> capabilities("cledit")
cledit
  TRUE

Also,

> Sys.getenv("HOME")
                  HOME
"/users/student/rpeng"

which is in fact my home directory.


I think sufficiently braindead versions of sh just will do this to you,
including the one that comes default on Solaris 9:

rasch:~/>/usr/bin/sh
$ ls ~
~: No such file or directory

I get the same result on our system.


This applies also to system() processing, e.g.


system("mkdir -p ~/xxx")

gets you a directory "~" with subdir "xxx". (NB: If you try this,
think VERY carefully about how to remove that dir!!!!)

Yes, I've already made that mistake once. Once.

-roger

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

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to