Dear Ligges, *Well, * * * *1st, you should find the "*Sweave.sty" file, I am sure you can. 2nd, in the Latex configure menu, adding the path containing the " Sweave.sty"
That will be OK. Best Wishes Guanhao Liu On Fri, Mar 22, 2013 at 6:56 PM, Uwe Ligges <lig...@statistik.tu-dortmund.de > wrote: > I typically run > > R CMD Sweave > > which resolves issues with style files in directories unknown to your > LaTeX distribution. > > Best, > Uwe Ligges > > > On 21.03.2013 18:44, lgh0504 wrote: > >> The pdflatex is the an excutable programe located in your MiKTexâ bin >> >> folder, I guess you have not add your MikTex bin folder into your Windows >> PATH environment >> >> >> On Thu, Mar 14, 2013 at 12:55 AM, susieboyce [via R] < >> ml-node+s789695n4661220h61@n4.**nabble.com<ml-node%2bs789695n4661220...@n4.nabble.com>> >> wrote: >> >> I have located my Sweave.sty in my R program files and I've tried copying >>> and pasting this into many folders in the C/.../MiKTeX/tex/latex >>> environment, including making a new folder called 'Sweave' and storing in >>> here and still my .tex file gives me an error when I try to compile it. >>> >>> What is this pdflatex? Is it an R command? If so, what package is it in? >>> >>> Where does this go? In the original .rnw file, do you type this into R or >>> somewhere else?: >>> pdflatex --include-directory="C:\**Program >>> Files\R\R-2.14.0\share\texmf\**tex\latex" your_tex.tex >>> >>> >>> ------------------------------ >>> >>> If you reply to this email, your message will be added to the >>> discussion >>> below: >>> http://r.789695.n4.nabble.com/**basic-sweave-question-** >>> tp876734p4661220.html<http://r.789695.n4.nabble.com/basic-sweave-question-tp876734p4661220.html> >>> To unsubscribe from basic sweave question, click here< >>> http://r.789695.n4.**nabble.com/template/**NamlServlet.jtp?macro=** >>> unsubscribe_by_code&node=**876734&code=**bGdoMDUwNEBnbWFpbC5jb218ODc2Nz* >>> *M0fC0xODczMTIwODc1<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=876734&code=bGdoMDUwNEBnbWFpbC5jb218ODc2NzM0fC0xODczMTIwODc1> >>> > >>> . >>> NAML<http://r.789695.n4.**nabble.com/template/** >>> NamlServlet.jtp?macro=macro_**viewer&id=instant_html%** >>> 21nabble%3Aemail.naml&base=**nabble.naml.namespaces.** >>> BasicNamespace-nabble.view.**web.template.NabbleNamespace-** >>> nabble.view.web.template.**NodeNamespace&breadcrumbs=** >>> notify_subscribers%21nabble%**3Aemail.naml-instant_emails%** >>> 21nabble%3Aemail.naml-send_**instant_email%21nabble%**3Aemail.naml<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>> > >>> >>> >> >> >> >> -- >> View this message in context: http://r.789695.n4.nabble.com/** >> basic-sweave-question-**tp876734p4662100.html<http://r.789695.n4.nabble.com/basic-sweave-question-tp876734p4662100.html> >> Sent from the R help mailing list archive at Nabble.com. >> [[alternative HTML version deleted]] >> >> >> >> ______________________________**________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> >> PLEASE do read the posting guide http://www.R-project.org/** >> posting-guide.html <http://www.R-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> >> [[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.