R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname)
{
  if(.Platform$OS.type == "windows"){
     temp <- Sys.getenv("PATH")
     Sys.setenv(PATH = paste(base::normalizePath(file.path(libname, pkgname, "libs")),
                               file.path(Sys.getenv("R_HOME"), "modules", fsep="\\"), temp, sep=";"))
     on.exit(Sys.setenv(PATH = temp))
  }
  library.dynam("rsbml", pkgname, libname)
}

Try the rsbml package in your browser

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

rsbml documentation built on Nov. 8, 2020, 8:09 p.m.