Browse Source

readme

master
test2 5 years ago
parent
commit
ecca617dc1
  1. 1
      README.md

1
README.md

@ -26,7 +26,6 @@ This is a quickstart guide of howto use this *LabInstance*
Here is a simple code to reinstall all the necessary R packages to keep you up and running. The script will check whether the required packages have been installed, if not, it will install them accordingly. Here is a simple code to reinstall all the necessary R packages to keep you up and running. The script will check whether the required packages have been installed, if not, it will install them accordingly.
> #create a function to check for installed packages and install them if they are not installed
> install <- function(packages){ > install <- function(packages){
> new.packages <- packages[!(packages %in% installed.packages()[, "Package"])] > new.packages <- packages[!(packages %in% installed.packages()[, "Package"])]
> if (length(new.packages)) > if (length(new.packages))

Loading…
Cancel
Save