Description Usage Arguments See Also Examples
Access to the Rshare environment is parameterized by the
port number on which the Rshare server is run. If Rshare
has not been initialized in the current R session, these
functions will just access the local Rshare environment.
Other than the lack of any envir
argument and the
addition of port
and timeout
arguments,
these functions are analogous to their non-Rshare
counterparts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | get.Rshare(x, port = 7777, timeout = 10L, mode = "any",
inherits = FALSE)
assign.Rshare(x, value, port = 7777, inherits = FALSE)
remove.Rshare(..., list = character(), port = 7777)
exists.Rshare(x, port = 7777, mode = "any",
inherits = FALSE)
ls.Rshare(port = 7777, all.names = FALSE, ...)
ls.str.Rshare(port = 7777, all.names = FALSE, ...)
lsf.str.Rshare(port = 7777, all.names = FALSE, ...)
|
port |
the Rshare port number. |
timeout |
number of seconds to wait for a response from the Rshare server. |
x |
a variable name (given as a character string). |
mode |
the mode or type of object sought: see
|
inherits |
should the enclosing frames of the environment be searched? |
value |
a value to be assigned to x. |
... |
see |
list |
a character vector naming objects to be removed. |
all.names |
a logical value. If TRUE, all object names are returned. If FALSE, names which begin with a . are omitted. |
get
, assign
,
remove
, exists
,
ls
, ls.str
,
lsf.str
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# start Rshare server on port 7777 (the default)
startRshare()
# in different R session, start Rshare client, and access shared environment
startRshare()
assign.Rshare("mt",mtcars)
ls.Rshare()
get.Rshare("mt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.