compiled PDF does not contain the r codes and the outputs. what to do? it is just a title page with blank page. Thank you in advance!

The R markdown looks like this.

processing file: bpas.spin.Rmd
|......................................................................| 100%
ordinary text without R code

output file: bpas.knit.md

"C:/Users/Blue/ANACON~1/envs/rstudio/Scripts/pandoc" +RTS -K512m -RTS bpas.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output bpas.tex --lua-filter "C:\Users\Blue\Documents\R\win-library\3.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\Blue\Documents\R\win-library\3.6\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable "geometry:margin=1in"

Output created: bpas.pdf

Without the content of the input file it will be difficult to help further.

The output you shared does not help to know what is going one.

Input and output could not show for several reason:

  • some chunk options are set to hide them
  • output is for HTML only and you are producing PDF
  • ...

Can you share the input file content and what you did to render it ?

Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.