[問題類型]:
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
經驗諮詢(我想用R 連接某些資料庫,請問大家的經驗)
[軟體熟悉度]:
使用者(已經有用R 做過不少作品)
[問題敘述]:
在IRkernel中無法自行安裝套件
(SO連結:https://goo.gl/VRBrDX)
[程式範例]:
install.packages("RPostgreSQL", lib = .libPaths(),
repo = "https://cloud.r-project.org/")
出現訊息:
Warning message in install.packages("RPostgreSQL", lib = .libPaths(), repo = "https://cloud.r-project.org/"): “installation of package ‘RPostgreSQL’ had non-zero exit status”Updating HTML index of packages in '.Library' Making 'packages.html' ... done
[環境敘述]:
R version 3.4.2 (2017-09-28)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
Matrix products: default
BLAS: /home/ytu/anaconda3/lib/R/lib/libRblas.so
LAPACK: /home/ytu/anaconda3/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.2 R6_2.2.2 magrittr_1.5 IRdisplay_0.4.4
[5] pbdZMQ_0.2-6 tools_3.4.2 crayon_1.3.4 uuid_0.1-2
[9] stringi_1.1.6 IRkernel_0.8.9 jsonlite_1.5 stringr_1.2.0
[13] digest_0.6.12 repr_0.12.0 evaluate_0.10.1
[關鍵字]:
套件
jupyter-notebook
jupyter-irkernel