메뉴 건너뛰기

웹에서 하는 R 통계

moonBook2 install 오류

2020.03.08 15:01

power3752 조회 수:53

R 3.6.2 version 사용중입니다. 

moonBook2 install  하면 다음과 같은 오류 메시지가 나옵니다. 

어떻게 해결해야 하나요? 


* installing *source* package ‘moonBook2’ ...

** using staged installation

** R

** data

*** moving datasets to lazyload DB

Warning: namespace ‘relsurv’ is not available and has been replaced

by .GlobalEnv when processing object ‘ratetable.kor’

Warning: namespace ‘relsurv’ is not available and has been replaced

by .GlobalEnv when processing object ‘ratetable.kor’

** byte-compile and prepare package for lazy loading

Error in dyn.load(file, DLLpath = DLLpath, ...) : 

  unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so':

  dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib

  Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so

  Reason: image not found

Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load

Execution halted

ERROR: lazy loading failed for package ‘moonBook2’

* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/moonBook2’

Error: Failed to install 'moonBook2' from GitHub:

  (converted from warning) installation of package ‘/var/folders/67/m1pbcww50h3c8tl3zgn4vg400000gn/T//RtmptGSTMX/file44b4af8ef45/moonBook2_0.1.8.tar.gz’ had non-zero exit status

In addition: Warning messages:

1: In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :

  running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1

2: In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :

  running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1

3: In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :

  running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1

번호 제목 글쓴이 날짜 조회 수
공지 웹에서 하는 R 메타분석 [1] cardiomoon 2015.11.11 16039
공지 웹에서 하는 R 통계 게시판입니다. cardiomoon 2015.03.26 5348
» moonBook2 install 오류 [2] power3752 2020.03.08 53
87 R 행렬에 관해 기본적인 문의사항이 있어요 ㅠㅠ 재기 2020.02.20 40
86 moonBook 실행오류 [1] 비버마다 2020.02.11 85
85 R을 이용해서 Powerpoint 파일 만들기 file cardiomoon 2020.01.30 159
84 문의사항이 있습니다. [1] edward 2019.12.10 204
83 안녕하세요 [1] secret 최선화 2019.02.27 10
82 moonBook 패키지 업데이트 안내 cardiomoon 2018.05.26 1660
81 Make a Heatmap Table using ztable cardiomoon 2018.05.23 697
80 moonBook 패키지 업데이트 안내 [3] cardiomoon 2018.05.18 4032
79 ztable 패키지 업데이트 안내 [1] cardiomoon 2018.05.13 1089
78 pptxList: A Shiny Module for Reproducible Research cardiomoon 2018.03.07 957
77 Nightingale's Rose Plot file cardiomoon 2017.11.16 750
76 Plot for distribution of common statistics and p-value cardiomoon 2017.11.11 937
75 R package gglotAssist cardiomoon 2017.11.11 673
74 설문조사데이터 cardiomoon 2017.10.14 1066
73 R에서 데이터 편집을 하자 - editData 패키지 [1] cardiomoon 2017.09.25 2731
72 dplyrAssist 패키지 : RStudio Addin으로 dplyr을 쉽게 배우기 [1] cardiomoon 2017.09.03 507
71 "틀리지않는법" 강의슬라이드(문건웅) cardiomoon 2017.08.31 3259
70 연속형변수를 기준으로 같은 크기를 갖는 여러 개의 그룹으로 나누기 cardiomoon 2017.06.19 2110
69 3D visualization of multiple regression analysis file cardiomoon 2017.06.15 579