HI all, I'm failing to understand why the following is happening. In this plot I rely on two text functions both using parse. The second one works properly by writing a gamma symbol 5 times, the first one only works properly four times. The only difference is that I add a string to the paste function of that which does work properly. Why does it behave like this? thanks so much! Michael Folkes plot(1,1,type='n',ylim=c(-2,2)) for(gam in seq(-1,.25,length=5)){ #doesn't repeat gamma symbol properly text(.8,gam,parse(text=paste("gamma",gam,sep='')),cex=.75,adj=0) # however this works if an additional string is included in the paste function text(1,gam,parse(text=paste("gamma","~hi",gam,sep='')),cex=.75,adj=0) }
[[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.