Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rendering Rmd Markup to pdf not working #794

Closed
shalberd opened this issue Dec 4, 2024 · 2 comments · Fixed by #798
Closed

rendering Rmd Markup to pdf not working #794

shalberd opened this issue Dec 4, 2024 · 2 comments · Fixed by #798
Labels
kind/bug Something isn't working

Comments

@shalberd
Copy link
Contributor

shalberd commented Dec 4, 2024

What steps did you take and what happened:

R Studio Latex PDF Gen Error

What did you expect to happen:
@guimou Expected pdf file to be rendered and created.

Anything else you would like to add:
solved it by installing in the base OS CentOS 9 the following package (in Containerfile / Dockerfile):
From CentOS 9 appstream repo.

RUN yum install -y texlive-framed

After that, the PDF from markup, with Knit on the R Studio UI, was rendered and created correctly in a new popup window, frame, I guess.

Got the hint from

rstudio/rmarkdown#39

Environment:

  • OpenDatahub Version: (please check the operator version)
  • Workbench: (all, data-science, etc)
  • Workbench Version: (2023.1, etc)
  • Specific tool: (jupyterlab, rstudio server, code-server, elyra-pipelines,etc)
  • Notebook-Controller Version: (please check the image version in notebook-controller deployment)

Logs/Screenshots

@jiridanek
Copy link
Member

jiridanek commented Dec 13, 2024

@shalberd
Copy link
Contributor Author

shalberd commented Dec 13, 2024

This is broken in JupyterLab as well

interesting, requires e.g. different OS packages, compared to what I list / install here for R Studio. Thank you for the cross-linking here, cool.
Small side note: for jupyterlab, I currently use / build on / extend contrib :-) @jiridanek so I can confirm that if you end up making the changes that Guillome did in contrib # 37 here as well, you will be fine / all set.

Thus, fixing it like @guimou did in workbenches-images jupyter contrib seems a good idea for Jupyterlab.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅Done in ODH IDE Planning Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Status: Done
2 participants