Source many R files
Source many R/Rd files.
sourceR(path,local=FALSE,encode = "UTF-8",print.errors=FALSE) sourceRd(path,print.errors=FALSE)
path |
An full path to the directory where R file are. |
local |
TRUE, FALSE or an environment, determining where the parsed expressions are evaluated. FALSE (the default) corresponds to the user's workspace (the global environment) and TRUE to the environment from which source is called. |
encode |
Character vector. The encoding(s) to be assumed when file is a character string: see file. A possible value is "unknown" when the encoding is guessed: see the "Encodings" section. |
print.errors |
A boolean value (TRUE/FALSE) for printing the errors, if exists, for every file. |
Reads many R files and source them.
Returns the files that had produced errors during source.
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
# for example: path="C:\some_file\R\" where is R files are # system.time( a<-sourceR(path) ) # for example: path="C:\some_file\man\" where is Rd files are # system.time( a<-sourceRd(path) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.