I was trying to generate one of the example rticles outputs in pdf, and got the same error pdflatex not found. This was on Ubuntu 20.04 focal fossa.
Asked
Active
Viewed 319 times
1 Answers
0
I first followed Yihue's troubleshooting site, but got the same error found here, here, and here . In R on Ubuntu 20.04, I first installed tinytex using devtools::install_github('yihui/tinytex'). I then tried to do library(tinytex) and tinytex::tlmgr_update() which returned an error Error in system2("tlmgr", args, ...) : error in running command. I assumed this was because I was missing something on Ubuntu 20.04. It seems that as of July 14, 2020, Ubuntu 20.04 or rticles does not ship with Texlive, which is necessary for output. I thus ran sudo apt install texlive-full at the command line and was able to run the example.
kana
- 605
- 7
- 12