[R] math symbols and text with mtext()

2006-07-31 Thread Juan Lewinger
Dear R users, Two questions: 1) Is there a way to simplify the mtext() line below ? beta=c(1,-1) m=5 plot(1) mtext( bquote(paste( beta == .(paste( (, paste(beta, collapse=, ), ) )) )), outer=TRUE,line=-3) 2) How do I get the embedded carriage return \n below to work, i.e for the text that

Re: [R] math symbols and text with mtext()

2006-07-31 Thread Peter Dalgaard
Juan Lewinger [EMAIL PROTECTED] writes: Dear R users, Two questions: 1) Is there a way to simplify the mtext() line below ? beta=c(1,-1) m=5 plot(1) mtext( bquote(paste( beta == .(paste( (, paste(beta, collapse=, ), ) )) )), outer=TRUE,line=-3) The outer paste() is superfluous,