[R] Rscript and roxygen error
Yihui Xie
xie at yihui.name
Mon May 26 21:45:49 CEST 2014
library(methods)
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name
On Mon, May 26, 2014 at 9:48 AM, Witold E Wolski <wewolski at 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 <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
More information about the R-help
mailing list