[R] how import Excel data into R?

2009-08-05 Thread Inchallah Yarab
Hi I want to import Excel data into R I have used this code data<-read.table("C:\Total_Art_Policies.xls",header=TRUE,sep=";") i have an error msg: Erreur dans file(file, "r") : impossible d'ouvrir la connexion De plus : Warning message: In file(file, "r") : impossible d'ouvrir le fichierĀ 'C:\

Re: [R] how import Excel data into R?

2009-08-05 Thread Gabor Grothendieck
See: http://wiki.r-project.org/rwiki/doku.php?id=tips:data-io:ms_windows On Wed, Aug 5, 2009 at 11:56 AM, Inchallah Yarab wrote: > Hi > > I want to import Excel data into R I have used this code > data<-read.table("C:\Total_Art_Policies.xls",header=TRUE,sep=";") > i have an error msg: > Erreur da

Re: [R] how import Excel data into R?

2009-08-05 Thread Patrick Burns
I suspect that your problem is that you didn't put in a second backslash to escape the backslash in your path. ('The R Inferno' talks about backslashes if this doesn't make sense to you.) 'The R Inferno' also would have said that it was very good of you to show the actual error message, but in ad

[R] R: how import Excel data into R?

2009-08-05 Thread mauede
9 17.56 A: r-help@r-project.org Oggetto: [R] how import Excel data into R? Hi I want to import Excel data into R I have used this code data<-read.table("C:\Total_Art_Policies.xls",header=TRUE,sep=";") i have an error msg: Erreur dans file(file, "r") : impossibl