Hi, I am trying to read a text file located in following paths. I am getting
error if I try to read from long directory.. But if I place the file right
under C, It runs fine. Could anyone tell me how to read table from following
directory path ?
data1 -read.table(C:\\Documents and Settings
I suggest changing
Documents and Settings Administrator
to
Documents and Settings\\Administrator
...
JC
2011/9/13 dbonneau daronnebonn...@gmail.com:
Hi, I am trying to read a text file located in following paths. I am getting
error if I try to read from long directory.. But if I place the
Jean-Christophe BOUËTTÉ jcbouette at gmail.com writes:
I suggest changing
Documents and Settings Administrator
to
Documents and Settings\\Administrator
Please don't cross-post to R-help and Stack Overflow.
People in both places will gladly answer well-posed questions,
but it turns into
FYI,
by using
library(R.utils);
pathname - C:\\Documents and Settings Administrator\\My
Documents\\My Dropbox\\data.txt;
pathname - Arguments$getReadablePathname(pathname);
data1 - read.table(pathname, sep=\t, header=TRUE);
you would get an explanation what is wrong and helps you troubleshoot,
You are missing \\ between Documents and settings and Administrator.
- Original Message -
From: dbonneau daronnebonn...@gmail.com
To: r-help@r-project.org
Cc:
Sent: Tuesday, September 13, 2011 10:59 AM
Subject: [R] space in directory name
Hi, I am trying to read a text file located
: dbonneau daronnebonn...@gmail.com
To: r-help@r-project.org
Cc:
Sent: Tuesday, September 13, 2011 10:59 AM
Subject: [R] space in directory name
Hi, I am trying to read a text file located in following paths. I am getting
error if I try to read from long directory.. But if I place the file
6 matches
Mail list logo