Re: [R] importing a file

2011-06-20 Thread David Winsemius
On Jun 20, 2011, at 5:16 PM, Alina Sheyman wrote: I haven't used R in a couple of years, and now am trying something as simple as importing a csv file and am running into problems right away. * mydata <- read.csv (Wordata1.csv, sep="") Error in read.table(file = file, header = header, sep =

Re: [R] importing a file

2011-06-20 Thread Alina Sheyman
that was it, thank you!!! On Mon, Jun 20, 2011 at 5:23 PM, Sarah Goslee wrote: > R is looking for an R object named Wordata1.csv that contains your file > name. > > Instead you want: > mydata <- read.csv ("Wordata1.csv", sep="") > > Sarah > > On Mon, Jun 20, 2011 at 5:16 PM, Alina Sheyman wrote:

Re: [R] importing a file

2011-06-20 Thread Sarah Goslee
R is looking for an R object named Wordata1.csv that contains your file name. Instead you want: mydata <- read.csv ("Wordata1.csv", sep="") Sarah On Mon, Jun 20, 2011 at 5:16 PM, Alina Sheyman wrote: > I haven't used R in a couple of years, and now  am trying something as > simple as importing

Re: [R] importing a file

2011-06-20 Thread Richard M. Heiberger
You probably left off the quotes for the file name mydata <- read.csv ("Wordata1.csv", sep="") it is looking for an R variable named Wordata1.csv which contains the name of the file. Since you are giving it the name of the file, it must be in a character-valued constant. On Mon, Jun 20, 2011 at 5

[R] importing a file

2011-06-20 Thread Alina Sheyman
I haven't used R in a couple of years, and now am trying something as simple as importing a csv file and am running into problems right away. * mydata <- read.csv (Wordata1.csv, sep="") Error in read.table(file = file, header = header, sep = sep, quote = quote, : object 'Wordata1.csv' not found

Re: [R] Importing a file to r

2010-02-23 Thread Jorge Ivan Velez
Please ignore the link I sent before, it is wrong. Apologies to all. Instead, please see http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel --JIV On Tue, Feb 23, 2010 at 3:35 PM, Jorge Ivan Velez <> wrote: > Hi Luis, > > Take a look at > http://wiki.r-project.org/rwiki/doku.p

Re: [R] Importing a file to r

2010-02-23 Thread Jorge Ivan Velez
Hi Luis, Take a look at http://wiki.r-project.org/rwiki/doku.php?id=tips:data-io:ms_windows for some ideas. HTH, Jorge On Tue, Feb 23, 2010 at 3:06 PM, Luis Felipe Parra <> wrote: > Hello > > I am trying to import the attached file Curva LIBOR to R. I am trying to > use > the following command

Re: [R] Importing a file to r

2010-02-23 Thread John Kane
I've never tried reading in an Excel file. I usually just export the file as a csv file and read it in using read.csv(). --- On Tue, 2/23/10, Luis Felipe Parra wrote: > From: Luis Felipe Parra > Subject: [R] Importing a file to r > To: r-help@r-project.org > Received: Tue

[R] Importing a file to r

2010-02-23 Thread Luis Felipe Parra
Hello I am trying to import the attached file Curva LIBOR to R. I am trying to use the following commands and obtaining the following errors > res <- read.xlsx("C:\\Users\\FELIPE PARRA\\Documents\\Quantil\\Federacion\\Curva LIBOR.xlsx", 4) Error en .jcall(rowCells[[ic]], "I", "getColumnIndex") :