Re: [R] read table problem

2006-02-24 Thread Prof Brian Ripley
Files save()d in R should be read back with load(). .RData or .rda are common extensions for such files. On Fri, 24 Feb 2006, Chua Tock Hing wrote: > Hi > > > > I have a file saved in R, named agrexp.Rdata, shown below > > > >> agrdata > > fert yield > > 1 2584 > > 2 5080 > > 3 75

[R] read table problem

2006-02-23 Thread Chua Tock Hing
Hi I have a file saved in R, named agrexp.Rdata, shown below > agrdata fert yield 1 2584 2 5080 3 7590 4 100 154 5 125 148 If I double clicked on this file, the data is displayed without problem. However if I tried to import using: > agrdata<-read.table