Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 如何在闪亮的应用程序中突出显示活动代码?_Css_R_Shiny_Rstudio - Fatal编程技术网

Css 如何在闪亮的应用程序中突出显示活动代码?

Css 如何在闪亮的应用程序中突出显示活动代码?,css,r,shiny,rstudio,Css,R,Shiny,Rstudio,当代码更改时,是否有方法突出显示闪亮的应用程序编码 例如,“Hello Shining”示例应用程序: library(shiny) runExample("01_hello") 创建包含应用程序代码的应用程序。每次执行操作时都会突出显示此代码(突出显示受影响的代码) 我如何使用我自己的应用程序来实现这一点???也许这会有所帮助: shiny::runApp(display.mode="showcase") 你可以得到更多的信息。请参见展示模式 如果您直接使用shinyApp(),请尝试以

当代码更改时,是否有方法突出显示闪亮的应用程序编码

例如,“Hello Shining”示例应用程序:

library(shiny)
runExample("01_hello")
创建包含应用程序代码的应用程序。每次执行操作时都会突出显示此代码(突出显示受影响的代码)

我如何使用我自己的应用程序来实现这一点???

也许这会有所帮助:

shiny::runApp(display.mode="showcase")
你可以得到更多的信息。请参见展示模式

如果您直接使用
shinyApp()
,请尝试以下操作:

shinyApp(ui, server, options = list(display.mode='showcase'))

你的形象不起作用。请修一下。@Nikos我这边的工作很好,所以我不确定需要修什么。太好了!谢谢