Nothing
copySubstitute <- Biobase::copySubstitute
typeInfo(copySubstitute) <-
IndependentTypeSpecification(
src = c("character", "connection"),
dest = expression(is(dest, class(src))),
symbolValues = "list" ,
symbolDelimiter = expression(is.character(symbolDelimiter) &&
length(symbolDelimiter) == 1 &&
all(nchar(symbolDelimiter) == 1)),
allowUnresolvedSymbols = "logical" ,
recursive = "logical" ,
removeExtension = "character",
returnType = "character")
infile = tempfile()
outfile = tempfile()
writeLines(text=c("We will perform in @WHAT@:",
"So, thanks to @WHOM@ at once and to each one,",
"Whom we invite to see us crown'd at @WHERE@."),
con = infile)
## create the symbol table
z = list(WHAT="measure, time and place", WHOM="all", WHERE="Scone")
## run copySubstitute
copySubstitute(infile, outfile, z)
## should be caught, but is not
copySubstitute(123, outfile, z)
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.