report {svViews}R Documentation

Send a View to the report

Description

Given a SciViews-compatible reporting application (like SciViews R report) is parameterized as the default application to use, this function generates and append a View to its current report.

Usage

    report(x, objname = deparse(substitute(x)), reptype = "html", application = getOption("reporter"), ...)
    reportGraph(device = dev.cur(), application = getOption("reporter"), multiformat = FALSE, dir = file.path(tempdir(), "svGraph"), width = 480, height = 480, pointsize = 12, bg = "transparent", ...)

Arguments

x An object
objname A name for this object (its own name, by default)
reptype The type of report. By default, it is "html" format
device The device where the graph should be appended to the report
application The reporter application
multiformat Do we use multiple formats (PNG + PDF, currently), or not (PNG only, default value)
dir The directory where to place resulting files
width The width of the generated image, in pixels
height The height of the generated image, in pixels
pointsize The pointsize (font size) to use
bg The color of the background (transparent, by default)
... Further argument to use to generate the View or the graph

Details

ReportGraph() prepares graph outputs, so that they are suitable to be incorporated in a report. For an HTML report, it is a PNG image (plus a PDF one, if multiformat = TRUE).

Value

Returns invisibly TRUE for report() and the path to the created PNG file for reportGraph.

Author(s)

Eric Lecoutre & Philippe Grosjean

See Also

view

Examples

    ## Not run: 
        data(iris)
        report(iris)
    
## End(Not run)

[Package svViews version 0.8-2 Index]