본문 바로가기
3. 패키지/2) 패키지 활용

R 불러온 패키지 목록과 경로 확인

by makhimh 2020. 12. 13.
반응형

패키지 목록만 확인 : search( )

 

> search()
 [1] ".GlobalEnv"        "tools:rstudio"     "package:stats"    
 [4] "package:graphics"  "package:grDevices" "package:utils"    
 [7] "package:datasets"  "package:methods"   "Autoloads"        
[10] "package:base" 

 

패키지 목록과 경로 확인 : searchpaths()

 

> searchpaths()
 [1] ".GlobalEnv"                                  
 [2] "tools:rstudio"                               
 [3] "C:/Program Files/R/R-3.6.2/library/stats"    
 [4] "C:/Program Files/R/R-3.6.2/library/graphics" 
 [5] "C:/Program Files/R/R-3.6.2/library/grDevices"
 [6] "C:/Program Files/R/R-3.6.2/library/utils"    
 [7] "C:/Program Files/R/R-3.6.2/library/datasets" 
 [8] "C:/Program Files/R/R-3.6.2/library/methods"  
 [9] "Autoloads"                                   
[10] "C:/PROGRA~1/R/R-36~1.2/library/base" 
반응형

댓글