2017-10-06 13 views

回答

2

有加载微调,你可以在你的ui.R使用

# loading the library 
library(shinycssloaders) 
withSpinner() 

# For example, if you have the plot for which you would like to show loading spinner before it's gets drawn while making some data manipulation 
withSpinner(plotOutput("my_plot")) 

你可以找到https://cran.r-project.org/web/packages/shinycssloaders/README.html

+0

这是一个非常棒的答案!没想到这很容易。感谢兄弟@Santosh ... –

+0

亲爱的@Santosh,你能否告诉我是否可以嵌入进度条,而不是使用插入符号包训练ML模型时加载GIF? –

+0

请发布一个关于它的新问题,我会回答它。 – Santosh

1

您可以制作一个进度条。例子在这里:

https://shiny.rstudio.com/articles/progress.html

+0

亲爱的弟弟更多的相关信息,我有看到这个以及来自Shiny的其他文章,但是a)他们非常混乱,b)他们只给出了DataTables和其他一些对我使用模型训练功能没有多大帮助的例子... –

相关问题