[R] importing a list

From: <grazia_at_stat.columbia.edu>
Date: Thu 11 May 2006 - 01:23:46 EST

Hi, all.
I'm trying to automate some regression operations in R leaving the possibility to modify the predictors in the regression.

For example, I have saved in a list the results and then exported as a txt file, in which we can modify the predictors, putting for example lm(y~x^2) instead of having lm(y~x) as in the original model.

Now, I need to import in R the txt file as a list to evaluate the model. Is that possible?

I played around
with source() and file() but can't figure it out.


M. Grazia Pittau, Ph.D.
Post-Doctoral Research Fellow
Department of Statistics
Columbia University
1255 Amsterdam Avenue
New York, NY 10027

Phone: 212.851.2160
Fax: 212.851.2164

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 11 02:14:39 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 11 May 2006 - 04:10:04 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.