See A.12 in http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html
huang min schrieb: > Hi, > > I have searched the lists but still can not solve the problem. I am using a > windows machine. After I sweave some Rnw file, I got a tex file. However, > the tex file can not be compiled. I know the problem is in the line > \usepackage{C:/PROGRA~1/R/R-25~1.1/share/texmf/Sweave} and I need to modify > this line to > \usepackage{Sweave}. > > I hope there can be some automatic way to do this instead of changing this > line in the tex file whenever I modify something. Thank you. > > Huang > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Eik Vettorazzi Institut für Medizinische Biometrie und Epidemiologie Universitätsklinikum Hamburg-Eppendorf Martinistr. 52 20246 Hamburg T ++49/40/42803-8243 F ++49/40/42803-7790 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.