Re: [R] Can't there be a cd command?

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Wed 10 May 2006 - 23:09:01 EST

> so, _if_ 'cd' would be recognized in future releases, it would'nt do any > harm, would it?

> ls()

[1] some things here
> cd("foo")
> ls()

[1] some things here

Cue shout of: "Hey, it didnt work!"

ls() is not to /bin/ls what setwd() is to 'cd'.

Gets -1 from me. setwd() makes it clear[er] its a working directory on the file system and nothing to do with R's objects.

Barry



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed May 10 23:13:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 11 May 2006 - 00:10:04 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.