What is RNotebook?
- R Notebooks are new feature of RStudio and are only available in version 1.0 or higher of RStudio.
- An R Notebook is an R Markdown document with chunks that can be executed independently and interactively
Click this link for more info http://rmarkdown.rstudio.com/r_notebooks.html
Yes ….. pdf is good but sometimes MS Word is needed. Great piece of work, Yihui..
Let me summarize it:
This — the rmarkdown — can make you
‘knit HTML’, also
‘knit PDF’ and yes
R Markdown in R Studio
Using R markdown in R Studio:
I have been struggling for hours yesterday to set up correctly my Lyx so it will run knitr both in Lyx and R. The 2 most common complains by Lyx are:
Rscript –verbose –no-save –no-restore “/Applications/LyX.ap
Package(s) required: knitr->latex. Modules excluded: LilyPond Book and Sweave. WARNING: Some required packages are unavailable
Well, after that frustrating many hours spent or rather invested, it works, and these probably the correct settings for your Lyx: