Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 208956

R markdown with Latex on R studio cloud server

$
0
0

I am trying to use Rmarkdown on our department's RStudio server. I am using the tinytex package to install TinyTex, for the Rmarkdown files. It was working before, then I was trying to get a custom latex template to work and somehow managed to mess up my latex setup. I have tried a fresh install of TinyTeX through the tinytex package which doesn't help.

I get the following errors when knitting:

! kpathsea: Running mktexfmt pdflatex.fmt

! mktexfmt [ERROR]: -user mode but path setup is -sys type, bailing out.

Addtional Info :

1)

cat /proc/version

yields

Linux version 4.15.0-72-generic (buildd@lcy01-amd64-026) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019

2) The following minimal example gives the same problem:

---
title: "Untitled"
output: pdf_document
---

## R Markdown

## Including Plots

5) Log file is not useful just contains only the above errorr message

Any help greatly appreciated!


Viewing all articles
Browse latest Browse all 208956

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>