Tuesday, March 25, 2014

Write this code on Mac's Terminal if you have R issues with spanish accents

If you are writing in spanish inside R for MAC, maybe you will face an encoding issue when you type particular symbols as: ñ, á, é, í, ó, ú, etc. You can stop suffering by typing the following command on your terminal:

defaults write org.R-project.R force.LANG en_US.UTF-8