[R] Pass Parameters to RScript?
jdnewmil at dcn.davis.ca.us
Mon Oct 30 16:58:24 CET 2017
I do not do this either, and technically this list is not the right place to ask this multi-language question, rather apparently  is because the alternative to using a system call is to use the Rserve service. You should use a search engine to look for info on using rjava and rserve.
Sent from my phone. Please excuse my brevity.
On October 30, 2017 8:33:48 AM PDT, Eric Berger <ericjberger at gmail.com> wrote:
>I do not program in Java but it seems a Java program can make system
>which would be equivalent to running from the command line, but done
>within a Java program. Not sure whether that would meet your needs and
>not why not. Just a suggestion.
>On Mon, Oct 30, 2017 at 5:10 PM, Morkus <morkus at protonmail.com> wrote:
>> Thanks Eric,
>> I saw that page, too, but it states:
>> "This post describes how to pass external arguments to *R* when
>> 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
>> -------- 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.
>> On Mon, Oct 30, 2017 at 2:30 PM, Morkus via R-help
><r-help at r-project.org>
>>> Is it possible to pass parameters to an R Script, say, from Java or
>>> I did some searches, but came up blank.
>>> Thanks very much in advance,
>>> Sent from [ProtonMail](https://protonmail.com), Swiss-based
>>> [[alternative HTML version deleted]]
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> PLEASE do read the posting guide http://www.R-project.org/posti
>>> 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
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help