How to find out which package version is loaded in R?

前端 未结 12 1607
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 14:32

I am in a process of figuring out how to use my university cluster. It has 2 versions of R installed. System wide R 2.11 (Debian 6.0) and R 2.14.2 in non-standard location.

12条回答
  •  独厮守ぢ
    2020-11-29 14:57

    Search() can give a more simplified list of the attached packages in a session (i.e., without the detailed info given by sessionInfo())

    search {base}- R Documentation
    Description: Gives a list of attached packages. Search()

    search()
    #[1] ".GlobalEnv"        "package:Rfacebook" "package:httpuv"   
    #"package:rjson"    
    #[5] "package:httr"      "package:bindrcpp"  "package:forcats"   # 
    #"package:stringr"  
    #[9] "package:dplyr"     "package:purrr"     "package:readr"     
    #"package:tidyr"    
    #[13] "package:tibble"    "package:ggplot2"   "package:tidyverse" 
    #"tools:rstudio"    
    #[17] "package:stats"     "package:graphics"  "package:grDevices" 
    #"package:utils"    
    #[21] "package:datasets"  "package:methods"   "Autoloads"         
    #"package:base"
    

提交回复
热议问题