-
Notifications
You must be signed in to change notification settings - Fork 5
/
r_pack.R
19 lines (17 loc) · 1.68 KB
/
r_pack.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if("ggplot2" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("ggplot2"))}
if("rtf" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("rtf"))}
if("gWidgets" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("gWidgets"))}
if("gWidgetsRGtk2" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("gWidgetsRGtk2")) }
if("RMAWGEN" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("RMAWGEN")) }
if("Kendall" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("Kendall")) }
if("tseries" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("tseries"))}
if("grid" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("grid"))}
if("car" %in% row.names(installed.packages())==FALSE){ suppressMessages(install.packages("car")) }
if("reshape" %in% row.names(installed.packages())==FALSE){ suppressMessages(install.packages("reshape"))}
if("maptools" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("maptools"))}
if("mapdata" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("mapdata"))}
if("RColorBrewer" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("RColorBrewer"))}
if("classInt" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("classInt"))}
#if("gpclib" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("gpclib"))}
if("DescTools" %in% row.names(installed.packages())==FALSE){suppressMessages(install.packages("DescTools"))}
library(gWidgetsRGtk2)