Learn R Programming

SciViews (version 0.8-8)

view: View the content of an object in a HTML document

Description

Views are rich-formatted presentations of the content of Robjects. They provide an easy way to inspect them, combining formatted text, tables and graphs.

Usage

view(x, type = "summary", objname = deparse(substitute(x)), ...)

Arguments

x
An R object
type
The type of view to display. use type = "typelist" to get the list of views available for a given object
objname
The name to use in the title of the view. By default, it is the actual name of the object
...
Further arguments (depending on the object and on type

Value

  • The name of a temporary file containing the generated view.

synopsis

view(x, type = "summary", objname = deparse(substitute(x)), ...) view.data.frame(x, type = "summary", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.default(x, type = "summary", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.function(x, type = "print", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.matrix(x, type = "summary", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.princomp(x, type = "print", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.trellis(x, type = "print", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...) view.ts(x, type = "summary", objname = deparse(substitute(x)), file = guiViewsFile(), CSSFile = guiViewsCSS(), command = "", browse = TRUE, ...)

See Also

report, viewHTMLinit

Examples

Run this code
data(iris)
        view(iris)
        iris.pc <- princomp(iris[, 1:4])
        view(iris.pc)
        view(ls)

Run the code above in your browser using DataLab