load | R Documentation |
This function allows you to load encrypted R objects. Loaded R objects are attached to the environment.
load(file, envir = parent.frame(), password = NULL)
file |
the path to the file. |
envir |
the environment to attach to. |
password |
the password to use, if NULL, the function asks for a password. |
Uses AES 256-bit encryption (in CBC mode) with a SHA-256 hashed password.
Asking for a password relies on being in interactive() mode (RStudio, RGui). Outside interactive() mode (rmarkdown, knitr), the package "getPass" is required.
load("mydata.Rdata")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.