Skip to content

Instantly share code, notes, and snippets.

@Btibert3
Created November 19, 2012 22:36
Show Gist options
  • Select an option

  • Save Btibert3/4114550 to your computer and use it in GitHub Desktop.

Select an option

Save Btibert3/4114550 to your computer and use it in GitHub Desktop.
Eval Issue with R Markdown
This works as expected
```{r}
library(rjson)
# comment
2+2
```
This doesn't print properly
```{r, eval=FALSE}
library(rjson)
# comment
2+2
```
@ramnathv
Copy link

I don't think you need the comma after ```{r . I tested your Rmd file in RStudio and it compiles correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment