Re: [R] variable of mathematics string not interpreted

2008-05-08 Thread Duncan Murdoch
delpacho wrote: Hi everybody, my goal is to display symbols on the x-axis of a barplot. I read some mathematics strings in a file and convert them to an expression as follows: tt<- scan(file = fstr ,'what' ='character', sep = ""); for (iaa in 1:length(tt)) { tt[iaa]<-do.call(expression, lappl

[R] variable of mathematics string not interpreted

2008-05-08 Thread delpacho
Hi everybody, my goal is to display symbols on the x-axis of a barplot. I read some mathematics strings in a file and convert them to an expression as follows: tt<- scan(file = fstr ,'what' ='character', sep = ""); for (iaa in 1:length(tt)) { tt[iaa]<-do.call(expression, lapply(tt[iaa], as.nam