[R] Opening files from R terminal - appologies

Sarah Goslee
Tue, 22 Jul 2008 13:43:56 -0000

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
<robin.williams at metoffice.gov.uk> 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