R/python-class.R

PythonClass <- R6::R6Class(
  classname = "PythonClass",
  public = list(
    set_python_class = function(py_class) {
      private$python_class = py_class
    },
    get_python_class = function() {
      private$python_class
    }
  ),
  private = list(
    python_class = NULL
  )
)

Try the rgeomstats package in your browser

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

rgeomstats documentation built on Nov. 4, 2022, 5:09 p.m.