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: [EMAIL PROTECTED] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.