Created
June 29, 2019 17:14
-
-
Save liangyy/af52c29f0083a5db86b26ff75eab513a to your computer and use it in GitHub Desktop.
source R scripts inside a folder
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
sapply(list.files('path-to-folder', '*.R', full.names = T), source) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment