Hi Ivania (and Marco)
I thought I'd weigh in on this...
The problem isn't with your mac, its R. Specifically the language set that R is using (your expression code works on my mac)
Are you using a spanish installation of R? if so it might not be set up for UTF-8.
You can find out what the R system locale is by entering
Sys.getlocale()
for UTF-8 encoding to function it will need to see something like "en_GB.UTF-8" - this one is for english (Great Britain) or "de_DE.UTF-8" - german in Germany.
based on that logic yours "might" work if you append .UTF-8 to your current language and country locale code.
you can change it using
Sys.setlocale(category="LC_ALL", locale="...")
NOTE: I dont know what would happen if you specify an invalid locale....you might have to reinstall R if it totally screws things up, or other things unique to a non-english locale night get broken.
hope that helps
stu