ghtml: widget to render HTML text pages

Description Usage Arguments Value Examples

View source: R/ghtml.R

Description

widget to render HTML text pages

Usage

1
2
ghtml(x, container = NULL, ..., width = NULL, height = NULL,
  ext.args = NULL)

Arguments

x

an HTML string or a URL.

container

parent container

...

passed to add method of parent container

width

width of widge in pixels

height

height of widget in pixels

ext.args

extra arguments to pass to constructor

Value

an ExtWidget object

Examples

1
2
3
w <- gwindow()
g <- ggroup(cont=w, horizontal=FALSE)
h <- ghtml("<b>this is bold</b>", cont=g)

jverzani/gWidgetsWWW2 documentation built on Feb. 9, 2020, 5:18 p.m.