Skip to content
Discussion options

You must be logged in to vote

The answer was pandoc:

format: 
  html: default
  ipynb:
    jupyter:
      kernelspec:
        display_name: R
        language: r
        name: ir

This renders normally using knitr, then creates a jupyter notebook with this spec; presumably this can also rejig other metadata in a notebook if you want to get fancier (https://pandoc.org/MANUAL.html#jupyter-notebooks)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlgraves-ubc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant