Re: [R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Marc Schwartz
Hi, I suspect that the warning may be coming from stats::model.frame.default(), with text along the lines of: "contrasts dropped from factor YOUR.FACTOR.NAME due to missing levels" You might want to see if the student has a ~/.Rprofile file that has some modified default options regarding

Re: [R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Bert Gunter
A guess (treat accordingly): Different BLAS versions are in use on the two different machines/versions. In one, near singularities are handled, and in the other they are not, percolating up to warnings at the R level. You can check this by seeing whether the estimated fit is the same on the 2

[R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Cade, Brian
I am helping a student with some logistic regression analyses and we are getting some strange inconsistencies regarding a warning about factor levels being dropped when running predict.glm(, newdata = ournewdata) on the logistic regression model object. We have checked multiple times that the

[R] PLS in R

2017-12-05 Thread Margarida Soares
Hello, I need help with a partial least square regression in R. I have read both the vignette and the post on R bloggers but it is hard to figure out how to do it. Here is the script I wrote: library(pls) plsrcue<- plsr(cue~fb+cn+n+ph+fung+bact+resp, data = cue, ncomp=7, na.action = NULL, method

Re: [R] cannot allocate vector of size n

2017-12-05 Thread Michael Hannon
(1) That's an old version of R Studio, although I doubt that that's the source of your problem. (2) What is your session info? > sessionInfo() or > devtools::session_info() I just allocated a numeric vector of size 2.5e9 on a 16GB linux box (R 3.4.3). It worked, but it pretty much

[ESS] ess-17.11-tgz is not compressed

2017-12-05 Thread Neil Shephard
Hi, I've only just caught up on the update to ess-17.11 and went to install it using the Gentoo Linux package management system portage. It complained that the ess-17.11.tgz was not a compressed archive and this appears to be true, its just a plain tar-ball. This means that when portage trys to

[R] cannot allocate vector of size n

2017-12-05 Thread Sahar Ansari
Hello I have a memory problem,when I am running my code with RStudio-1.0.143 (64bit) on windows 2012 server with 6 GB ram (VPS) I receive the following error message: Error: cannot allocate vector of size 2.5 Gb I used to run this source code on this machine with no difficulty . I haven't