Re: [R] Loading Data to R

2008-02-11 Thread Gregory Warnes
On Microsoft Windows systems, it may be more convenient to install and use the "XLSReadWRite" packge. For non-windows systems, the gdata package provides this function, but requires perl to be present. -Greg (Maintainer of gdata) On Feb 9, 2008, at 1:09PM , Henrique Dallazuanna wrote: > Y

Re: [R] Loading Data to R

2008-02-09 Thread Henrique Dallazuanna
You need library(gdata) before On 08/02/2008, Wensui Liu <[EMAIL PROTECTED]> wrote: > # READ DATA FROM XLS FILE # > > xls <- read.xls(file = "C:/projects/Rintro/Part01/export.xls", sheet = 3, > type = "data.frame", from = 1, colNames = TRUE) > > On Feb 8, 2008 3:49 PM, Christine Ly

Re: [R] Loading Data to R

2008-02-09 Thread John Kane
Have a look at the R Data Import/Export manual on the R website. My simple-minded approach is simply to save the data as a csv file and read it in using read.table or read.csv --- Christine Lynn <[EMAIL PROTECTED]> wrote: > This is the most basic question ever...I haven't > used R in a couple

Re: [R] Loading Data to R

2008-02-08 Thread Wensui Liu
# READ DATA FROM XLS FILE # xls <- read.xls(file = "C:/projects/Rintro/Part01/export.xls", sheet = 3, type = "data.frame", from = 1, colNames = TRUE) On Feb 8, 2008 3:49 PM, Christine Lynn <[EMAIL PROTECTED]> wrote: > This is the most basic question ever...I haven't used R in a co

Re: [R] Loading Data to R

2008-02-08 Thread Gabor Csardi
It is a good idea to start with RSiteSearch("Excel") G. On Fri, Feb 08, 2008 at 03:49:29PM -0500, Christine Lynn wrote: > This is the most basic question ever...I haven't used R in a couple years > since college so I forget and haven't been able to find what I'm looking for > in any of the manual

[R] Loading Data to R

2008-02-08 Thread Christine Lynn
This is the most basic question ever...I haven't used R in a couple years since college so I forget and haven't been able to find what I'm looking for in any of the manuals. I just need to figure out how to load a dataset into the program from excel! Thanks! CL [[alternative HTML versio