[R] Pass Parameters to RScript?

William Michels wjm1 at caa.columbia.edu
Tue Oct 31 18:10:20 CET 2017


Hello Morcus,

Is your question really about language inter-operability?
If so, have you checked out rJava?

"rJava: Low-Level R to Java Interface"
 https://CRAN.R-project.org/package=rJava
http://www.rforge.net/rJava/

Regards,

Bill.

W. Michels, Ph.D.


On Mon, Oct 30, 2017 at 8:10 AM, Morkus via R-help <r-help at r-project.org> wrote:
> Thanks Eric,
>
> I saw that page, too, but it states:
>
> "This post describes how to pass external arguments to R when calling a Rscript with a command line."
>
> Not what I'm trying to do.
>
> Thanks for your reply.
>
> Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.
>
>> -------- Original Message --------
>> Subject: Re: [R] Pass Parameters to RScript?
>> Local Time: October 30, 2017 9:39 AM
>> UTC Time: October 30, 2017 1:39 PM
>> From: ericjberger at gmail.com
>> To: Morkus <morkus at protonmail.com>
>> r-help at r-project.org <r-help at r-project.org>
>>
>> I did a simple search and got  hits immediately, e.g.
>> https://www.r-bloggers.com/passing-arguments-to-an-r-script-from-command-lines/
>>
>> On Mon, Oct 30, 2017 at 2:30 PM, Morkus via R-help <r-help at r-project.org> wrote:
>>
>>> Is it possible to pass parameters to an R Script, say, from Java or other language?
>>>
>>> I did some searches, but came up blank.
>>>
>>> Thanks very much in advance,
>>>
>>> Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.
>>>         [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> 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.
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list