[R] Printing special characters

PIKAL Petr petr@p|k@| @end|ng |rom prechez@@cz
Mon Jan 16 10:39:57 CET 2023


Hallo Dennis

Is the STRING in R still containing **≥** character?
Or it was converted during reading to R to ...?

What dput(STRING) result i?
 
Cheers
Petr

> -----Original Message-----
> From: R-help <r-help-bounces using r-project.org> On Behalf Of Dennis Fisher
> Sent: Monday, January 16, 2023 9:19 AM
> To: r-help using r-project.org
> Subject: [R] Printing special characters
> 
> R 4.2.2
> OS X
> 
> Colleagues
> 
> A file that I have read includes strings like this:
> 	"EVENT ≥ 30 sec"
> When I include the string in a graphic using:
> 	mtext(STRING, …)
> it appears as:
> 	"EVENT ... 30 sec"
> 
> Is there a simple work-around (short of reformatting all the strings, then using
> plotmath)?
> 
> Dennis
> 
> Dennis Fisher MD
> P < (The "P Less Than" Company)
> Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.


More information about the R-help mailing list