Greetings,

I have R 2.7.1 in MacOs and I believe UTF encoding is already installed. At least:

> Sys.getenv()

shows several variables, including:
 LANG "pt_PT.UTF-8"

I installed the Rstem and tm packages and when I try the following code:

> wordStem(c("aberração","aberrações"), language="portuguese")
[1] "aberraç\xc3" "aberraçõ"
Warning message:
In wordStem(c("aberração", "aberrações"), language = "portuguese") :
Currently, only 'english' is tested. You will need support for UTF characters.

So my question is. Am I using Rstem wrong or I do not really have UTF support? What do I need to do?

Best regards,
--
Paulo Alexandre Ribeiro Cortez  (PhD, MSc)
Lecturer (Prof. Auxiliar) at the Department of Information Systems (DSI)
University of Minho, Campus de AzurÈm, 4800-058 Guimaraes, Portugal
http://www.dsi.uminho.pt/~pcortez +351253510313 Fax:+351253510300

______________________________________________
[email protected] 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.

Reply via email to