R/onAttach.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  PythonInR::pyExec("import numpy")
  PythonInR::pyOptions("useNumpy", TRUE)
  packageStartupMessage("rlo: Importing numpy and setting the PythonInR option useNumpy to TRUE")
}

Try the rlo package in your browser

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

rlo documentation built on May 1, 2019, 10:22 p.m.