read.table() (was: Re: [R] (no subject))

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Sun Aug 3 23:48:33 CEST 2003


Firstly, please use a subject!

On Fri, 1 Aug 2003, Paolo Covelli wrote:

> > Hello,
> > My question is very simple. I have installed R from the internet and I
> want to use it to analyse my data set. It seems that R is not able to make
> the
> > connection when I use the read.table () function since it probably doesn't
> know where is the required file. Where am I suppose to save my file ?
> > Thanks

Have you looked at "An Introduction to R", and ?read.table?

Which operating system are you using?  Windows or Linux?

If you are using Linux/Unix, then you can call R from the directory where 
you data set sits in.  If you are using Windows, you can either set the 
working directory and start R, or use the file.choose() option in 
read.table().  Please read "R for Windows FAQ" under Documentation -> FAQ 
in CRAN.

-- 
Cheers,

Kevin

------------------------------------------------------------------------------
"On two occasions, I have been asked [by members of Parliament],
'Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?' I am not able to rightly apprehend the
kind of confusion of ideas that could provoke such a question."

-- Charles Babbage (1791-1871) 
---- From Computer Stupidities: http://rinkworks.com/stupid/

--
Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
    x88475 (City)
    x88480 (Tamaki)




More information about the R-help mailing list