Creates a TiddlyWiki template to start working.

Share:

Description

An empty TiddlyWiki file is created. It is intended to be used as a template where you will "write" your report and where you will automatically insert chunks of information taken from your R session results.

Usage

1
  newEmptyWiki(file, overwrite = FALSE, TiddlySaver = TRUE)

Arguments

file

the name of the output file.

overwrite

logical. If TRUE the destination file will be overwritten if it exists.

TiddlySaver

logical. If TRUE the "saver" file will be copied to the same directory as the TiddlyWiki file.

Details

The file is copied form the examples folder in the TiddlyWikiR library. It may not be the latest version of TiddlyWiki so you may want to visit http://tiddlywiki.com to get the newest one.

The TiddlySaver.jar file is also copied (unless indicated). This file is needed by some browsers to be able to save changes in TiddlyWiki (see http://tiddlywiki.com/#TiddlySaver).

Some useful plugins are installed within this local version (see http://tiddlywiki.com/#Plugins).

Value

The function tries to create an empty TiddlyWiki template file. A value of TRUE or FALSE is returned if the file could be created or not.

Author(s)

David Montaner dmontaner@cipf.es

See Also

file.copy

Examples

1
2
3
4
5
## Not run: 
newEmptyWiki ("myTemplate.html")
browseURL ("myTemplate.html")

## End(Not run)