Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to compile r markdown code

Tags:

r

knitr

I like to use knitr to create reports. I installed knitr and when I try to combile to pdf, I get this error:

no tex installation detected. please install tex before compiling.

Where do I get this? Is tex an r package? I am on windows?

like image 817
user1471980 Avatar asked May 25 '26 07:05

user1471980


1 Answers

TeX is not an R package. TeX is a typesetting system (with considerable online presence, including its own StackExchange site). If you are on Windows (which, if you have to ask, you probably are), consider the MiKTeX distribution: http://www.miktex.org/

like image 127
Brian Diggs Avatar answered May 27 '26 23:05

Brian Diggs