【问题标题】:Issues installing Plotly Dash for R为 R 安装 Plotly Dash 的问题
【发布时间】:2020-10-21 14:52:30
【问题描述】:

我正在尝试按照 plotly 网站https://dashr.plot.ly/installation 上的描述为 R 安装新发布的 Plotly Dash 包,即运行

 library(devtools) # devtools: Tools to Make Developing R Packages Easier
 # The following statement will also install dashCoreComponents,     
 # dashHtmlComponents, and dashTable
 install_github('plotly/dashR') # The core dash backend

这是它返回的内容,“未知包”非常感谢任何帮助

Error: Failed to install 'unknown package' from GitHub:
HTTP error 403.
API rate limit exceeded for 86.134.113.102. (But here's the good news: 
Authenticated requests get a higher rate limit. Check out the 
documentation for more details.)

【问题讨论】:

    标签: r plotly plotly-dash plotly-dashr


    【解决方案1】:

    刚刚安装了包重现错误,可惜无法重现。但是,“error 403超过 API 速率限制 ...”可以将您的 github 授权令牌添加到您的 .Rprofile 中,这就是“但这是个好消息:”括号内的消息试图通知您。如果您还没有,请查看实际项目github 站点Dash for R。这也可以为您提供解决问题的输入。

    【讨论】:

    • 澄清一下,您是否按照上面 Plotly 的说明正确安装了它?我只安装了 CRAN 的软件包,但会对此进行调查。谢谢。
    • @wit 是的,确实。
    • 以防万一您在此过程中遇到is not writable 错误,请确保将软件包安装在您具有写入权限的位置(推荐)或以管理员用户身份运行RRstudio(不推荐)。
    • 原来我只是没有安装一些 dash 依赖项,READ.ME 指定了那些install.packages(c("fiery", "routr", "reqres", "htmltools", "base64enc", "plotly", "mime", "crayon", "devtools")),它与所需的包配合得很好。
    猜你喜欢
    • 2021-03-03
    • 1970-01-01
    • 1970-01-01
    • 2021-09-01
    • 2023-02-07
    • 2017-12-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多