Sweave does not work in Rstudio - found path, but how to install?

I have the same problem as described in this post . That is, I get the installation "No TeX". I reinstalled tex after I received the Yosemite-beta system. I found the tex paths on the terminal using the following command:

/usr -name pdflatex

And I came up with the following ways.

/usr/local/texlive/2014/bin/universal-darwin/pdflatex
/usr/local/texlive/2014/bin/x86_64-darwin/pdflatex

I am wondering which path I should use and the specific file I need to build. The post I use as a link suggests:

$ sudo -s "echo /usr/texbin > /etc/paths.d/TeX"

I don’t own the terminal, so I’m a little afraid to do too much on the command line if I don’t know exactly what I’m actually doing.

Thanks in advance.

+4
source share
2

, , . :

sudo ln -s /usr/texbin/pdflatex /usr/bin/pdflatex
+9

Sierra OS Mac, , , . FixLink.pkg( ) .

0

All Articles