Site icon R-bloggers

Setting Up New R Notebook

[This article was first published on data_steve, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Today Noam Ross’ tweet about his experience with the new R Notebooks from RStudio got me excited.

Can not find a GIF to properly convey the joy + wreckage of me messing around with the internals of the new #rstats notebook stuff.

— Noam Ross (@noamross) May 23, 2016

Couple that with the release of JJ Allaire’s video at Open Data Science conference and I was eager to find it. In case you’re eager to trial it too, follow the steps below.



Steps:

1.) Download latest RStudio daily for RStudio IDE and update:

2.) Download latest Rmarkdown package: devtools::install_github("rstudio/rmarkdown")

3.) Set your Options: Tools > Global Options > Rmarkdown > Enable R Notebook > Apply

4.) Open a new Rmarkdown file as usual

5.) Set the YAML output options from output: html_document to output: html_notebook: default

Don’t forget that with the new daily build of RStudio you can pull the Rmd file out of the RStudio IDE and edit it in a separate pane. Simply grab the document tab and pull it away, as you would tabs in your browser or Sublime.

To leave a comment for the author, please follow the link and comment on their blog: data_steve.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.