I am attempting to use Sweave with R2.11.1 and Texmaker on Ubuntu 10.10. I have done this previously on Windows XP, where one saves the tex file as
.Rnw and then processes it with Sweave. I have all the files in R's current working directory, but it does not appear to work.
Whenever I run the Sweave command, a blank tex file is created, and then R stops, giving me the following error:
Error in SweaveReadFile(file, syntax) : no Sweave file with name 'example.Snw' found
I even tried loading the example sweave file from the R tools library, and even that does not work. Can anyone advise if they know of a solution for this problem, or please let me know if you need further information.