[Rd] "°" not accepted under MacOSX

Patrick Giraudoux patrick.giraudoux at univ-fcomte.fr
Thu Apr 15 18:06:46 CEST 2010


I am developping a package (pgirmess) that since long does not go 
through CRAN MacOSX checks, just because I have this command in one of 
the examples.

text(mydata[,3],mydata[,4],paste(round(dirs,0),"°"),cex=0.7)

It makes:

<ERROR: re-encoding failure from encoding 'latin1'>
text(mydata[,3],mydata[,4],paste(round(dirs,0),"+
+
+
+ cleanEx()
+ nameEx("distNode")
Error: unexpected symbol in:
"cleanEx()
nameEx("distNode"
Execution halted

The description file (following some earlier recommandation) includes:
Encoding: latin1

Is there any way to make "°" accepted by MacOSX checks ?

Cheers,

Patrick



More information about the R-devel mailing list