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 Yarabinchallahya...@yahoo.fr 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 dans file(file, r) : impossible d'ouvrir la connexion
 De plus : Warning message:
 In file(file, r) :
 impossible d'ouvrir le fichier 'C:\Total_Art_Policies.xls' : No such file or 
 directory

 i tried to charge the package xlsreadwrite but i didn't found it?
 what i schould do someone can help me please?

 best regards



        [[alternative HTML version deleted]]


 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


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 addition translating
it into English would have been a plus.

A translation would be:
Impossible to open the connection


Patrick Burns
patr...@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of The R Inferno and A Guide for the Unwilling S User)

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 dans file(file, r) : impossible d'ouvrir la connexion 
De plus : Warning message: 
In file(file, r) : 
impossible d'ouvrir le fichier 'C:\Total_Art_Policies.xls' : No such file or directory 
 
i tried to charge the package xlsreadwrite but i didn't found it?

what i schould do someone can help me please?
 
best regards



  
	[[alternative HTML version deleted]]






__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.