[问题类型]:
程式咨询(我想用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