On 13-01-30 11:00 AM, Troy S wrote:
Michael,
I added C:\R\R-2.15.2\share\texmf to the list of roots and hit apply and
that solved the problem. Thanks!
Duncan, I did try the R CMD Sweave you suggested and that did not solve
the issue. The problem was in running LaTeX so how was your suggestion
help me? It would have to copy the .sty files somewhere to help the
situation.
No, if you use the --pdf option (as I suggested!!) it would run LaTeX
for you, after figuring out what distribution of LaTeX you're using, and
putting together the right incantation to tell it to find the style files.
Please do not post your solution on a blog somewhere. There is way too
much bad advice about running Sweave on the net already.
Duncan Murdoch
Thanks guys. I appreciate the help!
Troy
On Wed, Jan 30, 2013 at 5:52 AM, Michael Friendly <[email protected]
<mailto:[email protected]>> wrote:
On 1/29/2013 6:04 PM, Troy S wrote:
Ok, yes I realize it. So let me try to fix it:
I removed the sty files, and set TEXINPUTS to
'C:\R\R-2.15.2\share\texmf\__tex\latex
I am back where I started: the tex file will not process.
Please let me know what I should do to fix the issue.
Troy
Don't do that either.
Go to Programs ->Miktex -> Maintenance (Admin) -> Settings
and on the Roots tab, add a folder, e.g., c:\localtexmf
having the same structure as the default texmf tree.
E.g., I have there \tex\latex\..., \bibtex\{bib,bst} ...
where I put all things tex that aren't installed directly
by Miktex
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University Voice: 416 736-2100 x66249
<tel:416%20736-2100%20x66249> Fax: 416 736-5814 <tel:416%20736-5814>
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
______________________________________________
[email protected] 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.