Rをjupyter notebookで動かす際に以下のようなプログラムをRstadio上で走らせたのですが、どうやらpbdZMQだけインストールができません。どのように対処すればいいのか教えていただければ幸いです。
mac使用、R ver 3.4.4
R
1> install.packages(c('repr', 'IRdisplay', 'crayon', 'pbdZMQ', 'devtools')) 2 3 There is a binary version available but the source version 4 is later: 5 binary source needs_compilation 6pbdZMQ 0.3-2 0.3-3 FALSE 7 8 URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/repr_0.13.tgz' を試しています 9Content type 'application/x-gzip' length 64823 bytes (63 KB) 10================================================== 11downloaded 63 KB 12 13 URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/IRdisplay_0.4.4.tgz' を試しています 14Content type 'application/x-gzip' length 21760 bytes (21 KB) 15================================================== 16downloaded 21 KB 17 18 URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/crayon_1.3.4.tgz' を試しています 19Content type 'application/x-gzip' length 709728 bytes (693 KB) 20================================================== 21downloaded 693 KB 22 23 URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/devtools_1.13.5.tgz' を試しています 24Content type 'application/x-gzip' length 439289 bytes (428 KB) 25================================================== 26downloaded 428 KB 27 28 29The downloaded binary packages are in 30 /var/folders/p6/003prkmx6512r368qtxgxm180000gn/T//RtmpgwzGGk/downloaded_packages 31installing the source package ‘pbdZMQ’ 32 33 URL 'https://cran.rstudio.com/src/contrib/pbdZMQ_0.3-3.tar.gz' を試しています 34Content type 'application/x-gzip' length 1052217 bytes (1.0 MB) 35================================================== 36downloaded 1.0 MB 37 38* installing *source* package ‘pbdZMQ’ ... 39** パッケージ ‘pbdZMQ’ の解凍および MD5 サムの検証に成功しました 40checking for pkg-config... no 41 42****************** Results of pbdZMQ package configure ***************** 43 44>> GET_PKG_CONFIG = no 45>> GET_SYSTEM_ZMQ = no 46>> PKG_CONFIG = 47>> SYSTEM_ZMQ_INCLUDEDIR = 48>> SYSTEM_ZMQ_LIBDIR = 49>> ENABLE_INTERNAL_ZMQ = no 50>> INTERNAL_ZMQ_INCLUDEDIR = ./zmqsrc/include 51>> INTERNAL_ZMQ_LIBDIR = ./ 52>> EXTERNAL_ZMQ_INCLUDE = 53>> EXTERNAL_ZMQ_LDFLAGS = 54>> ZMQ_INCLUDE = -I./zmqsrc/include 55>> ZMQ_LDFLAGS = -L./ -lzmq 56>> EXT_LIBS = $(R_ZMQ) 57>> ZMQ_POLLER = select 58 59************************************************************************ 60 61configure: creating ./config.status 62config.status: creating src/Makevars 63configure: creating ./config.status 64config.status: creating src/Makevars 65config.status: creating src/build_zmq 66configure: creating ./config.status 67config.status: creating src/Makevars 68config.status: creating src/build_zmq 69config.status: creating R/zzz.r 70** libs 71xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 72ERROR: compilation failed for package ‘pbdZMQ’ 73* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/pbdZMQ’ 74* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/pbdZMQ’ 75Warning in install.packages : 76 installation of package ‘pbdZMQ’ had non-zero exit status 77 78The downloaded source packages are in 79 ‘/private/var/folders/p6/003prkmx6512r368qtxgxm180000gn/T/RtmpgwzGGk/downloaded_packages’
回答1件
あなたの回答
tips
プレビュー