different r package versions code example
Example 1: which package version do i have r
# Replace "snow" below with the name of the package
> packageVersion("snow")
Example 2: how to find the R packages and versions
ip <- as.data.frame(installed.packages()[,c(1,3:4)])
rownames(ip) <- NULL
ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
print(ip, row.names=FALSE)