Re: [R] lattice graph with free scales and reversed axis values

2016-11-05 Thread Naresh Gurbuxani
This worked very well for me. Thanks, Naresh From: P Tennant Sent: Saturday, November 5, 2016 7:57 PM To: Naresh Gurbuxani Cc: R-help@r-project.org Subject: Re: [R] lattice graph with free scales and reversed axis values Hi Naresh, You could calculate the ra

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 5:13 PM, Fox, John wrote: > > Dear David, > > Sorry to chime in late -- I didn't read the messages in this thread until > just now. I see no reason for an apology. 6 hour service on a weekend is damned good software support in my opinion. I'm glad to see my inferences c

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread Fox, John
Dear David, Sorry to chime in late -- I didn't read the messages in this thread until just now. > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David > Winsemius > Sent: November 5, 2016 3:43 PM > To: varin sacha > Cc: R-help Mailing List > Subjec

Re: [R] lattice graph with free scales and reversed axis values

2016-11-05 Thread P Tennant
Hi Naresh, You could calculate the ranges explicitly and then supply to scales(): holdRange <- vector('list', length(unique(my.df$name))) for(i in 1:length(holdRange)){ holdRange[[i]] <- rev(range(my.df$x[my.df$name==unique(my.df$name)[i]])) } holdRange # [[1]] # [1] -5.052890 -9.967

Re: [R] lattice graph with free scales and reversed axis values

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 3:59 PM, Naresh Gurbuxani > wrote: > > I want to draw a lattice graph where different panels have different ranges > AND the order of values is reversed. I am struggling to achieve both at the > same time. Can you help? > > Thanks, > Naresh > > # Create dummy data for

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 3:33 PM, varin sacha wrote: > > Many thanks David, > > My Rcmdr problem is solved but now I have another one with rlme package ! > > I want to use the hbrwts_gr function from the rlme package. > I have tried to download the rlme package, but rlme is not available (for R >

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread Jeff Newmiller
Google is your friend... try searching for "CRAN rlme". The bad thing about contributed packages is that sometimes the maintainers stop maintaining their packages. The good thing is that the source is still there so you can go fix it if you really need it. -- Sent from my phone. Please excuse

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread varin sacha via R-help
Many thanks David, My Rcmdr problem is solved but now I have another one with rlme package ! I want to use the hbrwts_gr function from the rlme package. I have tried to download the rlme package, but rlme is not available (for R version 3.3.2) as you can see here below the error message. How ca

Re: [R] question on lasso

2016-11-05 Thread oslo via R-help
Hi Dr. Franggakis; This can be explained because of collinearity and suppressor variable in multiple regression models. In the first scenario, you have both correlated variables and suppressor variables in the second scenario you do not have this problem. I do wonder why to do not use the scale

Re: [R] question on lasso

2016-11-05 Thread Bert Gunter
Wrong list. This list is about R programming not statistics. Try stats.stackexchange.com for statistics questions. However, I will make a suggestion: Find local statistical experts with whom to consult. Your understanding appears to fall short of the necessary background to use such complex statis

[R] question on lasso

2016-11-05 Thread Constantine Frangakis
I would appreciate any comments to the following question. I am trying to build a model for survival based on 155 patients and 70 covariates using lasso. Lasso picks, three variables only, say X1,X2,X3, and omits the others. I wanted to check why a particular (clinically important) variable, sa

[R] tcl('tk::fontchooser', 'show') : Hoe to use? R-devel Tcl 8.6

2016-11-05 Thread Cleber N.Borges
Hello, Somebody would indicate the correct way to use the option the fontchooser widget into tcltk package (in R-devel, Tcl 8.6) ? I tried to use as other traditional widgets but no success. (code below) Thanks Cleber > tt <- tktoplevel(); but <- ttkbutton( tt, text='Test'); tcl('pack', but ) >

Re: [R] Problem with downloading library(Rcmdr)

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 11:27 AM, varin sacha via R-help > wrote: > > Dear R-experts, > > Here below you will find my R sessionInfo. I have a problem with the > library(Rcmdr). The error message is here below. How can I solve that problem > ? I'm not an Rcmdr user and my Mac is too old to supp

[R] Problem with downloading library(Rcmdr)

2016-11-05 Thread varin sacha via R-help
Dear R-experts, Here below you will find my R sessionInfo. I have a problem with the library(Rcmdr). The error message is here below. How can I solve that problem ? Many thanks. sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: macOS Sierr

Re: [R] Using map with filled.contour doesn't display map

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 9:33 AM, Jeff Newmiller wrote: > > I get the error also (R3.3.1/raster2.5-8). > > Works fine if I call plot.new() before calling filledContour. It didn't "work fine" when I did that. I first briefly see a generic plotting frame (x and y axes with no data) which was then b

Re: [R] Help-Text file

2016-11-05 Thread Jeff Newmiller
Sorry, but this request is quite hard to understand... you are basically directing your question at an incredibly narrow set of people who happen to have combined your kind of data read in the way you read it in with your kind of analysis algorithms while telling us almost nothing about how you

Re: [R] Using map with filled.contour doesn't display map

2016-11-05 Thread Jeff Newmiller
I get the error also (R3.3.1/raster2.5-8). Works fine if I call plot.new() before calling filledContour. Given this is a contributed package you should be corresponding with the package maintainer if you think this solution is inappropriate or the documentation needs fixing, but I suspect you a

Re: [R] Stop R script from running, when the memory goes beyond 15.4GB

2016-11-05 Thread Ista Zahn
See man ulimit Best, Ista On Nov 5, 2016 8:11 AM, "Priya Arasu via R-help" wrote: > Hi, > I am using R 3.3.1 in RedHat Linux7 , 64bit system (16GB RAM). I > could run simulation in R package, Boolnet for 25 genes without any > problem. When I add more gene i.e. 26 genes, the system becom

Re: [R] loop with variable names

2016-11-05 Thread Bert Gunter
1. Statistically, you probably don't want to do this at all (but that's another story). 2. Programatically, you probably want to use one of several packages that do it already rather than trying to reinvent the wheel. A quick search on rseek.org for "all subsets regression" brought up this: http:

[R] Help-Text file

2016-11-05 Thread Priya Arasu via R-help
Hi, I am using R 3.3.1 in R studio version 1.0.44 (Windows10, 64 bit system). I could import text file with Boolean rules, but when I start doing analysis in R, I get the error: I have been trying to do attractor analysis using R package Boolnet, using the command: attr <- getAttractors(ne

[R] Stop R script from running, when the memory goes beyond 15.4GB

2016-11-05 Thread Priya Arasu via R-help
Hi, I am using R 3.3.1 in RedHat Linux7 , 64bit system (16GB RAM).  I could run simulation in R package, Boolnet for 25 genes without any problem. When I add more gene i.e. 26 genes, the system becomes slow. Simulation keeps running for more than a day. I have to stop the simulation, as it