[R] different file types
spencer.graves at pdf.com
Tue Mar 11 22:02:56 CET 2003
The command "'source' causes R to accept its input from the named file".
I don't know what you mean by "associative arrays", but "`switch'
evaluates `EXPR' and accordingly chooses one of the further arguments".
Hope this helps.
janet rosenbaum wrote:
> Hi. I am writing a program to read in different types of files from a
> GUI. While it's easy to read different types of text files, I am
> stymied how to make R execute the input.
> Ideally I could get the command from input and dereference it like
> where command would be read.dta or read.table or read.xport or any of
> the similar commands.
> Also, is there a way to make associative arrays?
> It would be nice to be able to get the format from input and then have
> Otherwise, I guess I'll just do cascading if's.
> Janet Rosenbaum jerosenb at fas.harvard.edu
> Center for Basic Research in the Social Sciences, Harvard University
> R-help at stat.math.ethz.ch mailing list
More information about the R-help