title: R Sweave: NO TeX installation detected
body: <p>I've tried searching on google to fix this, with very minimal helpful solutions.</p>
  
  <p>I have installed, Miktex, R and R studio.  I would like to use Sweave to create PDF documents in Miktex.  Everytime I open my .Rnw file, it gives a warning at the top which reads "No TeX installation detected.  Please install TeX before compiling"</p>
  
  <p>When I look for pdflatex on my system with the command
  <code>Sys.which("pdflatex")</code> it returns ""</p>
  
  <p>Does anyone know how to fix this? ANYTHING at all at this point would be useful.</p>