無法在 WSL Ubuntu 18.04 上安裝 R Shiny Server (Cannot install R Shiny Server on WSL Ubuntu 18.04)


問題描述

無法在 WSL Ubuntu 18.04 上安裝 R Shiny Server (Cannot install R Shiny Server on WSL Ubuntu 18.04)

我無法在我的 WSL Ubuntu 18.04 LTS 上安裝 Shiny 服務器,運行此行後出現錯誤:wget https://download3.rstudio.org/ubuntu‑14.04/x86_64/shiny‑server‑1.5.9.923‑amd64.deb sudo gdebi shiny‑server‑1.5.9.923‑amd64.deb

這是我不斷收到的錯誤:

/var/lib/dpkg/info/shiny‑server.postinst: 97: /var/lib/dpkg/info/shiny‑server.postinst:initctl:未找到 /var/lib/dpkg/info/shiny‑server.postinst:99:/var/lib/dpkg/info/shiny‑server.postinst : initctl: not found

請幫忙。

嘗試將 /var/lib/dpkg/info/shiny‑server.postinst 中的 initctl 更改為 systemctl 但沒有幫助

p>

我按照 R 閃亮服務器頁面上的說明進行操作


參考解法

方法 1:

This is working as of July,2020. No need to build from source.

wget https://download3.rstudio.org/ubuntu‑14.04/x86_64/shiny‑server‑1.5.14.948‑amd64.deb
sudo gdebi shiny‑server‑1.5.14.948‑amd64.deb

(by Keithned)

參考文件

  1. Cannot install R Shiny Server on WSL Ubuntu 18.04 (CC BY‑SA 2.5/3.0/4.0)

#R #shiny-server #windows-subsystem-for-linux #ubuntu #shiny






相關問題

如何將均值、標準差等函數應用於整個矩陣 (How to apply mean, sd etc. function to a whole matrix)

Tạo các thùng của mỗi hàng trong bảng và vẽ hình thanh ngăn xếp trong R (Make bins of each table row and draw stack bar figure in R)

Reading not quite correct .csv file in R (Reading not quite correct .csv file in R)

包'treemap'中的線條粗細 (Thickness of lines in Package ‘treemap’)

是否需要帶有 awk 的預處理文件,或者可以直接在 R 中完成? (Is preprocessing file with awk needed or it can be done directly in R?)

rpivotTable 選擇元素下拉菜單 (rpivotTable select elements drop down menu)

優化性能 - Shiny 中的大文件輸入 (Optimizing Performance - Large File Input in Shiny)

數值取決於所應用的應用系列,R (Numeric values depending of apply family applied, R)

如何記錄全年的值? (How to note the values across year?)

R中的線性搜索 (Linear search in R)

在 dplyr/purrr 工作流程中動態連接多個數據集 (Dynamically join multiple datasets in a dplyr/purrr workflow)

如何將行值更改為列名 (R) (How change Row values to Column names (R))







留言討論