[R] \Sexpr in MikTex

Duncan Murdoch murdoch at stats.uwo.ca
Thu Dec 21 04:05:26 CET 2006


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.



More information about the R-help mailing list