r - 闪亮的服务器安装 CentOS 8.1 构建
问题描述
我正在尝试使用 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
解决方案
这行得通吗?
sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""
它使用转义引号内的引号\
推荐阅读
- javascript - 多条路由只调用一次中间件
- javascript - 无法读取未定义的属性“y”-React JS
- docker-compose - 在 docker 容器中无法连接到 RabbitMQ 管理 UI
- angular - Chrome 上的 Angular Material Input 所有输入都集中在按 Enter 后
- ruby-on-rails - Rails 安装错误构建 gem 原生扩展
- python - 客户端-服务器:客户端未从服务器接收任何数据
- sqlite - Grafana - 使用自定义 js 函数进行数据转换
- java - 从消息中删除/删除嵌入
- clearml - 如何在 ClearML Web UI 中管理数据集?
- ios - React Native iOS 按需资源