행렬, 특징 행렬, 네트워크 다이어그램의 데이터 시각화 작업을 하고 있으며, 네트워크 다이어그램을 통해 1D ECG 신호를 시각화하려고 합니다. 요즘 도구 같은 느낌ggnet2
아마 부족할 것 같은데 아직 설치를 못해서 plotly
기본적인 테스트는 해보지 못했습니다 . plotly
3번의 설치 실패를 겪었습니다.음모적으로R 프롬프트에서 루트로 로그인했지만 install.packages(plotly)
계속해서
** building package indices
** testing if installed package can be loaded
* DONE (purrr)
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/usr/local/lib/R/site-library/httr’
ERROR: dependency ‘httr’ is not available for package ‘plotly’
* removing ‘/usr/local/lib/R/site-library/plotly’
The downloaded source packages are in
‘/tmp/RtmpoWcHte/downloaded_packages’
Warning messages:
1: In install.packages("plotly") :
installation of package ‘openssl’ had non-zero exit status
2: In install.packages("plotly") :
installation of package ‘httr’ had non-zero exit status
3: In install.packages("plotly") :
installation of package ‘plotly’ had non-zero exit status
>
루트 반복 2로
위와 같은 질문이지만 약간 다른 명령
> install.packages("plotly")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘openssl’, ‘httr’
trying URL 'https://cran.wu.ac.at/src/contrib/openssl_0.9.5.tar.gz'
Content type 'unknown' length 1236042 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
trying URL 'https://cran.wu.ac.at/src/contrib/httr_1.2.1.tar.gz'
Content type 'unknown' length 133398 bytes (130 KB)
==================================================
downloaded 130 KB
trying URL 'https://cran.wu.ac.at/src/contrib/plotly_4.5.2.tar.gz'
Content type 'unknown' length 731185 bytes (714 KB)
==================================================
downloaded 714 KB
* installing *source* package ‘openssl’ ...
** package ‘openssl’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=
Using PKG_LIBS=-lssl -lcrypto
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because openssl was not found. Try installing:
* deb: libssl-dev (Debian, Ubuntu, etc)
* rpm: openssl-devel (Fedora, CentOS, RHEL)
* csw: libssl_dev (Solaris)
* brew: openssl (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘openssl’
* removing ‘/usr/local/lib/R/site-library/openssl’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/usr/local/lib/R/site-library/httr’
ERROR: dependency ‘httr’ is not available for package ‘plotly’
* removing ‘/usr/local/lib/R/site-library/plotly’
The downloaded source packages are in
‘/tmp/RtmpU1mQnG/downloaded_packages’
Warning messages:
1: In install.packages("plotly") :
installation of package ‘openssl’ had non-zero exit status
2: In install.packages("plotly") :
installation of package ‘httr’ had non-zero exit status
3: In install.packages("plotly") :
installation of package ‘plotly’ had non-zero exit status
운영 체제: 데비안 8.5
R: 3.3.1
답변1
httr
에 따라OpenSSL그리고곱슬팩. 이 openssl
패키지는 시스템 요구사항으로 필요합니다.libssl-dev
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because openssl was not found. Try installing:
* deb: libssl-dev (Debian, Ubuntu, etc)
...
이 curl
패키지는 시스템 요구 사항으로 필요합니다 libcurl4-openssl-dev
.
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
...
따라서 설치하려면 다음을 실행해야 합니다.
sudo apt-get install libssl-dev libcurl4-openssl-dev
그 후에는 install.packages("plotly")
작동할 것입니다 .