Re: [R] Accents and special character using hwriter (on Windows)

2012-08-09 Thread ramonovelar
Thanks David, but this is not easy to me as these string are already in my data (labels, variable strings). Well, I still can make some script to do it, but it's messy, maybe I want make a Word file (not a html through Word) after this. When a HTML page has a UTF-8 charset it works ok with characte

Re: [R] Accents and special character using hwriter (on Windows)

2012-08-07 Thread David Scott
The safest way to include special characters is to use a character code. You are at the mercy of the browser otherwise and browsers behave very differently when confronted with unusual things. You don't mention which browser you are using on Windows, which is a severe gap in the information you

Re: [R] Accents and special character using hwriter (on Windows)

2012-07-31 Thread ramonovelar
Thanks Arun, Yes, I have Windows 7. I have tried 2 versions of R, 2.14.1 and 2.15.x, but it did not change anything. Right now I can't try a different version of win. Ramón On Tuesday, July 31, 2012, arun kirshna [via R] wrote: > Hello, > > I tried your code in R 2.15 with Ubuntu 12.04. It loo

Re: [R] Accents and special character using hwriter (on Windows)

2012-07-31 Thread arun
Hello, I tried your code in R 2.15 with Ubuntu 12.04.  It looks okay to me. datosdv<-"Ciencias Sociales y Jurídicas n:74 | 33.94%"  print(datosdv) #[1] "Ciencias Sociales y Jurídicas n:74 | 33.94%"  library(hwriter)  p=openPage('test.html')  hwrite(datosdv,p,br=TRUE) #test.html output Ciencias