Last active
March 15, 2021 20:49
-
-
Save jashapiro/20ad401c9834638e4dee699e44ab7167 to your computer and use it in GitHub Desktop.
Test rmarkdown::render()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Test" | |
output: html_notebook | |
--- | |
Make some vectors | |
```{r} | |
abc <- c("a", "b", "c") | |
nums <- 1:3 | |
``` | |
Vectors of strings print twice when using `rmarkdown::render()` on this document (but as expected in RStudio) | |
```{r} | |
abc | |
``` | |
This prints the same way by either method. | |
```{r} | |
print(abc) | |
``` | |
Numbers print as expected. | |
```{r} | |
nums | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment