Skip to content

Commit

Permalink
add output/ directory to writes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmanke committed Apr 8, 2024
1 parent 65f3f1a commit cab4092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qmd/03_GettingData.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ write.csv(iris, gzfile("output/iris.csv.gz"))
- Save only the subset of flowers where Species="setosa" to a file setosa.tsv

```{r, eval=FALSE, echo=FALSE}
write.csv(iris[iris$Species=="setosa",], file="setosa.csv", row.names=FALSE, quote=FALSE)
write.csv(iris[iris$Species=="setosa",], file="output/setosa.csv", row.names=FALSE, quote=FALSE)
```


Expand Down
2 changes: 1 addition & 1 deletion qmd/07_DataImport.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Finally, we could need to save our data as a new file for later use or sharing,
#| echo: true
#| eval: false
write_csv(rna_wide_noNAs, file = "rna_wide.csv")
write_csv(rna_wide_noNAs, file = "output/rna_wide.csv")
```

Expand Down

0 comments on commit cab4092

Please sign in to comment.