Description Usage Arguments Details See Also Examples
Saves and loads TRAMPknowns
and
TRAMPsamples
objects as a series of “csv” (comma
separated value) files for external editing.
If you do not want to edit your data, then saving with
save
is preferable; it is faster, creates smaller files,
and will save any additional components in the objects (see Examples).
1 2 3 4 5 | read.TRAMPknowns(file.pat, auto.save=TRUE, overwrite=FALSE)
write.TRAMPknowns(x, file.pat=x$file.pat, warn=TRUE)
read.TRAMPsamples(file.pat)
write.TRAMPsamples(x, file.pat)
|
x |
A |
file.pat |
Pattern, with the filename prefix: “info” and
“data” objects will be read/written as
|
auto.save |
Logical: Should
where |
overwrite |
Should previous backup files be overwritten when creating new backups? |
warn |
Should the function warn when no filename is given?
(Because this function is called automatically when adding new
knowns, and because |
file.pat
may contain a path. It is best to use forward slashes
as directory separators (path/to/file
), but on Windows (only),
double backslashes will also work (path\\to\\file
).
Paths may be either relative (e.g. path/to/file
), or absolute
(e.g. /path/to/file
, or x:/path/to/file
on Windows).
load.abi
, for semi-automatic loading of ABI output
files.
save
and load
, for saving and loading of
arbitrary R objects.
1 2 3 4 5 6 7 8 | ## Not run:
# Preferred way of saving/loading objects, if editing is not required:
save(demo.knowns, file="my_knowns.Rdata")
# (possibly in a different session, but _after_ loading TRAMP)
load("my_knowns.Rdata") # -> creates 'demo.knowns' in global environment
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.