Re: [R] Sweave encoding option

2012-09-05 Thread Shi, Tao
this encoding option Still puzzled. Tao From: Yihui Xie x...@yihui.name To: Shi, Tao shida...@yahoo.com Cc: r-help@r-project.org r-help@r-project.org Sent: Tuesday, September 4, 2012 7:40 PM Subject: Re: [R] Sweave encoding option What happened might

[R] Sweave encoding option

2012-09-04 Thread Shi, Tao
Hi list, I was running Sweave on one of my .rnw file.  Everything was fine, until I came back from the vacation.  Nothing changed (at least to my knowledge), but now I have this problem: Sweave(myfile.rnw) Error: ‘COLO001final.rnw’ is not ASCII and does not declare an encoding After

Re: [R] Sweave encoding option

2012-09-04 Thread Yihui Xie
What happened might be that your vacation took too long. The encoding argument was introduced in R 2.13.1 (July last year). Nothing has changed in your Rnw document, but things have always been changing in R, so the best thing to do is to check out help(Sweave). Regards, Yihui -- Yihui Xie