Rstudio cannot find TeX.
Hi, I have installed Rstudio on a new computer and for some reason it cannot find the path for tex. When running the suggested command, I get:
Sys.which('pdflatex') pdflatex
""
When opening an .Rnw-document I get the warning "No TeX installation detected. Please install TeX before compiling."
What can I do?
Thank you for your help!
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Josh Paulson on 17 Jun, 2012 04:53 PM
Oyvind,
How did you install TeX (MiKTeX, ProTeX, or other) and also what location did you install it to? pdflatex needs to be in your path for RStudio to pick it up.
Josh
3 Posted by oyvind.s.aur on 18 Jun, 2012 07:19 AM
I have installed MiKTeX to C/program files. How do I change the path so Rstudio will pick it up?
Thanks,
Øyvind.
Support Staff 4 Posted by Josh Paulson on 18 Jun, 2012 09:49 PM
Øyvind,
Take a look at the previous discussion:
http://support.rstudio.org/help/discussions/problems/1063-sweaving-...
Josh
Josh Paulson closed this discussion on 20 Jun, 2012 02:25 PM.