R/httpget_session_console.R

Defines functions httpget_session_console

httpget_session_console <- function(filepath, requri){
  
  #load data
  myeval <- readRDS(sessionfile <- file.path(filepath, ".REval"));
  mymsg <- extract(myeval, "console");
  
  #render
  reqformat <- requri[1];
  httpget_object(mymsg, reqformat, "console", "text");
}
jeroen/opencpu documentation built on Aug. 20, 2018, 9:06 a.m.