Re: [R] Encoding of Sweave file error message

2012-04-12 Thread Duncan Mackay
Hi Rainer Thanks for an alternative. For the record I tried your latex solution on my Windows 7 \usepackage[utf8x]{inputenc} but it failed on the Alt-248 Regards Duncan At 19:13 12/04/2012, you wrote: I also had the same problem. Being on Linux, I prefer Walmes' command line method but

Re: [R] Encoding of Sweave file error message

2012-04-12 Thread Duncan Mackay
Hi Duncan Thank you for the tips I tried \usepackage[latin1]{inputenc} but it still bailed up. tried showNonASCII on the file with the ° typed as Alt-248 (used to doing as DOS value) becomes Alt-176 in ASCII % 1° line resulted in 483: % 1 line The showNonASCII is a nifty function Duncan

Re: [R] Encoding of Sweave file error message

2012-04-12 Thread Duncan Murdoch
On 12-04-12 12:13 AM, Duncan Mackay wrote: At 12:03 12/04/2012, you wrote: I had the same problem! So, as I'm a linux user, I prefer use linux terminal. On terminal I type this to compile R CMD Sweave --encoding=utf-8 myfile.Rnw and the compilation is successful. Try to set the encoding opti

Re: [R] Encoding of Sweave file error message

2012-04-12 Thread Rainer Schuermann
I also had the same problem. Being on Linux, I prefer Walmes' command line method but I found that putting \usepackage[utf8x]{inputenc} as the first instruction in the master .Rnw file also does the trick. No need to change anything after that in the file, at least not for me! Rgds, Rainer On

Re: [R] Encoding of Sweave file error message

2012-04-11 Thread Duncan Mackay
At 12:03 12/04/2012, you wrote: >I had the same problem! So, as I'm a linux user, >I prefer use linux terminal. On terminal I type this to compile > >R CMD Sweave --encoding=utf-8 myfile.Rnw > >and the compilation is successful. Try to set the encoding option in Sweave(). > >Bests. >Walmes. > >=

Re: [R] Encoding of Sweave file error message

2012-04-11 Thread Walmes Zeviani
I had the same problem! So, as I'm a linux user, I prefer use linux terminal. On terminal I type this to compile R CMD Sweave --encoding=utf-8 myfile.Rnw and the compilation is successful. Try to set the encoding option in Sweave(). Bests. Walmes. ===

[R] Encoding of Sweave file error message

2012-04-11 Thread Duncan Mackay
Hi I ran the following sweave file in R2.14.1 and upgraded to R2.15 yesterday with the same setup I got the following error message when I rand the following Sweave file > setwd("D:/Cic/Sweave/Parasite/Comb/12") > Sweave("D:/Cic/Sweave/Parasite/Comb/12/ParasiteComb12.Rnw") Error: c("'ParasiteC