Nothing
mkScalar <- function(obj) {
switch(typeof(obj),
character=.ScalarCharacter(obj),
logical=.ScalarLogical(obj),
integer=.ScalarInteger(obj),
double=.ScalarNumeric(obj),
stop("no scalar class implemented for type: ", typeof(obj)))
}
setMethod("show", "ScalarObject",
function(object) {
cat(object, "\n")
})
setMethod("show", "ScalarCharacter",
function(object) {
if (is.na(object))
cat(NA, "\n")
else
cat(sprintf('"%s"\n', object))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.