R

미등록 패키지 연동

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if(!require(remotes)){
install.packages('remotes')
} # remotes 가져오는 함수

remotes::install_github("profandyfield/discovr")

# 설치되지 않는 경우

.libPaths() # 위치확인 함수로 확인

remotes::install_github("profandyfield/discovr", lib = "N:/Documents/R/win-library/3.5") # 본인 위치 입력

library(discovr) # 라이브러리 등록

learnr::run_tutorial("name_of_tutorial", package = "discovr") # 해당 패키지의 튜토리얼 등록

learnr::run_tutorial("discovr_02", package = "discovr") # 튜토리얼 페이지 실행


Share