Hi Frank,
You could upload your R source file to a public URL, for example to
github and read via RCurl,
as source do not support https as far as I know. Here is a working example.
library('RCurl')
tmatrix <-
getURL("https://raw.githubusercontent.com/msuzen/isingLenzMC/master/R/isingUtils.R";)
e
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]]
___
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
wrote:
> Is it possible to pass parameters to an R Script, say, from Java or other
> language?
>
> I did some
You need to send plain text emails so that this does not happen to your data.
Assuming you want to ignore the first 2 columns:
> colSums(dta[, 3:7]>0, na.rm=TRUE)
Raki Whisky Wine Beer Cigarettes
153153153153 32
--
> Suzen, Mehmet
> on Mon, 30 Oct 2017 11:16:30 +0100 writes:
> Hi Frank, You could upload your R source file to a public
> URL, for example to github and read via RCurl, as source
> do not support https as far as I know.
well... but your knowledge is severely (:-) outdat
We were talking about r-fiddle. It gives error there [*], that's why I
suggested using RCurl.
> source("https://raw.githubusercontent.com/msuzen/isingLenzMC/master/R/isingUtils.R";)
...
unsupported URL scheme
Error : cannot open the connection
>
On 30 October 2017 at 15:51, Martin Maechler 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.
> Or
Note that, looks like r-fiddle runs R 3.1.2.
__
R-help@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 comme
I do not program in Java but it seems a Java program can make system calls
which would be equivalent to running from the command line, but done from
within a Java program. Not sure whether that would meet your needs and if
not why not. Just a suggestion.
Check out
http://www.java-samples.com/show
I do not do this either, and technically this list is not the right place to
ask this multi-language question, rather apparently [1] 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.
[1] htt
Hi,
I would like to rotate the x axis tick labels by 45 degrees. Using the code
below, could someone please provide an example? Many Thanks In Advance, Alex
library("scatterplot3d")
mydf=data.frame(rate=seq(158, 314)
,age=seq(1, 157)
,market_date=seq(as.Date("
Dear All
The problem is about regularization methods in multiple regression when the
independent variables are collinear. A modified regularization method with
two tuning parameters l1 and l2 and their product l1*l2 (Lambda 1 and
Lambda 2) such that l1 takes care of ridge property and l2 takes car
12 matches
Mail list logo