[R] windows nt/access other directories/ attach/system

Thomas Lumley tlumley at u.washington.edu
Fri Jun 1 02:01:10 CEST 2001

On Fri, 1 Jun 2001, S.McClatchie wrote:
> As recommended, I keep separate directories for projects, but also use
> separate sub-directories for types of data (e.g. different oceanographic
> instruments) within projects.
> My problem is that I often need to access the objects and data (not
> stored as objects) in more than one directory.
> I understand (mistakenly?) that at present you cannot use attach() with
> directories, just with objects and packages. Also I think
> system("command") is for the UNIX environment. System("cd ..") gives
> me an error under Windows NT.

system() does work under Windows, but system("cd ..") wouldn't change the
working directory even under Unix. setwd() is for changing directories.


Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list