try setwd(choose.dir())
--
View this message in context:
http://r.789695.n4.nabble.com/Help-needed-Error-in-setwd-newdir-cannot-change-working-directory-tp4421698p4422749.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-projec
On Sun, Feb 26, 2012 at 04:12:03PM -0500, ying chen wrote:
>
> Hi,
>
> I am sorry about the format it showed up. I do not know what happened as now
> it looks worse even on my own machine. I do not know what to do, I just add
> "\n" to the end of each line and hope it will come out OK this ti
right to read and write to the
> directories.
>
> One more question, is there anyway to modify this script to make it work
> on all data directories under /home/sean/Rtest by itself?
>
> Thanks a lot for the help!
>
> Ying
>
> sean@I7-3930K:~/Rtest$ ls -l
> total 56
&g
ectories.
>One more question, is there anyway to modify this script to make it
>work on all data directories under /home/sean/Rtest by itself?
>Thanks a lot for the help!
>Ying
>sean@I7-3930K:~/Rtest$ ls -ltotal 56drwx------ 3 sean sean 4096
>2012-02-25 20:39 Data01drwx-- 2 sea
Rtest$ ls -l
total 56
drwx-- 3 sean sean 4096 2012-02-25 20:39 Data01
drwx-- 2 sean sean 4096 2012-02-25 20:28 Data02
drwx-- 2 sean sean 4096 2012-02-26 07:41 Data03
drwx-- 2 sean sean 4096 2012-02-25 21:18 Data04
drwx------ 2 sean sean 4096 2012-02-25 20:27 Data05
-rw-r
me/sean/Rtest by itself?
Thanks a lot for the help!
Ying
sean@I7-3930K:~/Rtest$ ls -ltotal 56drwx-- 3 sean sean 4096 2012-02-25
20:39 Data01drwx-- 2 sean sean 4096 2012-02-25 20:28 Data02drwx-- 2
sean sean 4096 2012-02-26 07:41 Data03drwx-- 2 sean sean 4096 2012-02-25
21:18 Dat
This is a mess -- please resend in plain text.
Also, there are not, to my knowledge, packages (not libraries) called
"A", "B", or "C" so your script doesn't even begin to look
reproducible were it legible.
Do you have read/write access to the directories in question?
Michael
On Sat, Feb 25, 201
Hi Guys,
I am new to R and just trying to write a small script to automate a couple
commands. But I run into the setwd(): cannot change working directory.
I googled a little bit and tried all fixes/suggestions with no success.
Basically I have a script that works from inside a directory with my
8 matches
Mail list logo