【问题标题】:Shiny server Install CentOS 8.1 build闪亮的服务器安装 CentOS 8.1 构建
【发布时间】:2021-06-16 12:22:00
【问题描述】:

我正在尝试使用 CentOS 8 重新构建 Shiny 服务器。我一直在使用 Shiny 服务器下载站点上的说明。 我已经成功安装了 Shiny R 软件包。使用网站上的代码

sudo su -
-c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')"">
I am getting the following error/response: <[root@CP-Shiny]# sudo su - \ -c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')""
su: user -c does not exist

【问题讨论】:

    标签: r shiny centos8


    【解决方案1】:

    这行得通吗?

    sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""
    

    它使用\转义引号内的引号

    【讨论】:

    • 非常感谢。我使用了上面的命令,现在我得到以下响应:bash: R: command not found
    • 这可能意味着 R 没有安装
    猜你喜欢
    • 2018-04-21
    • 2016-12-09
    • 2016-07-28
    • 2021-04-24
    • 2018-01-23
    • 2017-01-01
    • 1970-01-01
    • 2016-05-08
    • 2021-11-07
    相关资源
    最近更新 更多