[R] Error: protect () : protection stack overflow
Bricklemyer, Ross S
rsb at wsu.edu
Wed Dec 10 01:10:22 CET 2008
I am attempting to create a formula using as.formula for a PLS analysis. I have used the code below successfully, but in a previous R version and with many fewer predictors. Any help getting all of these predictors into one formula would be greatly appreciated.
TC.fmla <- as.formula(paste("TC ~ ", paste(vars, collapse= "+")))
As I mentioned, this code worked fine in a previous R version and with 2050 vars, however I now have the latest version of R and 36334 predictors in vars.
Do I simply have too many predictors for this to work, or is this an R 2.8.0 issue?
Best,
Ross
*******************************************************************
Ross Bricklemyer
Dept. of Crop and Soil Sciences
Washington State University
251 Johnson Hall
PO Box 646420
Pullman, WA 99164-6420
Work: 509.335.3661
Cell/Home: 406.570.8576
Fax: 509.335.8674
Email: rsb at wsu.edu
More information about the R-help
mailing list