Dear list,
I could not find a mailing list of R under ubuntu, so I give it a try here...any direction/suggestion welcome I run R 2.8.1 under Ubuntu 9.04 >From the terminal I am able to run a R CMD BATCH command when I am on my home >folder /home/user j...@jc-laptop:~$ R CMD BATCH /var/www/test.R The file "test.R" contains simply: a <- 1 write.csv(a,"/var/www/test.csv") BUT if I change the directory in the terminal, the same command "R CMD BATCH /var/www/test.R" does not function & gives me the following message: e.g.: j...@jc-laptop:~/var/www$ R CMD BATCH /var/www/test.R bash: R CMD BATCH /var/www/test.R: No such file or directory I am not sure how this possible...any idea? for the background, I try to run this command from php through exec function...hence I start from the folder /var/www... many thanks for any feedback you will want to give it. Regards, Julien _________________________________________________________________ [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.