Re: [R] Correctly executing system code using R in Ubuntu server

2018-06-25 Thread Christofer Bogaso
It worked. Thanks, On Tue, Jun 26, 2018 at 2:46 AM William Dunlap wrote: > Each call to system() starts and finishes a new shell so your approach > will not work. > Does the following do what you need? > > > system('Xvfb :10 -ac &') > > Sys.setenv(DISPLAY=":10") > > x11() > Warning message: > In

Re: [R] OT --- grammar.

2018-06-25 Thread David Winsemius
I’m surprised no on has reference the F distribution where the degrees of freedom are manifestly plural. Sent from my iPhone > On Jun 25, 2018, at 6:05 PM, John wrote: > > On Sun, 24 Jun 2018 20:16:24 -0400 > JRG wrote: > >>> On 06/24/2018 08:03 PM, Bert Gunter wrote: >>> Ted, et. al.: >>>

Re: [R] OT --- grammar.

2018-06-25 Thread John
On Sun, 24 Jun 2018 20:16:24 -0400 JRG wrote: > On 06/24/2018 08:03 PM, Bert Gunter wrote: > > Ted, et. al.: > > > > Re: "Data is" vs "data are" ... Heh heh! > > > > "This is the kind of arrant pedantry up with which I will not put." > > (Attributed to Churchill in one form or another, likely w

Re: [R] OT --- grammar.

2018-06-25 Thread John
On Mon, 25 Jun 2018 09:46:07 +1200 Rolf Turner wrote: > Does/should one say "the degrees of freedom is defined to be" or "the > degrees of freedom are defined to be"? > I've leaned to differentiating between one degree of freedom and multiple degrees of freedom and, when needed, phrase what I w

Re: [R] Adding Axis value to R Plot

2018-06-25 Thread Jim Lemon
Hi Abou, You can't display an axis if it is not in the range of the plot. I think you want: plot(0,type="n",yaxs="i",xaxs="i",xaxt="n",yaxt="n",xlim=c(15,85), ylim=c(300,600),xlab="Age",ylab="Distance (ft)",cex.lab=1.5) grid(nx = 10, ny = 10, col = "lightgray", lty = "dotted", lwd = 2) xticks <-

Re: [R] Correctly executing system code using R in Ubuntu server

2018-06-25 Thread William Dunlap via R-help
Each call to system() starts and finishes a new shell so your approach will not work. Does the following do what you need? > system('Xvfb :10 -ac &') > Sys.setenv(DISPLAY=":10") > x11() Warning message: In x11() : cairo-based types may only work correctly on TrueColor visuals Bill Dunlap TIBCO

[R] Correctly executing system code using R in Ubuntu server

2018-06-25 Thread Christofer Bogaso
Hi, I am curious on how to correctly run System code with R under Ubuntu. I tried to execute below 2 lines of code using system() functions in Ubuntu server, however could not achieve the desired result. system('Xvfb :10 -ac &') system('export DISPLAY=:10') System parameters: > Sys.info()

[R] Automating Azure ML Experiments from R

2018-06-25 Thread Paul Bernal
Dear friends, Hope you are all doing great. I created a forecasting model experiment in azure ml studio and I am trying to automate the execution of the experiment. Does anybody knows or has an idea of how to automate azure ml experiments from R? Best regards, Paul [[alternative HTML v

Re: [R] Problems with 3.5.0 package installation & knitr

2018-06-25 Thread Duncan Murdoch
On 25/06/2018 2:24 PM, Jochen Wirsing wrote: Dear r-help, I updated to R 3.5.0 a few days ago and was really excited about the new features it promised. Unfortunately, I ran into some serious trouble relatively quickly. The main problem is, that I cannot install packages that depend on other pac

[R] Problems with 3.5.0 package installation & knitr

2018-06-25 Thread Jochen Wirsing
Dear r-help, I updated to R 3.5.0 a few days ago and was really excited about the new features it promised. Unfortunately, I ran into some serious trouble relatively quickly. The main problem is, that I cannot install packages that depend on other packages. The problem has been (wrongfully) po

Re: [R] Adding Axis value to R Plot

2018-06-25 Thread Bert Gunter
See ?plot.default, where it says: axes a logical value indicating whether both axes should be drawn on the plot. Use graphical parameter "xaxt" or "yaxt" to suppress just one of the axes. and use the "at" argument of ?axis

[R] Σχετ: geom_text only in the first panel with facet_wrap in ggplot2

2018-06-25 Thread Maria Lathouri via R-help
Dear Ulrik and all, Thank you all so much; well, Ulrik's suggestion worked better. Very much appreciated. Best,Maria Στις 11:17 π.μ. Δευτέρα, 25 Ιουνίου 2018, ο/η Ulrik Stervbo έγραψε: Hi Maria, you are on the right way. The data.frame with the text must have the same columns as you

[R] Adding Axis value to R Plot

2018-06-25 Thread AbouEl-Makarim Aboueissa
Dear All: good morning within this code, please see below, plot(0:1.0, 0:1.0, type = "n", yaxs = "i", xaxs = "i", xaxt = "n", yaxt = "n", xlab = "Age", ylab = "Distance (ft)", cex.lab=1.5) grid(nx = 10, ny = 10, col = "lightgray", lty = "dotted", lwd = 2) Is there a way to force R to add

Re: [R] OT --- grammar.

2018-06-25 Thread John McKown
On Sun, Jun 24, 2018 at 8:08 PM Michael Sumner wrote: > No it isn't. Your stature is diminished by hateful behaviour. > ​I will most likely also be labelled "hateful" for saying this, but I found Rolf's post to be accurate, although phrased in a bit of an elitist way.​ Being a bit of a grammar N

Re: [R] geom_text only in the first panel with facet_wrap in ggplot2

2018-06-25 Thread Ron Crump
Dear Maria, I am trying to add text only in the first panel of a faceted ggplot The following might help you to achieve what you want. I created a small dummy dataset, but I tried to use your column names in the hope this would help: library(ggplot2) # data.frame DF <- data.frame(Q = rep(1:5,

[R] geom_text only in the first panel with facet_wrap in ggplot2

2018-06-25 Thread Maria Lathouri via R-help
Dear all, I am trying to add text only in the first panel of a faceted ggplot; I have been struggling to find a solution on this online but unfortunately none of what I found is working. Here it is a reproducible example. I hope it helps: library(gamm4) library(ggplot2) example<-read.csv