library(methods) Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Web: http://yihui.name
On Mon, May 26, 2014 at 9:48 AM, Witold E Wolski <wewol...@gmail.com> wrote: > the same script which is not working with Rscript does work with R CMD BATCH. > > I thought the main difference between Rscript and R CMD BATCH is where > the ouptut gets redirected and that Rscript should preferred over the > old R CMD BATCH. > > > > > > > On 26 May 2014 15:12, Witold E Wolski <wewol...@gmail.com> wrote: >> I do want to run a R script (runrox.sh) containing two commands: >> >> library(roxygen2) >> roxygenize("imsbInfer") >> >> When pasting these 2 lines into R they run with no error. >> >> But when calling: >> >> Rscript runrox.sh >> >> the script produces this error: >> >> roxygen fails with >> Error: Failure in roxygen block beginning analyzeDuplicatedPeptides.R:1 >> could not find function "is" >> Execution halted >> >> >> >> -- >> Witold Eryk Wolski ______________________________________________ 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.