Reputation: 67
I cannot get tinytex to install via RStudio. I am running RStudio 1.1.463 on MacOS X 10_11_6 (El Capitan).
I have installed the tinytex package. I am trying:
library(tinytex)
install_tinytex()
I receive the error message:
ls: /Users/(myname)/Library/TinyTex/bin/x86_64-darwinlegacy: No such file or directory
I have tried simply searching the error on Google, but I don't really understand anything that comes up in the results (which start talking about something called sudo and different things with terminal) to know whether its relevant to my issue.
Upvotes: 1
Views: 1895
Reputation: 2020
The solution from @apshinyn worked for me when helping a student but I used a very slight modification and a little more detail. I'm not able to edit @apshinyn solution, however, so am reposting my version that worked for us:
GO TO Library/TinyTex/bin:
~/Library/TinyTex/bin
TinyTex
folder and then bin
folder.RENAME: Change the name of the folder universal-darwin
to x86_64-darwinlegacy
INSTALL TINYTEX: In R or RStudio, in the Console or command line run tinytex::install_tinytex()
CHECK TINYTEX: In R or RStudio, in the Console or Command line run: tinytex::is_tinytex()
. If you get TRUE
the installation worked.
Upvotes: 0
Reputation: 23
I have encountered the same issue and made a post on RStudio community including this post as well as my solution to the problem so far (linked below).
To summarize my solution:
https://community.rstudio.com/t/tinytex-installation-recent-issue/102861
I'd like to see a more elegant (and explainable) solution to this!
Upvotes: 2