R shiny AngularJS working

前端 未结 1 844
眼角桃花
眼角桃花 2021-02-01 11:30

I\'m creating a dashboard with R and D3 running with library(shiny).

This works wonderfully well and now i want turn the D3 code into modular objects which will save me

1条回答
  •  迷失自我
    2021-02-01 11:49

    OK this works:

    ui.r

    library(shiny)
    shinyUI(bootstrapPage(includeHTML("static.html")))
    

    server.r

    library(shiny)
    shinyServer(function(input, output) {})
    

    static.html

    
    
      
        
          
        
      
        
    
          

    Input something in the input box:

    Name:

    Name:

    You wrote: {{name2}}

    Et voila, Up and Running ! :^)

    0 讨论(0)
提交回复
热议问题