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
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