#' install_python: sets up python environment for awsR
#' @param method method argument for py_install
#' @param conda conda argument for py_install
#' @param envname a conda or python virtual environment name
#' @export install_python
install_python <- function (method = "auto", conda = "auto", envname = 'r_reticulate') {
reticulate::py_install("scipy", method = method, conda = conda, envname = envname)
reticulate::py_install("awscli", method = method, conda = conda, envname = envname)
reticulate::py_install("boto3", method = method, conda = conda, envname = envname)
reticulate::py_install("paramiko", method = method, conda = conda, envname = envname)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.