Re: [R] Ordering of facet_wrap() panels

2018-08-17 Thread Jeff Newmiller
The result does NOT depend on whether or how the data itself are sorted, but rather on how the levels of the factors in the data are sorted. Best results will be obtained if you modify the data frame factors before giving the data frame to ggplot. Doing so will allow all of the ggplot functions

Re: [R] bar plot add space to group data

2018-08-17 Thread David L Carlson
Notice below that your message is substantially scrambled. R-Help is a plain text only list so you should set your email client to produce plain text messages. The best place to start is with the manual page for the barplot() function: ?barplot or help(barplot) You will find the description

Re: [R] source script file that contains Unicode non-English characters

2018-08-17 Thread Faridedin Cheraghi
Dear Duncan, thanks for your feedback on this. Even though most developers are not in Windows (which I doubt it), there are a huge number of people who use R on Windows and I am one of them who seriously work with R. Following my own workaround to this bug, now I hit another issue with another

Re: [R] bar plot add space to group data

2018-08-17 Thread Chris Ryan
Using the lattice package would provide an easy way to distinguish years, by putting them in different panels. Lattice would also help avoid some other features of this graph that, in my opinion, are suboptimal. See Tufte or Cleveland. Chris Ryan -- Sent from my Android device with K-9 Mail.

[R] bar plot add space to group data

2018-08-17 Thread citc
R-users, Can someone please advise how to improve the code below that was used to produce the graph shown at the following hyperlink (https://chemistryinthecity.neocities.org/content/entry1808.html#17)? The request is to add space between the annual data groups. barplot(gceac[,3],

[R] CARET NN Too Much Output Even with Trace=False

2018-08-17 Thread Sparks, John
Hi R Helpers, I am using the Neural Net build in the CARET package and it produces a large amount of output that I don't need to see and interferes with my ability to get to the output that I want to see. I am using the nnet.trace=FALSE setting, but still getting a disproportionate amount of

Re: [R] CARET NN Too Much Output Even with Trace=False

2018-08-17 Thread Sparks, John
Terrific! Thanks for the speedy and informative reply. --JJS From: William Dunlap Sent: Friday, August 17, 2018 12:45 PM To: Sparks, John Cc: r-help@r-project.org Subject: Re: [R] CARET NN Too Much Output Even with Trace=False You can use capture.output to

Re: [R] CARET NN Too Much Output Even with Trace=False

2018-08-17 Thread William Dunlap via R-help
You can use capture.output to store all that tracing information in a character vector instead of having it printed. You can look at it to diagnose problems or just throw it away. NN.text <-

Re: [R] Finding and changing .Rprofile

2018-08-17 Thread Marc Schwartz via R-help
> On Aug 17, 2018, at 4:06 PM, phili...@cpanel1.stormweb.net wrote: > > I would like to change my .Rprofile file, but I cannot find it. I use a Mac > Pro and RStudio. I believe the file is a hidden file and I have checked for > it accordingly. I can not find it with a Spotlight search. It is

Re: [R] bar plot add space to group data

2018-08-17 Thread Rolf Turner
On 18/08/18 02:37, David L Carlson wrote: Notice below that your message is substantially scrambled. R-Help is a plain text only list so you should set your email client to produce plain text messages. The best place to start is with the manual page for the barplot() function: ?barplot or

Re: [R] Understanding read.csv error message

2018-08-17 Thread MacQueen, Don via R-help
Hi Rich, It's not obvious what would be causing that error from read.csv. But here's what I would probably try: Add quote='"" to your arguments. The default is to use surround text strings with double quotes, but your file doesn't. Copy the first few rows into another file and try it. If it

Re: [R] Understanding read.csv error message

2018-08-17 Thread MacQueen, Don via R-help
small typo in previous: should be quote="" (I left behind a single quote by mistake) -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 8/17/18, 5:03 PM, "R-help on behalf of MacQueen, Don via R-help"

Re: [R] source script file that contains Unicode non-English characters

2018-08-17 Thread Duncan Murdoch
On 17/08/2018 10:07 AM, Faridedin Cheraghi wrote: Dear Duncan, thanks for your feedback on this. Even though most developers are not in Windows (which I doubt it), I'm talking about the R Core developers. I used to be one, but have retired from that role. there are a huge number of

[R] Finding and changing .Rprofile

2018-08-17 Thread philipsm
I would like to change my .Rprofile file, but I cannot find it. I use a Mac Pro and RStudio. I believe the file is a hidden file and I have checked for it accordingly. I can not find it with a Spotlight search. It is not in my "default working directory". Is that the same thing as my "home

[R] Understanding read.csv error message

2018-08-17 Thread Rich Shepard
I have a data file, 'precip_projected.csv,' that starts like this: name,easting,northing,elev,sampdate,prcp Headworks Portland Water,2370575.38427211,199337.634652112,228,2005-01-01,0.59 Headworks Portland Water,2370575.38427211,199337.634652112,228,2005-01-02,0.08 Headworks Portland

[R] How to rotate label in tcltk R

2018-08-17 Thread Zehao Xu
Dear sir (ma'am) I just start the tcltk in R. I face a problem, how to rotate the labels in tcltk? I post the example on https://stackoverflow.com/questions/51825771/how-to-rotate-labels-in-tcltk. Thank you Z Xu [[alternative HTML version deleted]]

[R] RuGarch issue

2018-08-17 Thread GALIB KHAN
Sup guys, Got an interesting issue with the rugarch package. I noticed that when I changed the order of the external regressors, there are different values for the robust coefficient matrix. The values should be the same (according to the ordering of the variables). However, I am getting

Re: [R-es] Crear un panel en R

2018-08-17 Thread Carlos Ortega
Hola, Mira esto: https://cloud.r-project.org/web/packages/BMisc/index.html Saludos, Carlos Ortega www.qualityexcellence.es El 17 de agosto de 2018, 1:10, escribió: > Hola, > Tengo que crear un panel de 9 fechas diferentes para hacer un análisis > longitudinal para un conjunto de productos.