Re: [R] Error message in SIS package

2016-10-17 Thread Jeff Newmiller
I doubt I will know how to help you in any case, but I can see that you are shackling yourself to a very small (possibly empty) set of helpers by not making your example reproducible. You will also slow any helpers down once you change that if you post again in HTML format... set your email

Re: [R] [FORGED] Re: Share R.net dll without having to share R script code?

2016-10-17 Thread Rolf Turner
On 18/10/16 14:04, David Winsemius wrote: On Oct 17, 2016, at 3:22 PM, Narendra Modi wrote: Hi Bob, Could you explain a bit more on this? How do I use/configure base64? Any document/example do you have? To Narendra; I get the idea that this line of inquiry is

Re: [R] Share R.net dll without having to share R script code?

2016-10-17 Thread David Winsemius
> On Oct 17, 2016, at 3:22 PM, Narendra Modi wrote: > > Hi Bob, > Could you explain a bit more on this? How do I use/configure base64? > Any document/example do you have? > To Narendra; I get the idea that this line of inquiry is designed to obfuscate R code and

[R] Error message in SIS package

2016-10-17 Thread Maity, Arnab K
I try to run the following code: sis.fit <- SIS(y = Surv(time = y[, 1], event = y[, 2]), x = x, family = "cox", penalty = "lasso", tune = "cv", nfolds = 10, type.measure = "deviance", nsis = min(dim(x)), iter = FALSE, seed = 334) I get the following error: Error in

Re: [R] Share R.net dll without having to share R script code?

2016-10-17 Thread Narendra Modi
Hi Bob, Could you explain a bit more on this? How do I use/configure base64? Any document/example do you have? On Fri, Oct 14, 2016 at 9:55 AM, Bob Rudis wrote: > Ugly idea/option, but you could base64 encode the R script (solely to > avoid the need to do string quoting) and have

Re: [R] findInterval() surprising behavior

2016-10-17 Thread Rui Barradas
Hello, Same on Windows 7. > findInterval(x=c(6, 1, 1, 1), vec=c(0, 1, 3, 5, 10), left.open=TRUE) [1] 4 2 1 1 > findInterval(x=c(4, 1, 1, 1), vec=c(0, 1, 3, 5, 10), left.open=TRUE) [1] 3 1 1 1 > sessionInfo() R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under:

[R] findInterval() surprising behavior

2016-10-17 Thread Dmitriy Chernykh via R-help
Hello, I call function findInterval in the following way: findInterval(x=c(6, 1, 1, 1), vec=c(0, 1, 3, 5, 10), left.open=TRUE), and expect that it will return 4 1 1 1. But the function returns 4 2 1 1 instead. Moreover, if I change the first element in x to, say, 4 - findInterval(x=c(4, 1, 1,

Re: [R] Reshaping geographic data

2016-10-17 Thread MacQueen, Don
I suggest you simplify your computing task by making this into three distinct tasks: 1. get copies of the shapefiles on your computer. Do this outside of R. Since this has two parts, i.e., downloading and unzipping, it will be easier at first to do it outside of r. Then later you can figure out

[R] lb and ub for variables - nloptr

2016-10-17 Thread Narendra Modi
Hello All, I use nloptr to perform optimization. In one example,the lb for each variable is 0 and ub is Inf during the first run. x <- c(10,10,10,10) # initial values lb <- c(0,0,0,0) ub <- c(Inf,Inf,Inf,Inf) optimised.answer = 4.2,0.001,20,21 To run the second time for a better match, I set a

Re: [R] Adjusting axis labels on lattice xyplot [RESOLVED]

2016-10-17 Thread Rich Shepard
On Mon, 17 Oct 2016, Rui Barradas wrote: I'm not a lattice user but the 'by' argument is not an argument of xyplot, it's an argument of ?seq.Date. Rui, Yes, this does help. Thanks very much, Rich __ R-help@r-project.org mailing list -- To

[R] Reshaping geographic data

2016-10-17 Thread G . Maubach
Hi All, I need to reshape an ESRI shape file: http://arnulf.us/PLZ and resp http://www.metaspatial.net/download/plz.tar.gz I found an instruction for T-SQL Server: https://blog.oraylis.de/2010/05/german-map-spatial-data-for-plz-postal-code-regions/ How can I do this using R? Kind regards

[R] Is it possible to extract coefficient '(Intercept)' with an identifier (Group ID)

2016-10-17 Thread Chad Danyluck
Hello, I have a data set with 80 observations (21 groups) on which I have run an MLM (using lme). I want to extract the coefficients for the intercept from my MLM using: coefficients(summary(mig1.mlm))$'(Intercept)' This produces a list of 21 intercepts, one for each group. For another test I

Re: [R] Adjusting axis labels on lattice xyplot

2016-10-17 Thread Rui Barradas
Hello, I'm not a lattice user but the 'by' argument is not an argument of xyplot, it's an argument of ?seq.Date. Hope this helps, Rui Barradas Em 17-10-2016 15:45, Rich Shepard escreveu: On Fri, 14 Oct 2016, David Winsemius wrote: xyplot(amount ~ date | station, data=rain, main="Weather

Re: [R] Adjusting axis labels on lattice xyplot

2016-10-17 Thread Rich Shepard
On Fri, 14 Oct 2016, David Winsemius wrote: xyplot(amount ~ date | station, data=rain, main="Weather Stations", xlab="Date", ylab="Amount (inches)", pch=16, col=132, scales=list(y=list(at=0:4), x=list(at=seq(min(rain$date), max(rain$date), by='week'), rot=90) ) ) David,

Re: [R] Specific question on LDheatmap

2016-10-17 Thread David González
Have you been codify your SNP to numbers (ej. 0, 1, 2) and perform analysis again? El martes, 8 de julio de 2008, 7:36:00 (UTC-6), Boks, M.P.M. escribió: > > > Dear R-friends, > > I am stuck making an LD plot of a small genotype set: > > An exert of my data (genotypes) > > >tempped.exert >

[R] [R-pkgs] New package: eulerr 0.1.0

2016-10-17 Thread Johan Larsson
Dear R users, I would like to announce the first version of eulerr (https://cran.r-project.org/package=eulerr). eulerr generates area-proportional euler diagrams that display set relationships (intersections, unions, and disjoints) with circles. Euler diagrams

Re: [R] LDheatmap

2016-10-17 Thread David González
Yes, I used LDheatmap just a moment... First you need to convert your matrix (ej. your geno file) to snp.matrix usin the package "chopsticks", web> https://bioconductor.org/packages/release/bioc/html/chopsticks.html. This package is no in R library. You need use a sourse. Use this code> ## try

[R] Caret Train does not output the Accuracy SD

2016-10-17 Thread Heba Attia via R-help
Hello Rescuers, I have a problem with retrieving the Accuracy Standard Deviation for a "nnet" model trained by "train" in the "caret" package. Below is my code. I checked several examples online whose published output shows Accuracy SD but I could not get to finding a difference between these

Re: [R] Reg : R : How to capture cpu usage, memory usage and disks info using R language

2016-10-17 Thread Bob Rudis
You can do something like: https://www.simple-talk.com/sql/performance/collecting-performance-data-into-a-sql-server-table/ and avoid the R step. Let the log perf data directly. On Mon, Oct 17, 2016 at 6:03 AM, jim holtman wrote: > within the VBS script you can easily access

Re: [R] Reg : R : How to capture cpu usage, memory usage and disks info using R language

2016-10-17 Thread jim holtman
within the VBS script you can easily access remote computers. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Mon, Oct 17, 2016 at 5:58 AM, Manohar Reddy wrote: > Thanks Jim. > >

Re: [R] Reg : R : How to capture cpu usage, memory usage and disks info using R language

2016-10-17 Thread Manohar Reddy
Thanks Jim. Actually my requirement is I have ~ 20 servers which are running on windows server family OS,if I want to check any server cpu usge,memory usage or disk info I need to log into every server instead of doing like this if I get that kind of information using R then I can save it

Re: [R] Problem installing rgdal on a laptop running Ubuntu 16.04.1

2016-10-17 Thread Rolf Turner
On 10/04/2016 05:54 PM, Rolf Turner wrote: I previously sent a cri de coeur about this problem to the r-help list but so far have not managed to extract a solution. So I am trying here. (Uh, Ubuntu *is* a "special instance" of Debian, isn't it?) The problem is that I cannot install rgdal,

Re: [R-es] instalar R3.3 en ubuntu

2016-10-17 Thread miguel.angel.rodriguez.muinos
Hola José. Puedes seguir las instrucciones que dan en el CRAN: http://ftp.cixug.es/CRAN/bin/linux/ubuntu/ Básicamente consiste en agregar un repositorio distinto al de tu versión de ubuntu y actualizar el sistema. Un saludo, Miguel. El 17/10/2016 a las 1:18, Jose Ramirez Costa escribió: >