Hello, Example not reproducible:
> exc <- list(units=list( c(m^2)) ,vars= list(c('asb')), ,label= list(c('abs surf body')))
Error: object 'm' not found Regards, Pascal On 05/06/13 11:39, Santosh wrote:
Dear Rxperts, How do I overcome the anomaly as in the second case of examples below? exc <- list(units=list( c(m^2)) ,vars= list(c('asb')), ,label= list(c('abs surf body'))) plot(1:10,1:10, ylab=parse(text= paste(exc$vars[1],' (',exc$units[1],')',sep=''))) plot(1:10,1:10, ylab=parse(text= paste(exc$label[1],' (',exc$units[1],')',sep=''))) Thanks so much! Santosh [[alternative HTML version deleted]] ______________________________________________ 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.
______________________________________________ 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.