access other directories/ setwd
Colleagues ---------------------------------- System info: Version 1.2.3 (2001-04-26) on NT ESS v. 5.1.18 using emacs ver. 20.4 ---------------------------------- This message is a follow up to a previous enquiry where Patrick Connolly and Brian Ripley both provided helpful suggestions. I want to be able to access objects in another subdirectory than that where I start R. The startup directory (\\biomass spectrum) currently has no objects in it. The other directory (\\opc) has lots of objects. I need to see these, so I tried attaching the .Rdata in \\opc\\R-src. Patrick suggested that it was called _RData in windows, but it does seem to be called .RData.
getwd()
[1] "h:\\DATA\\nov99_TAN9913\\biomass spectrum"
objects()
character(0)
setwd("h:\\DATA\\nov99_TAN9913\\opc")
NULL
getwd()
[1] "h:\\DATA\\nov99_TAN9913\\opc"
objects()
character(0)
attach("h:\\DATA\\nov99_TAN9913\\opc\\R-src\\.RData")
objects()
character(0)
You can see from this that i am not doing the correct thing to access
these objects. Can you provide further guidance?
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._