Nothing
# A. Download packages at the R console: zip, tar.gz, pdf
# Then copy the skeleton format of an existing package.
library(erer)
download.lib(pkgs = c("apt", "erer"), destdir = "C:/aErer",
f.zip = FALSE, f.pdf = TRUE)
# B. Create a package skeleton within the R console
testFun <- function(y) {
w <- y + 10
result <- list(y = y, w = w)
class(result) <- "testfun"
return(result)
}
print.testfun <- function(x, ...) {print(x$w)}
testDa <- data.frame(name = letters[1:3], grade = c(90, 85, 97))
package.skeleton(name = "testMypk", path = "C:/aErer",
list = c("testFun", "print.testfun", "testDa"))
prompt(object = testFun)
promptData(object = testDa)
# C. Create a package skeleton on a local drive manually
# This can be done with normal operations on folders.
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.