Answers for "installed latest version of rstudio"

0

which rstudio version do i have

RStudio.Version()
Posted by: Guest on May-07-2020
0

rstudio find out if package is installed

#Easy way to check if packages are already installed in RStudio
packages <- c("ggplot2", "dplyr", "Hmisc", "lme4", "arm", "lattice", "lavaan")
if (length(setdiff(packages, rownames(installed.packages()))) > 0) {
  install.packages(setdiff(packages, rownames(installed.packages())))  
}
Posted by: Guest on November-09-2020

Browse Popular Code Answers by Language