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
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
Tab delimited is not Excel.
> > file.show('C:\Documents and Settings\stats\Desktop\SUMI\plasma2.txt')
See R for Windows FAQ "R can't find my
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("cl
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
try
read.table('C:\\Documents and Settings\\stats\\Desktop\\SUMI\\plasma2.txt')
for file.show, it is the same except note the slashes.
On 7/4/06, Jacques VESLOT <[EMAIL PROTECTED]> wrote:
> if you don't need to import several dataset, you can directly change current
> directory from the file
> me
Rashmi,
I suggest you store the file as a comma separated file (.CSV). You can
import a .csv file using the read.csv function
data<-read.csv("d:\\myfile.csvl")
I suggest you look at the help file for read.csv, i.e.
help(read.csv)
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Ba
"John Sorkin" <[EMAIL PROTECTED]> writes:
> Rashmi,
> I suggest you store the file as a comma separated file (.CSV). You can
> import a .csv file using the read.csv function
> data<-read.csv("d:\\myfile.csvl")
> I suggest you look at the help file for read.csv, i.e.
> help(read.csv)
Sorry, but th