- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在网络服务器上部署我的 R shiny 应用程序后,它产生了这样的错误。任何人都可以帮我解决吗?谢谢。
这个错误很奇怪。我可以在 Shiny Web 服务器(http://www.shinyapps.io/)中运行它。但是我不能在我自己的网络服务器上运行它。我注释掉了生成pdf的代码。但错误仍然存在。
su: 忽略 --preserve-environment,它与 --login 互斥。
收听http://127.0.0.1:37436警告:错误:无法打开文件“Rplots.pdf” 48:
执行停止
最佳答案
下面的代码解决了我的问题:
chown -R shiny:shiny /srv/shiny-server
关于r - 警告 : Error in <Anonymous>: cannot open file 'Rplots.pdf' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52187684/
我正在从 ggplot2 迁移到plotly,以便利用它们提供的交互功能。 我确实意识到plotly库有一个ggplotly函数,我可以用它来封装 native ggplot命令,但我想学习如何使用
我有一个使用带有 rCharts 的工具提示的简单示例,但它似乎不起作用: set.seed(1) test <- data.frame(x = rnorm(100), y = rnorm(100))
我正在使用一些 R 代码来生成许多图像作为 png 文件;然而,一个 Rplots.pdf文件不断在工作目录中生成,有没有办法防止这种情况发生? library(Cairo) CairoPNG(fil
此示例展示了如何使用 javascript 向 rPlot 添加工具提示:rPlot tooltip problems此示例展示了如何将点击事件添加到 hPlot (highcharts): http
我正在尝试使用 rApache 在浏览器上生成饼图 我的 R 代码是这样的 library(MASS) school = painters$School schoo
我在两台不同的 Mac OS X 机器上使用 Rstudio 1.1.383 和 R 版本 3.4.2 (2017-09-28)。 每次我启动 Rstudio 或从 Rstudio 中重新启动 R s
在网络服务器上部署我的 R shiny 应用程序后,它产生了这样的错误。任何人都可以帮我解决吗?谢谢。 这个错误很奇怪。我可以在 Shiny Web 服务器(http://www.shinyapps.
我有一个使用 ggsave 保存一些图的 R 脚本。当我从命令行运行脚本时,它不仅会保存我的绘图,还会保存一个空的 Rplots.pdf 文件。如何防止 R 创建这个不必要的文件? 这是一个重现错误的
我是一名优秀的程序员,十分优秀!