R/python.exec.R

#' Execute Python code.
#'
#' @param code Python code string.
#' @examples
#' python.exec("a = 1 + 2")
#' @export
python.exec <- function(code) {
  invisible(.python.exec(code))
}
nonsleepr/PyR documentation built on May 23, 2019, 9:32 p.m.