Ubuntu環境R程式包安裝返回非零值的一個解決辦法
做迴歸分析的作業,需要用到car程式包,然而在Rstudio中一直沒能成功安裝,最後在StackOverFlow中看到一種解決方法,成功解決問題。
原問題是安裝ncdf4程式包,將它換成相應的程式包即可。如果有其他解決方法,歡迎補充。
'ncdf4' require system libraries be installed, so you have a couple of options:
1. Install the pre-built 'ncdf4' package from the repositories:
sudo apt-get install r-cran-ncdf4
This will automatically pull in the required system dependencies.
2. Or, you can install the system dependencies explicitly:
sudo apt-get install netcdf-bin
Then, install the R package:
install.packages('ncdf4')
相關推薦
Ubuntu環境R程式包安裝返回非零值的一個解決辦法
做迴歸分析的作業,需要用到car程式包,然而在Rstudio中一直沒能成功安裝,最後在StackOverFlow中看到一種解決方法,成功解決問題。 原問題是安裝ncdf4程式包,將它換成相應的程式包即可。如果有其他解決方法,歡迎補充。 'ncdf4' require sy
ubuntu Debian deepin 顯卡安裝和黑屏 卡死解決辦法
linu 分鐘 選擇 nvi grep upd 再看 ora 提升性能 硬件型號 命令查詢,終端執行: lspci |grep -i ‘VGA‘ #查看默認集成顯卡型號 lspci |grep -i nvidia #查看NVIDIA類型的顯卡型號 sudo dme
錯誤:程式包javax.servlet不存在;錯誤:程式包javax.servlet.http不存在問題解決辦法
在編譯servlet程式的時候提示javax.servlet和javax.servlet.http不存在,原因是CLASSPATH路徑找不到servlet相關的包,所以會提示錯誤。 到javax目錄下看是否有servlet相關包 發現並沒有,說明jdk1.7本身是不自帶
教程:Ubuntu無法進入登入介面或登入介面異常的一個解決辦法
首先,在GRUB啟動時選擇Ubuntu高階》recovery》root。 在root下鍵入這兩個程式碼: 1 2 3 sudo chown 你的使用者名稱:你的使用者名稱 .Xauthority ls .Xauthority -l 然後reboot》正
ubuntu 環境下pycharm的 安裝與激活教程
目錄 ins abs 下載 1.3 安裝程序 sm3 權限 wid 1. 基本安裝: 1.1 打開Ubuntu的應用市場,並在搜索欄搜索pycharm,結果如下圖所示 1.2 選擇pro版本進行安裝,結果如下圖所示: 1.3打開安裝後的pycharm,如果出
在Ubuntu環境下的openvpn安裝過程
在Ubuntu環境下的openvpn安裝過程 1. 安裝 設定認證機構,產生證書 服務端配置 客戶端配置 1. 安裝 Ubuntu中安裝OpenVPN極其簡單,按照Ubuntu上OpenVPN的操作說明應該是沒有什麼問題。最好都以
無法安裝程式包“Newtonsoft.Json 6.0.4”。你正在嘗試將此程式包安裝到目標為“.NETFramework,Version=v4.7”的專案中,但該程式包不包含任何與該框架相容的程式集
今天在ConsoleApp裡面安裝SignalR.SelfHost,但是預設的SelfHost安裝的JSON檔案是6.0.4不相容.NET框架,只要手動安裝上JSON,再安裝SignalR.SelfHost的時候,就不會安裝預設的JSON了,也就不會出錯了。 Install-Packa
ubuntu環境下docker的安裝與操作
只要按照本文的步驟一步步的走,就能正確的安裝docker並使用,ubuntu需要聯網 1. 在Ubuntu中安裝Docker 更新ubuntu的apt源索引 sudo apt-get update 安裝包允許apt通過HTTPS使用倉庫,(將下面的命令完全複製,然後貼上到
Ubuntu環境下基於Anaconda安裝Tensorflow
安裝環境:Ubuntu 16.04LTS 1、安裝Anaconda 1.1 從清華大學開源軟體網站上選擇合適的原始檔並下載, 本人選擇的是Anaconda3-5.0.1-Linux-x86_64.sh,此為python3.6版本。由於python3為發展
RStudio建立R程式包
RStudio已經為我們準備了一個有介面的環境,方便我們製作R包。 建立一個工程sayHello編輯DESCRIPTION建立sayHello.R的指令碼編輯sayHello.Rd的文件 1). 建立一個工程sayHello 2). 編輯rstudio/sayHe
【深度學習】Ubuntu環境下Tensorflow的安裝以及與Pycharm的相互配置
****************************************************************************************************
ubuntu環境下python3.5安裝pyltp
安裝完成pip之後,可以使用pip安裝pyltp sudo pip3 install pyltp 命令報錯 error: Setup script exited with error: command 'x86_64-linux-gnu-gcc'
Ubuntu環境下Mysql自動安裝指令碼
1.需自備mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz或者其他版本的原始碼包 2.需修改指令碼頭部SOURCE_GZ_FILE變數路徑 3.指令碼程式碼: #
Ubuntu環境下MySql解除安裝與配置問題
今天忙活了一整天的MySql的配置,原因主要是對MySql的配置檔案中的 datadir 及 socket的選項修改不當造成的。出現故障時,並沒有想到要記錄下故障資訊,因此,在這裡大致還原下。 首先,我作死地更改my.cnf(實際上由於版本問題,配置檔案其實在/etc/my
ubuntu環境下nginx伺服器安裝php的mcrypt
找了好多部落格只是介紹了下面的 sudo apt-get install libmcrypt4 php5-mcrypt 這句命令 但是發現php -m命令下還是沒有 mcrypt擴充套件 如是找到php的安裝目錄/etc/php5/cli/conf.d/ 和 /etc/
折騰R程式包-devtools
今天因為某些原因打算安裝R程式包devtools,我用的是XP平臺,R3.2.1。開始時,download了devtools的包壓縮檔案,然後在R程式menu: packages -> installpackages from local zip files中安裝,然
Whl方式CUDA8.0+cuDNN6.0.21+python3.4的ubuntu環境下tensorflow的安裝
原始碼安裝tensorflow請參照http://blog.csdn.net/u013591306/article/details/79031001 下面主要介紹Whl方式安裝tensorflow的方法 1、下載 GPU版本的tensorflow 下載地址 https://
KDE環境中文語言包安裝問題
KDE環境 neno / kubuntu等deb系的未發現不適用的問題 下面的指令安裝了簡體與繁體兩種語言體系 sudo
ContOS自定義軟件包安裝(中文)【零】
minimal 安裝 info style 過程 安裝包 部分 p s 分析 選擇是“Minimal”安裝 ,最小化。 越簡單,越不容易出錯。 1、聽一些老鳥分析,選擇安裝包時應該按最小化原則,即不需要的或者不確定是否需要的就不安裝,這樣可以最大程度上確保系統安全。
Ubuntu打deb包,出現dpkg-shlibdeps: error問題解決辦法
今天打一個依賴於protobuf的deb包,出現了以下錯誤: dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libprotobuf.so.15 由於protobuf是手動裝的,不