Nothing
setMethod(easyEditor, c("character"),
function(outputDir)
{
if(!is.null(outputDir[1])){
dir.create(outputDir, showWarnings = FALSE, recursive = TRUE)
dir.create(paste(outputDir,"/D3",sep=""), showWarnings = FALSE,
recursive = TRUE)
htmlFile <- system.file("extdata", "easyEditor.html", package="cisPath")
htmlFile_out <- paste(outputDir,"/","easyEditor.html",sep="")
file.copy(htmlFile, htmlFile_out, overwrite = TRUE, copy.mode = TRUE)
#############################################################
jsFile <- system.file("extdata", "D3", package="cisPath")
js_out <- paste(outputDir,sep="")
file.copy(jsFile, js_out, overwrite = TRUE, recursive = TRUE, copy.mode = TRUE)
##############################################################
}else{
htmlFile_out <- htmlFile
}
if(interactive()){
browseURL(htmlFile_out)
}
cat("Please open the output HTML file using a browser!\n");
htmlFile_out
})
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.