[R] Getting the character set

From: Halldor Björnsson <halldor_at_vedur.is>
Date: Thu 16 Jun 2005 - 01:17:11 EST


Hi R-gurus,

In python one can do
>>> import string
>>> print string.letters

and get the characters in the local character set.

This feature is often useful in Python, and if I could find it in R I could make good use of it.

In R both Sys.getlocale() and localeToCharset() can tell me which charset I am using, but I haven't found a way to print out the actual characters. Is there a way to do this?

Sincerely,
H.

-- 
------------------------------------------
Halldor Bjornsson   (halldor@vedur.is)
Vedurstofa Islands (Icelandic Met. Office)
Bustadavegur 9, IS-150, Reykjavik, Iceland

______________________________________________
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
Received on Thu Jun 16 01:21:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:42 EST