Re: [R] IMPORTING FILE FROM EXCEL

From: Jacques VESLOT <jacques.veslot_at_good.ibl.fr>
Date: Tue 04 Jul 2006 - 17:25:56 EST

if you don't need to import several dataset, you can directly change current directory from the file menu and move to your working directory instead of substuting all backslashes for slashes in import function argument.
you can also copy your dataset in excel and do :  > data1 <- read.delim("clipboard")



Jacques VESLOT

CNRS UMR 8090
I.B.L (2ème étage)
1 rue du Professeur Calmette
B.P. 245
59019 Lille Cedex

Tel : 33 (0)3.20.87.10.44
Fax : 33 (0)3.20.87.10.31

http://www-good.ibl.fr


Rashmi Pant a écrit :
> Hi
> I am a beginner with R.
> I have been trying to import a tab delimited excel file but i get the following error message
> > file.show('C:\Documents and Settings\stats\Desktop\SUMI\plasma2.txt')
> Warning message:
> file.show(): file 'C:Documents and SettingsstatsDesktopSUMIplasma2.txt' does not exist
> I have understood the programming part but i cannot go ahead unless i have imported the file. I have consulted the R-help archive without success.
> Any help will be appreciated
> Thanks in advance
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 04 17:30:59 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 04 Jul 2006 - 22:15:26 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.