Answers for "where are r packages installed"

R
1

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)
Posted by: Guest on April-08-2021
2

use packages in r

#Install package. 
install.packages("<package_name>")

#Load the package to use it in your code.
library (<package_name>)

#NB: If using an anaconda environment, install packagesin your terminal by 
#running code below:
conda install r-<package_name)
Posted by: Guest on September-21-2021

Code answers related to "where are r packages installed"

Browse Popular Code Answers by Language