R Notebooks are new feature of RStudio, and are currently available only in the RStudio Preview Release.
Questions tagged [rnotebook]
219 questions
1
vote
1 answer
Why does R notebook display truncated lines in "html_notebook" output?
I have a R notebook named "test.Rmd" with the following content:
---
title: "R Notebook"
output: html_notebook
---
```{sh}
faToTwoBit dmel-all-chromosome-r6.04.fasta dmel-all-chromosome-r6.04.2bit
```
Then rstudio will create "test.nb.html"…

mt1022
- 16,834
- 5
- 48
- 71
1
vote
1 answer
Nesting Rmarkdown files (Workflow Problems)
I am using rmarkdown to do 5 main steps: reading, cleaning, transformations, analysis and viz.
My plan is to divide the code for each step into one or two markdown files (.Rmd). Each following .Rmd will be called as an external file into the next…

BonnieB
- 129
- 2
- 12
1
vote
1 answer
RNotebook not picking up default figure sizes
Say, I have the following RNotebook chunk that plots a figure:
```{r}
plot(cars)
```
Now, I want to plot it as a 10x10 figure. I could use this:
```{r fig.height = 10, fig.width = 10}
plot(cars)
```
and that works fine. But say I want to redefine…

Dan
- 11,370
- 4
- 43
- 68
1
vote
1 answer
RNotebook cannot output due to html_dependency not found
I have had trouble getting R to output any work from the notebook. I have updated all packages and reinstalled R. I try to preview and the error message I receive is "path for html_dependency not found". I believe this problem could be related to…

E. Nicholson
- 105
- 1
- 5
1
vote
1 answer
R notebook inline latex output
I have a simple LaTex code in my R notebook as
$y=\frac{(x-\mu)}{(max-min)}$
When I hover on the code, I see the output and also when I knit to HTML. However, how do I see the rendered output within the .RMD file?
I know this can be done because…

PagMax
- 8,088
- 8
- 25
- 40
1
vote
1 answer
R Notebook HTML Format - add hyperlinks to paged table
I wish to knit an html file from an R Notebook that contains paged tables with hyperlinks.
Hyperlinks can be inserted using knitr::kable, but I can't find a way to generate a paged table with this function.
Paged tables are the default notebook…

Mrnufnuf
- 31
- 5
1
vote
2 answers
R notebook won't knit when data frame has been assigned from with sql chunk
I have an R notebook where I am reading in data from a database using an sql chunk and then assigning it to a data frame. I would then like to use it in R chunks within the R notebook so am using the output.vars option in the sql chunk.
When I run…

Colin
- 13
- 4
1
vote
2 answers
Output of numbers in R notebook
I have a question concerning outputting numbers inline in a R notebook.
I wanted to switch to a more readable code using dplyr and pipes, but now the numbers I would like to compute are no longer shown in line with the text.
So far, I wrote my code…

Me Myself
- 105
- 6
1
vote
7 answers
R Notebook Creation Failed
When I go File-New File-R Notebook, it tells me to install some packages, but then it fails giving me this message:
Notebook Creation Failed:
"One of more packages required for R Notebook creation were not installed"
I'm trying to install those…

user61146
- 11
- 1
- 3
1
vote
1 answer
RStudio notebook does not show data.frames when I compile
I have a temporary windows 7 laptop (32 bit) on which I have R 3.3.2 and RStudio 1.0.44.
I am using RStudio notebook, and it works fine when I execute code in its window. However, as I compile to html (pressing Preview), the data.frames disappear…

Davide Passaretti
- 2,741
- 1
- 21
- 32
1
vote
0 answers
"tibble 1.1 is not available" error for r notebook
Recently I occasionally encounter this error "tibble 1.1 is not available" yet I couldn't install it. any advice?
install.packages("tibble")
package 'tibble' is available as a source package but not as a binary
Warning in install.packages :
…

santoku
- 3,297
- 7
- 48
- 76
0
votes
0 answers
Dput but for r notebooks to reproduce errors
I am trying to borrow examples of my failures to knit in an r notebook and then provide them to students for a class. I typically brute force the solutions. However, sometimes the error messages are uninformative and I am looking for some ways to…

Red Dog
- 3
- 1
0
votes
1 answer
Rmarkdown ll Issue at knitting
i was working on a report but my data is on a private network so at retrieving the data to my rmd file usually takes to long to knit. Looking out on Internet i found that you can actually add cache=TRUE at chunks specification to run the code more…

Miguel Carrillo
- 5
- 3
0
votes
1 answer
Knitting R notebooks with iframe tags instead of embed?
Since last year (at least), Safari has been very unreliable in rendering PDFs plots in R Markdown HTML notebooks. The notebook HTML files are interpreted with an empty gray box where the PDF plot should be. This issue is caused because rmarkdown and…

Ricardo A.
- 156
- 8
0
votes
0 answers
R Notebook : How can I save it on my Desktop, or any other path?
I'm trying to write an R notebook, then save it in html (or pdf) format with the knit function. However, I can't save it, R becomes very slow and freezes, and I keep getting this message (in French since my version is French speaking):
Error…