Mercurial > repos > davidvanzessen > plotting_merged
comparison RScript.r @ 34:3ec932d17ef3 draft
Uploaded
| author | davidvanzessen |
|---|---|
| date | Fri, 08 Nov 2013 05:44:12 -0500 |
| parents | 8d9be90792b5 |
| children | bd1116ba4ee1 |
comparison
equal
deleted
inserted
replaced
| 33:8d9be90792b5 | 34:3ec932d17ef3 |
|---|---|
| 17 if (!require("plyr")) { | 17 if (!require("plyr")) { |
| 18 install.packages("plyr", repos="http://cran.xl-mirror.nl/") | 18 install.packages("plyr", repos="http://cran.xl-mirror.nl/") |
| 19 } | 19 } |
| 20 require(plyr) | 20 require(plyr) |
| 21 | 21 |
| 22 if (!require("data.table")) { | 22 if (!("data.table" %in% rownames(installed.packages()))) { |
| 23 install.packages("data.table", repos="http://cran.xl-mirror.nl/") | 23 install.packages("data.table", repos="http://cran.xl-mirror.nl/") |
| 24 } | 24 } |
| 25 library(data.table) | 25 library(data.table) |
| 26 | 26 |
| 27 | 27 |
| 28 test = read.table(inFile, sep="\t", header=TRUE) | 28 test = read.table(inFile, sep="\t", header=TRUE) |
| 29 | 29 |
