Error in loadNamespace(name) : there is no package called ‘SnowballC’

CODEDRAGON Development/Big Data, R, ...

반응형


 

 

에러메시지

Error in loadNamespace(name) : there is no package called SnowballC

> tm_map(reuters, stemDocument)

Error in loadNamespace(name) : there is no package called SnowballC

 

 

 

해결방법

SnowballC 패키지 설치

 

> install.packages("SnowballC")

C:/Users/codedragon/Documents/R/win-library/3.3’의 위치에 패키지() 설치합니다.

(왜냐하면 lib’가 지정되지 않았기 때문입니다)

URL 'https://cloud.r-project.org/bin/windows/contrib/3.3/SnowballC_0.5.1.zip' 시도합니다

Content type 'application/zip' length 3078862 bytes (2.9 MB)

downloaded 2.9 MB

 

패키지 SnowballC’를 성공적으로 압축해제하였고 MD5 sums 확인되었습니다

 

다운로드된 바이너리 패키지들은 다음의 위치에 있습니다

        C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmporprUO\downloaded_packages

> library(SnowballC)

>

 

 

> tm_map(reuters, stemDocument)

<<VCorpus>>

Metadata:  corpus specific: 0, document level (indexed): 0

Content:  documents: 20

>