Skip to content
Prev 18231 / 398513 Next

How do you organize the objects you produced?

"Rikkoe at softhome.net" wrote:
Well, I wouldn't suggest to start learning R by creating your own
packages. But after some experiences it's a nice thing.
You are looking for 
 source()

It's mentioned in section 1.10 of "An Introduction to R" (this manual is
really worth reading it completely; hint, hint!).
Indeed, mistakenly.
"Usage: attach(what, pos = 2, name = deparse(substitute(what)))
Arguments: what, ``database''. This may currently be a data.frame or
list or a R data file created with save."

You can set your working directory (see below).
Well, as cited above: it's a directory, but neither a data.frame nor a
list nor a R data file.
Instead of using the GUI, you can set your working directory with
 setwd("c:/temp")
Additionally, read.table() [and any other function] also works for whole
paths, e.g.: "c:/temp/test.dat".

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._