[R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-30 Thread Alex Restrepo
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)

Re: [R] Pass Parameters to RScript?

2017-10-30 Thread Jeff Newmiller
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]

Re: [R] Pass Parameters to RScript?

2017-10-30 Thread Eric Berger
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

Re: [R] run r script in r-fiddle

2017-10-30 Thread Suzen, Mehmet
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

Re: [R] Pass Parameters to RScript?

2017-10-30 Thread Morkus via R-help
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. >

Re: [R] run r script in r-fiddle

2017-10-30 Thread Suzen, Mehmet
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

Re: [R] run r script in r-fiddle

2017-10-30 Thread Martin Maechler
> 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

Re: [R] Count non-zero values in excluding NA Values

2017-10-30 Thread David L Carlson
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

Re: [R] Pass Parameters to RScript?

2017-10-30 Thread Eric Berger
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 >

[R] Pass Parameters to RScript?

2017-10-30 Thread Morkus via R-help
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]]

Re: [R] run r script in r-fiddle

2017-10-30 Thread Suzen, Mehmet
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;)

Re: [R] run r script in r-fiddle

2017-10-30 Thread Jeff Newmiller
You can't. Use R on your computer instead. -- Sent from my phone. Please excuse my brevity. On October 29, 2017 5:56:55 PM PDT, Frank Mei wrote: >Hi All, > >I want to know how to run an R file on my computer in R-Fiddle? > >I tried source("filename.r"), but not working.

[R] run r script in r-fiddle

2017-10-30 Thread Frank Mei
Hi All, I want to know how to run an R file on my computer in R-Fiddle? I tried source("filename.r"), but not working. thanks, Frank [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see