[R] Loading data into R

2013-01-26 Thread Christofer Bogaso
Hello again, I generally use Clipboard to load data into R from Excel using the read.delim() function. In most cases, my data after loading looks like below: myData - structure(list(V1 = structure(c(3L, 2L, 1L, 1L, 2L), .Label = c(, 2, a), class = factor), V2 = structure(c(4L, 3L, 1L, 2L, 1L),

Re: [R] Loading data into R

2013-01-26 Thread Duncan Murdoch
On 13-01-26 3:00 PM, Christofer Bogaso wrote: Hello again, I generally use Clipboard to load data into R from Excel using the read.delim() function. In most cases, my data after loading looks like below: myData - structure(list(V1 = structure(c(3L, 2L, 1L, 1L, 2L), .Label = c(, 2, a), class =

Re: [R] Loading data into R

2013-01-26 Thread arun
] V1 V2 V3 V4 ... A.K. - Original Message - From: Christofer Bogaso bogaso.christo...@gmail.com To: r-help r-help@r-project.org Cc: Sent: Saturday, January 26, 2013 3:00 PM Subject: [R] Loading data into R Hello again, I generally use Clipboard to load data into R from Excel using

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

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-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 Lynn [EMAIL

[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

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 couple

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