[R] windows nt/access other directories/ attach/system
S.McClatchie
s.mcclatchie at niwa.cri.nz
Fri Jun 1 01:27:58 CEST 2001
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
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. Obviously it is inconvenient to quit R and
restart in the other directory, and messy to combine the "instrument sub-
directories" into a giant "project directory".
Do you have a suggestion of how to proceed, other than keeping my
data as objects (I generally prefer to keep my data as text files so I can
access them with Matlab when I need to).
Help will be appreciated.
Thanks
Sam
Sam McClatchie, Research scientist (fisheries acoustics))))))))))
NIWA (National Institute of Water & Atmospheric Research Ltd)
PO Box 14 901, Kilbirnie, Wellington, New Zealand
s.mcclatchie at niwa.cri.nz
/\
...>><xX(°> // \\
/// \\\
//// \\\\
/// <°)Xx><<
///// \\\\\\
><(((°>
>><(((°> ...>><xX(°>O<°)Xx><<
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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