[R] Paths for Shell Scripts called from R

2004-12-11 Thread Damian Betebenner
Hello list, I suspect this is more a linux question than an R question, but I'll describe my situation in case anyone here knows of an elegant solution. I'm using Sweave and R to create thousands of customized reports. Within an R loop, I have R create a table.tex file using the CAT function

Re: [R] Paths for Shell Scripts called from R

2004-12-11 Thread Fernando Henrique Ferraz P. da Rosa
Damian Betebenner writes: Hello list, I suspect this is more a linux question than an R question, but I'll describe my situation in case anyone here knows of an elegant solution. ... My bash shell script uses a standard for loop to loop over all the .tex file in a directory for f in

Re: [R] Paths for Shell Scripts called from R

2004-12-11 Thread Peter Dalgaard
Damian Betebenner [EMAIL PROTECTED] writes: Does anyone have an idea of how I can pass the appropriate path to my shell script from within R? Anything wrong with just setting the PATH variable? E.g. Sys.putenv(PATH=paste(Sys.getenv(PATH),/home/bs/pd/scripts,sep=:)) system(SalesRank) Sun Dec