title: Sweave not working in Rstudio - found path, but how to set?
body: <p>I am having the same problem as described in <a href="https://stackoverflow.com/questions/23229657/rstudio-cant-find-latex-after-mavericks-update">this post</a>.  That is, I am getting a "No TeX" installation detected.  I did reinstall tex after I received the Yosemite-beta OS.  I located the paths to tex at the terminal using the following command:  </p>
  
  <pre><code>/usr -name pdflatex
  </code></pre>
  
  <p>And, I came up with the following paths.  </p>
  
  <pre><code>/usr/local/texlive/2014/bin/universal-darwin/pdflatex
  /usr/local/texlive/2014/bin/x86_64-darwin/pdflatex
  </code></pre>
  
  <p>I am wondering which path I should use and the specific file to be constructed.  The post I am using as a reference suggests:</p>
  
  <pre><code>$ sudo -s "echo /usr/texbin &gt; /etc/paths.d/TeX"
  </code></pre>
  
  <p>I'm not proficient in the terminal, so I am a bit afraid of doing too much at the command line unless I know for sure what I am actually doing. </p>
  
  <p>Thanks in advance.</p>