RCloudDevice {rcloud.support}R Documentation

Creates an RCloud graphics devices

Description

RCloudDevice creates a new RCloud graphics device. This is the default device in RCloud and it is implicitly created when plots are started in RCloud. Calling this function explicitly allows the user to change dimensions and properies for plotting.

Usage

RCloudDevice(width, height, dpi = 100, ..., type = "inline")

Arguments

width

initial width in pixels

height

initial height in pixels

dpi

display resolution (in dots per inch)

type

device type that is passed to the user interface (client browser). Currently only the type of "inline" is implemented.

Value

object of the class "RCloudDevice"

Author(s)

Simon Urbanek

See Also

dev.new, dev.set

Examples

Run examples

  RCloudDevice(900, 400)
  plot(rnorm(100), pch=19, col=2)

[Package rcloud.support version 2.3-1 Index]