Texi2dvi error when compiling tex files using RStudio and knitr since updating Mac OSX 10.10

I'm having a problem compiling Latex files using RStudio (0.98.1079) and Knitr (1.7) and R (3.1.1). The problem only started with the upgrade to the latest version of Mac OS X.

Basically, I cannot compile any Tex files from RStudio, including minimal files. Running the knit2pdf function creates a .tex file but does not create a PDF file. Instead, it returns the following error:

 Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on 'Test.tex' failed. 

It is strange that I can compile a .tex file using another Tex program (i.e. Texpad / TexShop) just fine. For reference, I am using TexLive 2013 and trying to compile using pdfLateX.

Update . I just uninstalled and updated all the software involved in this problem (R, RStudio, Knitr and LaTeX). However, I still have the same problem. My gut says that the tex2dvi function tex2dvi not indicate the correct installation of LaTeX on my computer, but I have no idea how to diagnose / fix the problem (oddly enough, I also cannot run pdftk using the system command in R).

The problem is resolved . This issue was resolved with a linked message . It turns out that Yosemite does not allow programs to send the PATH variable to child processes ... A temporary solution is to start RStudio through the terminal.

+3
r rstudio knitr tex
source share

No one has answered this question yet.

See similar questions:

7
Running a system command from console R cannot find installed programs since upgrading to Mac OSX 10.10

or similar:

115
Error loading rJava in RStudio / R after "upgrade" to OSX Yosemite
nine
/ usr / bin / texi2dvi: cannot create directory:
7
Running a system command from console R cannot find installed programs since upgrading to Mac OSX 10.10
6
Is it possible to use Rstudio to transfer from .Rmd to LaTeX directly without pandoc?
5
Rmarkdown for LaTeX
3
Convert a Tex file created by Knitr to .doc
3
Texi2dvi () error while running .Rnw script with LaunchControl
2
Using texlive, why can I compile the knitr Rnw file to pdf from R, but not the tex-output from knitting R to pdf
0
diagnosing a knife error when purple does not cause errors
0
Stop compiling the knitr button in RStudio. Compile a PDF window.

All Articles