[R] Rscript and roxygen error
Witold E Wolski
wewolski at gmail.com
Mon May 26 16:48:29 CEST 2014
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 <wewolski at 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
--
Witold Eryk Wolski
More information about the R-help
mailing list