rDevices: Local Graphic Devices

Description Usage Arguments Details See Also Examples

Description

Functions for controlling graphic device locally when the client of remote R is on. All these functions are evaluated in local R from within the remote R prompt.

dev.curc() locally evals grDevices::dev.cur().

dev.listc() locally evals grDevices::dev.list().

dev.nextc() locally evals grDevices::dev.next().

dev.prevc() locally evals grDevices::dev.prev().

dev.offc() locally evals grDevices::dev.off().

dev.setc() locally evals grDevices::dev.set().

dev.newc() locally eval grDevices::dev.new().

dev.sizec() locally evals grDevices::dev.size().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

Arguments

which

An integer specifying a device number as in grDevices::dev.off()

...

arguments to be passed to the device selected as in grDevices::dev.new()

noRstudioGD

as in grDevices::dev.new()

units

as in grDevices::dev.size()

Details

Local Graphic Device Controlling Functions

See Also

rpng()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
### Prompts are listed to clarify when something is eval'd locally vs
### remotely
> library(remoter, quietly = TRUE)
> client()

remoter> rpng.new(plot(1:5))
remoter> dev.newc(width = 6, height = 4)
remoter> a <- function() plot(iris$Sepal.Length, iris$Petal.Length)
remoter> rpng.new(a, width = 6 * 72, height = 4 * 72)

remoter> dev.curc()
remoter> dev.listc()
remoter> dev.offc()

remoter> q()
>

## End(Not run)

remoter documentation built on May 2, 2019, 6:12 a.m.