Learn R Programming

TiddlyWikiR (version 1.0.1)

newEmptyWiki: Creates a TiddlyWiki template to start working.

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

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.

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.

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).

See Also

file.copy

Examples

Run this code
## Not run: 
# newEmptyWiki ("myTemplate.html")
# browseURL ("myTemplate.html")
# ## End(Not run)

Run the code above in your browser using DataLab