"R 패키지 unload"의 두 판 사이의 차이

25번째 줄: 25번째 줄:
* https://stackoverflow.com/questions/6979917/how-to-unload-a-package-without-restarting-r
* https://stackoverflow.com/questions/6979917/how-to-unload-a-package-without-restarting-r


[[분류: R]]
[[분류: R 패키지]]

2019년 9월 21일 (토) 00:29 판

1 개요

R 패키지 unload
구문
detach("package:패키지명")
실행예시
library("klaR")
x <- NaiveBayes(Species ~ ., data = iris)

detach("package:klaR")
x <- NaiveBayes(Species ~ ., data = iris)
## Error in NaiveBayes(Species ~ ., data = iris) : 
##   could not find function "NaiveBayes"

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}