Description Usage Arguments Details Author(s) See Also Examples
The function replaces one or more tags within a TiddlyWiki template file. It is intended to insert the results of the analysis within already existing tiddlers.
1 2 |
x |
a list |
tag |
a character vector containing the tags to be replaced. |
rep |
a list of the objects that will replace each tag. |
file |
TiddlyWiki template file. |
infile |
template file. |
outfile |
output file if required to be different from the input file. |
verbose |
verbose. |
A list with the tags to be replaced in its 'names' and the replacement objects in its 'elements' is required by the function.
Alternatively a character vector of tags and a list of replacements objects may be provided. When there is just one tag to be replaced 'x' or 'rep' may not be wrapped into the list structure; 'x' would be then a character vector of length one and 'rep' may be any object in R.
By default the TiddlyWiki template "file" will be overwritten. The options "infile" and "outfile" may be used not to overwrite the template.
A recommendation is to use something like
@this_is_my_tag@
as a 'tag' to be replaced. This
character string is generally unique so there Will not be
any problem in overwriting it. Also the @ indicates a
highlight in the TiddlyWiki syntax so you will track your
tags easily in your writing.
David Montaner dmontaner@cipf.es
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.