Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread Ivette
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread Petr Savicky
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread jim holtman
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread Jeff Newmiller
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread ying chen
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread ying chen
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

Re: [R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-26 Thread R. Michael Weylandt
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

[R] Help needed! Error in setwd(newdir) : cannot change working directory

2012-02-25 Thread ying chen
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