Message-ID: <2FC987BC0B90B24786CAF43DD3F5719C0214409C@CRU105.cahe.ad.wsu.edu>
Date: 2008-12-10T00:10:22Z
From: Bricklemyer, Ross S
Subject: Error: protect () : protection stack overflow
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