Last active
August 29, 2015 14:09
-
-
Save air-drummer/8f28303d265d94dd86fa to your computer and use it in GitHub Desktop.
Go up one folder to save output (especially, large data)
This file contains hidden or 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
up_one_folder_because_of_git <- dirname(getwd()) | |
data_folder <- file.path(up_one_folder_because_of_git, "data") | |
dir.create(data_folder, showWarnings = FALSE) | |
write.table(BIG_TABLE, | |
file = file.path(data_folder, | |
paste0(BIG_TABLE_NAME, ".csv")), | |
sep = ",", row.names = F) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment