Description Usage Arguments Details Note Author(s) Examples
Rerecord the tape dropping certain objects.
1 2 | rtapeFilter(FUN, fNamesIn, fNameOut=fNamesIn, moreArgs,
fileFormatOut=guessFileFormat(fNameOut))
|
FUN |
Callback function which gets the current object and returns a boolean value that directs |
fNamesIn |
Name of the tape file to read; if this argument is a vector of several names, function behaves as reading a single tape made of all those tapes joined in a given order. |
fNameOut |
Name of the tape to which store the output of filtering; if this file is one of the input files, this file is overwritten with the output; otherwise the output is appended to this tape. This must be a one-element vector. |
moreArgs |
Additional arguments to |
fileFormatOut |
File format; should be left default. See |
This function reads the objects from one tape, executes a callback function on them and leaves/appends to the other tape only those for which callback returned TRUE
.
Overwriting is NOT realised in place, rather by a creation of a temporary file and then using it to overwrite the filtered tape.
Miron B. Kursa M.Kursa@icm.edu.pl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.