inst/apps/cdf_ace/server.R

server = function(input, output, session) {

      output$cdfoutput <- renderPlot({
      par(oma = c(0,0,0,0), mar = c(5,4,2,2))
      input$cdfeval
      return(isolate(eval(parse(text=input$cdface))))
})  
}

Try the teachingApps package in your browser

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

teachingApps documentation built on July 1, 2020, 5:58 p.m.