rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

rocker/verse fails to knit to pdf #101

Closed raubreywhite closed 6 years ago

raubreywhite commented 6 years ago

I open a new rmarkdown file, then click on the button "Knit to PDF". It then gives me the following:

/usr/lib/rstudio-server/bin/pandoc/pandoc +RTS -K512m -RTS d.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output d.pdf --template /usr/local/lib/R/site-library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in' --variable 'compact-title:yes' 
pandoc: pdflatex not found. pdflatex is needed for pdf output.
Error: pandoc document conversion failed with error 41
Execution halted

No TeX installation detected (TeX is required to create PDF output). You should install a recommended TeX distribution for your platform:

  Windows: MiKTeX (Complete) - http://miktex.org/2.9/setup
  (NOTE: Be sure to download the Complete rather than Basic installation)

  Mac OS X: TexLive 2013 (Full) - http://tug.org/mactex/
  (NOTE: Download with Safari rather than Chrome _strongly_ recommended)

  Linux: Use system package manager
cboettig commented 6 years ago

Sorry, I missed that RStudio likes to reset the $PATH when updating the tinytex setup! Stand by for patch soon.

cboettig commented 6 years ago

should be fixed across rocker/verse image tags now.

raubreywhite commented 6 years ago

Hi!

I did the same thing as before, and now I get this error:

tlmgr path add
add of symlinks had 1 error(s), see messages above.
mkdir(/root/bin/) failed: Permission denied
tlmgr: An error has occurred. See above messages. Exiting.
tlmgr search --file --global '/blindtext.sty'
! LaTeX Error: File `blindtext.sty' not found.

! Emergency stop.
<read *> 

Error: Failed to compile Untitled.tex. See Untitled.log for more info.
Execution halted