R/loadsessioninfo.R

Defines functions loadsessioninfo

loadsessioninfo <- function(filepath){
  
  #load data
  myinfo <- readRDS(filepath);
  
  #load base pkgs
  lapply(as.list(myinfo$basePkgs), require, character.only=TRUE);
  
  #load other pkgs
  lapply(as.list(names(myinfo$otherPkgs)), require, character.only=TRUE);  
}
jeroen/opencpu documentation built on Jan. 14, 2019, 2:10 a.m.