rthMainFile: ~ Generation of HTML main document ~

Description Usage Arguments Details Value Author References See Also Examples

Description

This function generates an HTML main document designed to include links to some files built by r2hu or r2hb.

Usage

1
r2hMainFile(fileOut = "main.html",text="<OBJECT data='univ.html' type='text/html'></OBJECT>",sweave=FALSE)

Arguments

fileOut

characters; name of the main document.

text

text to be included in the HTML document, between the '<BODY>' and '</BODY>' .

sweave

logical; if TRUE, the main document is designed to be compiled with Sweave.

Details

r2hMainFile generates an HTML master file ready to include links to some files built by r2hu or r2hb.

Value

A HTML file ("main.html" by default).

Author

Christophe Genolini
christophe.genolini@free.fr
PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health
INSERM U669 / Maison de Solenn / Paris
Bernard Desgraupes
bernard.desgraupes@u-paris10.fr
University of Paris Ouest - Nanterre

References

HTML web site http://www.w3.org/TR/html/
Data are available on line: http://christophe.genolini.free.fr/EPO/EPO2007-Fraude.php

See Also

r2hu, r2hb, r2lh-package, examCheating, Sweave

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 # # # # # # # # # # # # # # # # # # #
#   R to HTML, Main file generation   #
 #             Examples              #
  #           r2hMainFile           #
   # # # # # # # # # # # # # # # # #


### Creates a file named "main.html" that includes "univ.html"
if(!file.exists("tmp")){dir.create("tmp")};setwd("tmp")
r2hMainFile()
setwd("../..")

r2lh documentation built on May 29, 2017, 12:11 p.m.