为什么 R Shiny 应用程序 运行 会在 R Studio 中无限期使用?
Why would R Shiny app run indefinitely in R Studio?
我想学习如何在 R 中构建 Shiny Apps,所以我开始 this beginner-level tutorial. However, when I run the app on my desktop (Windows 10 x64, 16GB RAM, 500 GB SSD, i5-3470 CPU, Dual Display) in R Studio 1.3.1093
) using R 4.0.3
, it loads indefinitely with no error output. I tried running even the basic built-in examples (which you could find here) and they also failed to load. The exact same scripts and examples run on my laptop (Windows 10 x64, 8GB RAM, 250 GB SSD; R & R Studio specs the same) without issue. I've reinstalled the shiny package, reinstalled R and R Studio, and changed whether the app runs internally or externally with no success. I did find this post 似乎遇到了同样的问题,但没有解决方案。
我知道继续下去没什么大不了的,但我不知道接下来应该检查什么。有什么建议吗?
我由此得知 mostly unrelated post 在路径 C:/Users/.../Documents\R\win-library.0/ 中有一个名为 00LOCK[=14 的文件=] 这给 R 下载和更新新包带来了麻烦。我不确定它是如何到达那里的,也不知道为什么 R 没有告诉我更新包时出现问题,但闪亮的应用程序现在似乎运行得非常好。
我想学习如何在 R 中构建 Shiny Apps,所以我开始 this beginner-level tutorial. However, when I run the app on my desktop (Windows 10 x64, 16GB RAM, 500 GB SSD, i5-3470 CPU, Dual Display) in R Studio 1.3.1093
) using R 4.0.3
, it loads indefinitely with no error output. I tried running even the basic built-in examples (which you could find here) and they also failed to load. The exact same scripts and examples run on my laptop (Windows 10 x64, 8GB RAM, 250 GB SSD; R & R Studio specs the same) without issue. I've reinstalled the shiny package, reinstalled R and R Studio, and changed whether the app runs internally or externally with no success. I did find this post 似乎遇到了同样的问题,但没有解决方案。
我知道继续下去没什么大不了的,但我不知道接下来应该检查什么。有什么建议吗?
我由此得知 mostly unrelated post 在路径 C:/Users/.../Documents\R\win-library.0/ 中有一个名为 00LOCK[=14 的文件=] 这给 R 下载和更新新包带来了麻烦。我不确定它是如何到达那里的,也不知道为什么 R 没有告诉我更新包时出现问题,但闪亮的应用程序现在似乎运行得非常好。