我正在使用情节包在我闪亮的应用程序中创建情节但我无法下载这些情节。因为这是一个闪亮的应用程序,我希望它是交互式的,而不是硬编码。
代码:
library(plotly)
dat <- data.frame(x = rnorm(1:100), y = rnorm(1:100))
p <- ggplot(dat, aes(x = x, y = y)) + geom_point()
plotly_build(p)
sessionInfo:
R version 3.3.0 (2016-05-03)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.5 (El Capitan)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] plotly_3.6.0 ggplot2_2.1.0 BiocInstaller_1.23.6
loaded via a namespace (and not attached):
[1] Rcpp_0.12.6 tidyr_0.5.1 assertthat_0.1 digest_0.6.9 grid_3.3.0 plyr_1.8.4 R6_2.1.2 jsonlite_1.0
[9] gtable_0.2.0 magrittr_1.5 scales_0.4.0 httr_1.2.1 viridis_0.3.4 labeling_0.3 tools_3.3.0 htmlwidgets_0.6
[17] munsell_0.4.3 yaml_2.1.13 rsconnect_0.4.3 base64enc_0.1-3 colorspace_1.2-6 htmltools_0.3.5 gridExtra_2.2.1 tibble_1.1
我无法下载情节。当我点击图表右上方工具栏中的相机时,它会出现以下错误:
我在Rstudio Viewer窗格,Safari和Chrome中遇到此问题。我该如何规避这个问题并下载情节?