I am suddenly having a problem with my R installation (R 2.1.1) in that any
linear models that access variables that have a "." in their name fail.
e.g.
> tempdata<-data.frame(dep=rnorm(1000),pred.test=rnorm(1000))
> lm(dep~pred.test,data=tempdata)
Error in parse(file, n, text, prompt) : parse error
>
But
> tempdata<-data.frame(dep=rnorm(1000),predtest=rnorm(1000))
> lm(dep~predtest,data=tempdata)
Call:
lm(formula = dep ~ predtest, data = tempdata)
Coefficients:
(Intercept) predtest
0.05260 0.04453
Clearly I have screwed something up but I have no idea what. (This suddenly
started happening today).
Michael Conklin
Chief Methodologist - Advanced Analytics
MarketTools Inc
(952)417-4719 office
(612)201-8978 mobile
[EMAIL PROTECTED]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html