HarryZhu-7harryprince 使用 R markdown 指定 runtime: shiny shiny::sliderInput(input = "x", lable = "x: ",min = 0, max = a, value = 0, anitmate = T) shiny::renderPlot({ y = 1/input$x plot(input$x,y) })