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

前端 未结 12 1631
没有蜡笔的小新
没有蜡笔的小新 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:56

    You can use packageVersion to see what version of a package is loaded

    > packageVersion("snow")
    [1] ‘0.3.9’
    

    Although it sounds like you want to see what version of R you are running, in which case @Justin's sessionInfo suggestion is the way to go

提交回复
热议问题