[R] Variable definition problem

T. Hotchi THotchi at lbl.gov
Fri Apr 19 00:48:22 CEST 2002

Hello, what does this error message indicate and how do I avoid this? 
(sample code below)

Thank you.


#read in the data table

for (i in 1:3){
   paste("logco",i, sep="")<-log(co$co[co$day==i])

Gives the error:
Error: Target of assignment expands to non-language object

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list