genedmhtml {pinktoe}R Documentation

Generate HTML and perl files to enable tree traversal

Description

Called by pinktoe to traverse a tree and generate appropriate perl and HTML files that enable a CGI-enabled web-server to graphically traverse a tree.

Usage

genedmhtml(treeobj, noderow, edmtextfn, edmtittext, cgibindir, htmldir, localdir, stateprintfn, requirelib, commonhtml)

Arguments

treeobj A tree or rpart object to traverse
noderow The row to begin at
edmtextfn A function that can print out explanatory text given a variable name (see web help page and edm.text example.
edmtittext Prints out a title string given a variable name
cgibindir A character string containing the directory where the perl files generated by pinktoe (with the extension .pl) will be stored. (This should be the directory part of the URL of the cgi-bin directory).
htmldir A character string containing the directory where the HTML files generated by pinktoe (with the extension .htm) will be stored. (This should be a pathname understood and able to be found by perl).
localdir A local location to store both the HTML and perl files immediately after they are generated
stateprintfn A user-supplied function that decides what to do when supplied with the yval reached at the leaf of a tree. Some text can be output, or maybe a perl function call.
requirelib A library of perl functions that can be called by, e.g. stateprintfn. The library that this refers to should reside in the cgibin directory. If no function calls are planned then it doesn't matter what argument is supplied.
commonhtml A user-supplied function that prints out some HTML code. This is appended to every HTML web page.

Value

No deliberate return value.

Note

Not intended for general user use

Author(s)

Guy P Nason

References

http://www.stats.bris.ac.uk/~magpn/Research/Pinktoe/Welcome.html

See Also

pinktoe

Examples

#
#Not intended for general user use
#

[Package pinktoe version 2.0 Index]