[R] 'font' argument in "text" function unevaluated

Luis Ridao Cruz Luisr at frs.fo
Fri Aug 3 14:33:22 CEST 2007


R-help,

I have a plot in which I use the following:

text(1 , 2, expression(61*degree ~ paste("N")), font = 2)

but the "expression(61*degree ~ paste("N"))" will not come out in font
= 2.
However "cex=2" will work.

What is the problem?


Thanks in advance.


> version
               _                           
platform       i386-pc-mingw32             
arch           i386                        
os             mingw32                     
system         i386, mingw32               
status                                     
major          2                           
minor          5.1                         
year           2007                        
month          06                          
day            27                          
svn rev        42083                       
language       R                           
version.string R version 2.5.1 (2007-06-27)



More information about the R-help mailing list