martes, 25 de marzo de 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

2 comentarios:

  1. Si el problema es con acentos en español, no es más coherente publicar la noticia en este idioma. Saludos

  2. @andrés:

    thanks for the tip. but it does not work. Using Maverick the ouptput with setdif command is still:
    "s303255" "as303241" "ca303261a"

    Any help will be kindly received.