Closed yihui closed 9 years ago
Not sure from the comment, but this seems related: https://github.com/IRkernel/IRkernel/issues/59
The issue is about getting output in a suitable format (-> multiple mimetypes: plain text, markdown, html) for the rkernel for the jupyter notebook.
yeah, your idea to join efforts is great. we could probably rip out the actual code from printr
/knitr
and create a lean library that provides the representations we all need without depending on printr
, knitr
or IRkernel
.
Sorry, but I don't have the bandwidth to work on that at the moment. I understand a separate lean package can be nice, though.
This particular issue for the printr repo has been solved, so I'm closing it now.
See https://github.com/rstudio/rmarkdown/commit/e6f8a779818aaff605e269f6ca58accbb166516c
When printing an object, we need to consider two types of output formats:
opts_knit$get('out.format')
is for general document formats, e.g. Rnw, Rhtml, Rmd, Rrst, ...opts_knit$get('rmarkdown.pandoc.to')
is for R Markdown only