Description Usage Arguments Examples
These objects and functions provide an R interface to Firepad collaborative documents.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | collaborate(name,
localdoc = file.path(getwd(), paste0(name, ".Rmd")),
buffermode = c("Markdown", "r"),
project = getOption("collaborate")$project,
group = getOption("collaborate")$group,
firepad = getOption("collaborate")$firepad)
## S3 method for class 'collaborativeDoc'
edit(name,
where = c("web", "local"), ...)
load(object, ...)
## Default S3 method:
load(object, ...)
## S3 method for class 'collaborativeDoc'
load(object, ...)
source(...)
## Default S3 method:
source(...)
## S3 method for class 'collaborativeDoc'
source(object, local = FALSE,
...)
knit(object, ...)
## S3 method for class 'collaborativeDoc'
knit(object, ...)
## S3 method for class 'collaborativeDoc'
summary(object, ...)
## S3 method for class 'collaborativeDoc'
print(x, ...)
|
name |
a character string naming the document in the collaborative editor. It's best if this is simple and memorable, so you can communicate it to your collaborators. Spaces are not permitted. |
localdoc |
a character string naming the (path to) a
file on your R-system which will be synchronized to the
collaborative buffer when using |
group |
a character string naming the Firepad group in which the document will be housed. |
project |
a character string naming the project. |
buffermode |
a string, either |
where |
either |
firepad |
a character string specifying the base URL for the firepad server |
object |
an object |
x |
and object |
local |
a logical |
... |
additional arguments |
1 2 3 | options(collaborate = list( firepad="http://www.mosaic-web.org/go", group="mosaic-web", project="CS121") )
myProject <- collaborate(name="example000")
summary(myProject)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.