R/iadd.R

Defines functions iadd

Documented in iadd

#' iadd from operator Python module
#'
#' \url{https://docs.python.org/3/library/operator.html#in-place-operators}
#'
#' @param a a
#' @param b b
#'
#' @return A Python object.
#'
#' @examples
#' \dontrun{
#' a <- "hello"
#' iadd(a = a, b = " world")
#' }
#'
#' @export
iadd <- function(a, b) {
  op <- reticulate::import("operator")
  op$iadd(a, b)
}

Try the xlcharts package in your browser

Any scripts or data that you put into this service are public.

xlcharts documentation built on May 29, 2024, 7:58 a.m.