Description Usage Arguments Details Value Note Author(s) See Also Examples
Saves parameters in a text file,
prioritizing those listed in toplines
.
1 | parameterDump(dir, param, toplines = NULL)
|
dir |
Directory to save the parameters to.
The file is named |
param |
A list with RaMWAS parameters. Or any list in general. |
toplines |
Names of the elements in |
This function is used internally by multiple RaMWAS functions to record parameters used to run the analysis.
The function creates a file and returns nothing.
This function is not intended to be run by the user.
Andrey A Shabalin andrey.shabalin@gmail.com
See vignettes: browseVignettes("ramwas")
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | param = ramwasParameters(
number = 123123,
integer = 312L,
textline = "Hi there",
characterVector = c("Hi","Hi again","Bye"),
dataframe = data.frame(a = 1:12, b = 12:1)
)
thedir = tempdir()
parameterDump(thedir, param, c("integer","characterVector"))
cat( readLines( paste0(thedir,"/UsedSettings.txt") ), sep = "\n")
file.remove( paste0(thedir,"/UsedSettings.txt") )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.