Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumping against C stack limit? #15

Closed
garrettgman opened this issue Feb 20, 2017 · 1 comment · Fixed by rstudio/rmarkdown#972
Closed

Bumping against C stack limit? #15

garrettgman opened this issue Feb 20, 2017 · 1 comment · Fixed by rstudio/rmarkdown#972

Comments

@garrettgman
Copy link
Member

I get this error:

Output created: 03-data-manip-basics.html
Error: C stack usage  8678916 is too close to the limit
Execution halted

when I try to run the tutorial below

---
title: "Data Manipulation Basics"
output: tutor::tutorial
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(tidyverse)
library(nycflights13)
```

what's going on?

```{r}
flights
```

I'm not sure what is happening, but I can avoid the error it in two ways. If I do either of these things, the tutorial runs without error:

  1. (sensibly) show only the head of flights (but notice that flights is a tibble, so it displays concisely anyhow)

     ---
     title: "Data Manipulation Basics"
     output: tutor::tutorial
     runtime: shiny_prerendered
     ---
     
     ```{r setup, include=FALSE}
     library(tidyverse)
     library(nycflights13)
     ```
     
     what's going on?
    
     ```{r}
     head(flights)
     ```
    
  2. Remove the ' in the line before the last code chunk:

     ---
     title: "Data Manipulation Basics"
     output: tutor::tutorial
     runtime: shiny_prerendered
     ---
     
     ```{r setup, include=FALSE}
     library(tidyverse)
     library(nycflights13)
     ```
    
     whats going on?
    
     ```{r}
     flights
     ```
    
@jjallaire
Copy link
Member

Thanks for the easy repro case. Fixed within rmarkdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants