[R] code ok in unix & R2.6 , fails in windows & R 2.12

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Nov 9 17:21:03 CET 2010


We cannot help since we do not have the data.

Uwe


On 09.11.2010 16:40, Robert Kinley wrote:
> hello ...
>
> Can anyone help me with this :
>
>
> In R.exe 2.6 , Unix , :-
>
> plot.data<-model[[i]]$data$conc
> newdata<-seq(min(plot.data),max(plot.data),by=1)
> model.pred<-predict(model[[i]],data.frame(newdata),interval="prediction")
> matpoints(newdata,model.pred[,c("Lower","Upper")],"l",col="blue",lty=1)
>
> works OK ...
>
>
> in Rgui  2.12 , Windows XP , same code
>
>> plot.data<-model[[i]]$data$conc
>> newdata<-seq(min(plot.data),max(plot.data),by=1)
>>
> model.pred<-predict(model[[i]],data.frame(newdata),interval="prediction")
> Error in `[.data.frame`(newdata, , 2) : undefined columns selected
>
>
>
>        Robert Kinley  ( 'baffled' of Berkshire )
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list