[R] IMPORTING FILE FROM EXCEL
Duncan Murdoch
murdoch at stats.uwo.ca
Tue Jul 4 12:28:51 CEST 2006
On 7/4/2006 2:22 AM, Rashmi Pant wrote:
> 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')
R treats backslashes ("\") as escape characters. It's easier just to
use forward slashes, i.e. c:/Documents..., and easiest of all is to use
the function file.choose() which pops up a file selection dialog.
Duncan Murdoch
> 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 at 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
More information about the R-help
mailing list