generic.log | R Documentation |
generic.process
This function is mainly a wrapper for generic.process
, diverting messages, warnings and errors to a more readable log file.
generic.log(..., logFile)
... |
Arguments to be passed to |
logFile |
Single character value, the path and name of the log file where to divert output. |
Either an error
object if one occured, an integer number of warnings which happened during the (otherwise successfull) processing or TRUE
if everything went fine.
Sylvain Mareschal
generic.process
, generic.interface
# Working in temporary directory
output <- sprintf("%s/GEP", tempdir())
logFile <- sprintf("%s.log", output)
# Direct analysis
generic.process(
input = system.file("extdata/fsa_GEP", package="FSAtools"),
design = system.file("extdata/design_GEP.conf", package="FSAtools"),
output = output
)
# Logged analysis (check logFile)
generic.log(
input = system.file("extdata/fsa_GEP", package="FSAtools"),
design = system.file("extdata/design_GEP.conf", package="FSAtools"),
output = output,
logFile = logFile
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.