[R] open file by browsing
till.baumgaertel at epost.de
Thu Jun 28 07:09:47 CEST 2001
> Is there a way to open a file by browsing (instead of writing filename
> and path).
if you want to load a data-file into a data.frame you could do:
data <- read.table( file.choose(), sep=",");
of course, this reuqires you to know your file-format.
in the above example you had a comma-delimited ascii-file.
there is no function which can be used for data-import without knowing the
fileformat and no "spss-like" import-function. (correct me if i'm wrong
"I have seen things you people wouldn't believe.
Attack-ships on fire off the shoulder of Orion.
I watched seabeams glitter in the dark near the
All those moments will be lost in time like
tears in rain. Time to die." (Roy)
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