Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories. latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex" Any advice would be much appreciated, Suzette Suzette Blanchard, Ph.D. Assistant Professor, Dept. of Biostatistics City of Hope National Medical Center and Beckman Research Institute 1500 East Duarte Road, Duarte, CA 91010-3000 sblanchard@coh.org <mailto:sblanchard@coh.org> ph: (626) 256-4673 ext: 64446 "EMF <COH.org>" made the following annotations. ------------------------------------------------------------------------------ SECURITY/CONFIDENTIALITY WARNING: This message and any atta...{{dropped}}
Suzette I have not experienced any problems with \Sexpr{} and new R versions. It might be helpful if you could provied a minimal example of your .Rnw and how \Sexpr{} is used within. It is obvious what OS you're using given the path dirctories below, but normally it might be useful to be explicit about thata s well. -----Original Message----- From: r-help-bounces@stat.math.ethz.ch on behalf of Blanchard, Suzette Sent: Wed 12/20/2006 6:26 PM To: r-help@stat.math.ethz.ch Subject: [R] \Sexpr in MikTex Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories. latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex" Any advice would be much appreciated, Suzette Suzette Blanchard, Ph.D. Assistant Professor, Dept. of Biostatistics City of Hope National Medical Center and Beckman Research Institute 1500 East Duarte Road, Duarte, CA 91010-3000 sblanchard@coh.org <mailto:sblanchard@coh.org> ph: (626) 256-4673 ext: 64446 "EMF <COH.org>" made the following annotations. ------------------------------------------------------------------------------ SECURITY/CONFIDENTIALITY WARNING: This message and any atta...{{dropped}} ______________________________________________ R-help@stat.math.ethz.ch 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. [[alternative HTML version deleted]]
On 12/20/2006 6:26 PM, Blanchard, Suzette wrote:> Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with > R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories. > latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"There should be two hyphens in the option, i.e. --include-directory, shouldn't there? This should be automatically put in place if you used R CMD Sweave MyProgram.tex from a command line. Duncan Murdoch> > Any advice would be much appreciated, > Suzette > > > Suzette Blanchard, Ph.D. > Assistant Professor, Dept. of Biostatistics > City of Hope National Medical Center > and Beckman Research Institute > 1500 East Duarte Road, Duarte, CA 91010-3000 > sblanchard at coh.org <mailto:sblanchard at coh.org> > ph: (626) 256-4673 ext: 64446 > > > "EMF <COH.org>" made the following annotations. > ------------------------------------------------------------------------------ > SECURITY/CONFIDENTIALITY WARNING: This message and any atta...{{dropped}} > > ______________________________________________ > R-help at stat.math.ethz.ch 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.