test2
46799e61dc
|
5 years ago | |
---|---|---|
examples | 5 years ago | |
images | 5 years ago | |
swarmlab | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago |
README.md
The R Project for Statistical Computing
R is an open source programming language. It has become one of the powerful choices for statistical analysis. R helps you to get big picture of your data by calculating statistical parameters like mean, standard deviation, correlation etc.
LabInstance R
Quickstart
This is a quickstart guide of howto use this LabInstance
- Working Directory
/root
- Default user
root
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){ new.packages <- packages[!(packages %in% installed.packages()[, "Package"])] if (length(new.packages)) install.packages(new.packages, dependencies = TRUE) sapply(packages, require, character.only = TRUE) }
required.packages <- c("package1", "package2" ) install(required.packages)
MORE INFO