Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows10, R version 4.0.2 (2020-06-22), RStudio Version 1.3.1073에서 KoNLP error #63

Open
SH-Baik opened this issue Sep 4, 2020 · 0 comments

Comments

@SH-Baik
Copy link

SH-Baik commented Sep 4, 2020

KoNLP 설치 과정에서

install_jdk()에서 아래와 같은 에러 메시지가 뜨고
Error in zip::unzip(...) :
zip error: Cannot extract file jdk11.0.8_10/bin/java.dll`` in file zip.c:211

install.packages("multilinguer")
library(multilinguer)
install_jdk()
install.packages(c("hash", "tau", "Sejong", "RSQLite", "devtools", "bit", "rex", "lazyeval", "htmlwidgets", "crosstalk", "promises", "later", "sessioninfo", "xopen", "bit64", "blob", "DBI", "memoise", "plogr", "covr", "DT", "rcmdcheck", "rversions"), type = "binary")
install.packages("remotes")
remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch"))
library(KoNLP)
실행시 아래와 같은 에러 메시지가 뜹니다. 에러 메시지 관련한건 다 지우고 새로 설치 보았는데도 계속 같은 메시지가 뜨네요.

혹시 아는 문제이면 코멘트 부탁 드립니다.

에러: package or namespace load failed for ‘KoNLP’:
.onLoad가 loadNamespace()에서 'KoNLP'때문에 실패했습니다:
호출: fun(libname, pkgname)
에러: You cann't parse resource files based on UTF-8 on rJava. Please reload KoNLP first than any other packages connected with rJava.

R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R은 자유 소프트웨어이며, 어떠한 형태의 보증없이 배포됩니다.
또한, 일정한 조건하에서 이것을 재배포 할 수 있습니다.
배포와 관련된 상세한 내용은 'license()' 또는 'licence()'을 통하여 확인할 수 있습니다.

R은 많은 기여자들이 참여하는 공동프로젝트입니다.
'contributors()'라고 입력하시면 이에 대한 더 많은 정보를 확인하실 수 있습니다.
그리고, R 또는 R 패키지들을 출판물에 인용하는 방법에 대해서는 'citation()'을 통해 확인하시길 부탁드립니다.

'demo()'를 입력하신다면 몇가지 데모를 보실 수 있으며, 'help()'를 입력하시면 온라인 도움말을 이용하실 수 있습니다.
또한, 'help.start()'의 입력을 통하여 HTML 브라우저에 의한 도움말을 사용하실수 있습니다
R의 종료를 원하시면 'q()'을 입력해주세요.

Registered S3 methods overwritten by 'registry':
method from
print.registry_field proxy
print.registry_entry proxy
[Workspace loaded from ~/.RData]

Loading required package: topicmodels
Loading required package: quanteda
Package version: 2.1.1
Parallel computing: 2 of 4 threads used.
See https://quanteda.io for tutorials and examples.

Attaching package: ‘quanteda’

The following object is masked from ‘package:utils’:

View

install.packages("multilinguer")
Installing package into ‘C:/Users/SAMSUNG/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/multilinguer_0.0.4.zip'을 시도합니다
Content type 'application/zip' length 45825 bytes (44 KB)
downloaded 44 KB

package ‘multilinguer’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmpqKaZzT\downloaded_packages

library(multilinguer)
If you have any problem, please issue here.
https://github.com/mrchypark/multilinguer/issues
install_jdk()
URL 'https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.zip'을 시도합니다
Content type 'application/zip' length 185607712 bytes (177.0 MB)
downloaded 177.0 MB

Error in zip::unzip(...) :
zip error: Cannot extract file jdk11.0.8_10/bin/java.dll`` in file zip.c:211

install_jdk()
URL 'https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.zip'을 시도합니다
Content type 'application/zip' length 185607712 bytes (177.0 MB)
downloaded 177.0 MB

Error in zip::unzip(...) :
zip error: Cannot extract file jdk11.0.8_10/bin/java.dll`` in file zip.c:211

install.packages(c("hash", "tau", "Sejong", "RSQLite", "devtools", "bit", "rex", "lazyeval", "htmlwidgets", "crosstalk", "promises", "later", "sessioninfo", "xopen", "bit64", "blob", "DBI", "memoise", "plogr", "covr", "DT", "rcmdcheck", "rversions"), type = "binary")
Installing packages into ‘C:/Users/SAMSUNG/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/hash_2.2.6.1.zip'을 시도합니다
Content type 'application/zip' length 177336 bytes (173 KB)
downloaded 173 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tau_0.0-21.zip'을 시도합니다
Content type 'application/zip' length 186415 bytes (182 KB)
downloaded 182 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/Sejong_0.01.zip'을 시도합니다
Content type 'application/zip' length 1617799 bytes (1.5 MB)
downloaded 1.5 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/RSQLite_2.2.0.zip'을 시도합니다
Content type 'application/zip' length 2352279 bytes (2.2 MB)
downloaded 2.2 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/devtools_2.3.1.zip'을 시도합니다
Content type 'application/zip' length 341370 bytes (333 KB)
downloaded 333 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/bit_4.0.4.zip'을 시도합니다
Content type 'application/zip' length 633031 bytes (618 KB)
downloaded 618 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rex_1.2.0.zip'을 시도합니다
Content type 'application/zip' length 125346 bytes (122 KB)
downloaded 122 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/lazyeval_0.2.2.zip'을 시도합니다
Content type 'application/zip' length 172696 bytes (168 KB)
downloaded 168 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/htmlwidgets_1.5.1.zip'을 시도합니다
Content type 'application/zip' length 810029 bytes (791 KB)
downloaded 791 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/crosstalk_1.1.0.1.zip'을 시도합니다
Content type 'application/zip' length 777480 bytes (759 KB)
downloaded 759 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/promises_1.1.1.zip'을 시도합니다
Content type 'application/zip' length 1969848 bytes (1.9 MB)
downloaded 1.9 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/later_1.1.0.1.zip'을 시도합니다
Content type 'application/zip' length 867355 bytes (847 KB)
downloaded 847 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/sessioninfo_1.1.1.zip'을 시도합니다
Content type 'application/zip' length 46949 bytes (45 KB)
downloaded 45 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/xopen_1.0.0.zip'을 시도합니다
Content type 'application/zip' length 24678 bytes (24 KB)
downloaded 24 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/bit64_4.0.5.zip'을 시도합니다
Content type 'application/zip' length 565183 bytes (551 KB)
downloaded 551 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/blob_1.2.1.zip'을 시도합니다
Content type 'application/zip' length 48111 bytes (46 KB)
downloaded 46 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/DBI_1.1.0.zip'을 시도합니다
Content type 'application/zip' length 663032 bytes (647 KB)
downloaded 647 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/memoise_1.1.0.zip'을 시도합니다
Content type 'application/zip' length 36849 bytes (35 KB)
downloaded 35 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/plogr_0.2.0.zip'을 시도합니다
Content type 'application/zip' length 18858 bytes (18 KB)
downloaded 18 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/covr_3.5.0.zip'을 시도합니다
Content type 'application/zip' length 304809 bytes (297 KB)
downloaded 297 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/DT_0.15.zip'을 시도합니다
Content type 'application/zip' length 1744314 bytes (1.7 MB)
downloaded 1.7 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rcmdcheck_1.3.3.zip'을 시도합니다
Content type 'application/zip' length 134577 bytes (131 KB)
downloaded 131 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rversions_2.0.2.zip'을 시도합니다
Content type 'application/zip' length 68645 bytes (67 KB)
downloaded 67 KB

package ‘hash’ successfully unpacked and MD5 sums checked
package ‘tau’ successfully unpacked and MD5 sums checked
package ‘Sejong’ successfully unpacked and MD5 sums checked
package ‘RSQLite’ successfully unpacked and MD5 sums checked
package ‘devtools’ successfully unpacked and MD5 sums checked
package ‘bit’ successfully unpacked and MD5 sums checked
package ‘rex’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘htmlwidgets’ successfully unpacked and MD5 sums checked
package ‘crosstalk’ successfully unpacked and MD5 sums checked
package ‘promises’ successfully unpacked and MD5 sums checked
package ‘later’ successfully unpacked and MD5 sums checked
package ‘sessioninfo’ successfully unpacked and MD5 sums checked
package ‘xopen’ successfully unpacked and MD5 sums checked
package ‘bit64’ successfully unpacked and MD5 sums checked
package ‘blob’ successfully unpacked and MD5 sums checked
package ‘DBI’ successfully unpacked and MD5 sums checked
package ‘memoise’ successfully unpacked and MD5 sums checked
package ‘plogr’ successfully unpacked and MD5 sums checked
package ‘covr’ successfully unpacked and MD5 sums checked
package ‘DT’ successfully unpacked and MD5 sums checked
package ‘rcmdcheck’ successfully unpacked and MD5 sums checked
package ‘rversions’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmpqKaZzT\downloaded_packages

github 버전 설치

install.packages("remotes")
Installing package into ‘C:/Users/SAMSUNG/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/remotes_2.2.0.zip'을 시도합니다
Content type 'application/zip' length 388631 bytes (379 KB)
downloaded 379 KB

package ‘remotes’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmpqKaZzT\downloaded_packages

64bit 에서만 동작합니다.

remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch"))
Skipping install of 'KoNLP' from a github remote, the SHA1 (c43430c) has not changed since last install.
Use force = TRUE to force installation
library(KoNLP)
에러: package or namespace load failed for ‘KoNLP’:
.onLoad가 loadNamespace()에서 'KoNLP'때문에 실패했습니다:
호출: fun(libname, pkgname)
에러: You cann't parse resource files based on UTF-8 on rJava. Please reload KoNLP first than any other packages connected with rJava.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant