Existing Rmd file to Notebook?

10 views
Skip to first unread message

Agustin Lobo

unread,
Dec 16, 2016, 4:52:59 AM12/16/16
to kn...@googlegroups.com
HI!
Is it possible to make an existing Rmd file to work as Notebook?
(i.e. by including some special configuration commands)

Thanks
Agus

Jeff Newmiller

unread,
Dec 16, 2016, 9:46:51 AM12/16/16
to Agusti...@ictja.csic.es, knitr
You are thinking of the RStudio v1.0 display feature, not a feature of knitr. AFAIK any rmarkdown file (with the YAML header) will be displayed as if it were a notebook in RStudio v1.0, but a definitive answer would have to come from RStudio support.


--
You received this message because you are subscribed to the Google Groups "knitr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knitr+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Emilio Xavier Esposito

unread,
Dec 16, 2016, 11:29:45 AM12/16/16
to knitr, Agusti...@ictja.csic.es

Hi
I use the following YAML header from a RStudio webinar on Notebooks with R Markdown (https://www.rstudio.com/resources/webinars/introducing-notebooks-with-r-markdown/):

---
title: "My Title"
output: 
  html_notebook: default
  html_document:
    highlight: textmate
    theme: spacelab
    toc: yes
---

Then if you want to create an HTML, PDF, or Word docx file you select “Knit to HTML/PDF/Word” within RStudio v1.0 instead of “Preview Notebook”.

Emilio


On Friday, December 16, 2016 at 9:46:51 AM UTC-5, Jeff Newmiller wrote:

You are thinking of the RStudio v1.0 display feature, not a feature of knitr. AFAIK any rmarkdown file (with the YAML header) will be displayed as if it were a notebook in RStudio v1.0, but a definitive answer would have to come from RStudio support.
On Dec 16, 2016 1:52 AM, "Agustin Lobo" <alobo...@gmail.com> wrote:
HI!
Is it possible to make an existing Rmd file to work as Notebook?
(i.e. by including some special configuration commands)

Thanks
Agus

--
You received this message because you are subscribed to the Google Groups "knitr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knitr+un...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages