Hi Robin,
read.table() is the general import function, and read.csv() and read.csv2() are
very similar but have different defaults.
For learning the ins and outs of R, the keyword help search is very useful:
help.search("csv") would have sent you to read.table for data input.
There are also some useful reference materials available at www.r-project.org
that cover the basics, including data import and export.
Sarah
On Tue, Jul 22, 2008 at 9:24 AM, Williams, Robin
<[EMAIL PROTECTED]> wrote:
In this directory is a file named
> InitialDataAnalysis.csv
> which I would like to read in to R. However, I am simply unable to find
> the surely simple command to do this. Just typing
> InitialDataAnalysis.csv reports "object not found" etc, as does
> read.file("InitialDataAnalysis.csv") etc. I am surely making a simple
> mistake? Please could someone tell me how to read this file in to the
> terminal window?
--
Sarah Goslee
http://www.functionaldiversity.org
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.