[R] using non-ASCII strings in R packages

From: Bojanowski, M.J. (Michal) <M.J.Bojanowski_at_fss.uu.nl>
Date: Thu 25 Jan 2007 - 01:02:23 GMT

Hello dear useRs and wizaRds,

I am currently developing a package that will enable to use administrative map of Poland in R plots. Among other things I wanted to include region names in proper Polish language so that they can be used in creating graphics etc. I am working on Windows and when I build the package it is complaining about non-ASCII characters R code files.

I was wondering what would be the best way to properly implement them in a platform-independent way so that they can be used in computations as well as in producing PS, PDF and other graphic output. Unfortunately I have a limited knowledge of encoding schemes etc. Is it OK to include them in Windows-1250 encoding (default for Polish locale, as far as I know)? I believe this problem is frequently confronted for other "non-latin1" languages. If it is not the way to go, I would be very grateful for suggestions.

Thanks in advance
and kind regards,

Michal Bojanowski

Michal Bojanowski
ICS / Department of Sociology
Utrecht University
Heidelberglaan 2; 3584 CS Utrecht
Room 1428

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch 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. Received on Thu Jan 25 12:54:19 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 Jan 2007 - 09:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.