sail
which behaves
like fail
, but is indented for loading and saving
R source code files.
sail(path = getwd(), extension = "R", all.files = FALSE, use.cache = FALSE, simplify = TRUE, suppressMessages = FALSE)
character(1)
]
Path to work in, will be created if it does not exists.character(1)
]
File extension to work with.
Default is R.logical(1)
]
Also include hidden files, i.e. files whose name start with a dot (.).
Default is FALSE
.logical(1)
]
Use a memory cache per global default.
Global option which can locally be overwritten in most functions.
Default is FALSE
character(1)
]
If only one object is defined in a sourced R file,
should the return value be simplified? If set to TRUE
,
instead of a list containing one element the object itself will be returned.logical(1)
]
Wrap the sys.source
command into suppressMessages
and link[base]{suppressPackageStartupMessages}
?
Default is FALSE
, i.e. you will see regular output of sourced scripts.sail
. See the documentation of fail
for details.