Skip to content

Commit

Permalink
resolve #91
Browse files Browse the repository at this point in the history
  • Loading branch information
wush978 committed Jul 23, 2015
1 parent 77326dd commit a06638e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -7,7 +7,7 @@
## Windows

```r
install.packages('DSC2014Tutorial', repo = c('http://taiwanrusergroup.github.io/R', "http://cran.csie.ntu.edu.tw"), type = 'win.binary')
install.packages('DSC2014Tutorial', repo = c('http://taiwanrusergroup.github.io/R-2014', "http://cran.csie.ntu.edu.tw"), type = 'win.binary')
```

## Ubuntu
Expand All @@ -21,22 +21,22 @@ sudo apt-get install libcurl4-openssl-dev libxml2-dev espeak
再在R底下執行

```r
install.packages('DSC2014Tutorial', repo = c('http://taiwanrusergroup.github.io/R', "http://cran.csie.ntu.edu.tw"), type = 'source')
install.packages('DSC2014Tutorial', repo = c('http://taiwanrusergroup.github.io/R-2014', "http://cran.csie.ntu.edu.tw"), type = 'source')
```

## Mac

請Mac User執行以下的Script:

```r
deps <- available.packages("http://taiwanrusergroup.github.io/R/src/contrib")[1,"Imports"]
deps <- available.packages("http://taiwanrusergroup.github.io/R-2014/src/contrib")[1,"Imports"]
pkgs <- strsplit(gsub("\\s", "", deps), ",")[[1]]
for(i in seq_along(pkgs)) {
# You can change your favorite repository
if (require(pkgs[i], character.only = TRUE)) next
install.packages(pkgs[i], repo = "http://cran.csie.ntu.edu.tw")
}
install.packages('DSC2014Tutorial', repo = 'http://taiwanrusergroup.github.io/R', type = 'source')
install.packages('DSC2014Tutorial', repo = 'http://taiwanrusergroup.github.io/R-2014', type = 'source')
```

## Q&A
Expand Down Expand Up @@ -116,4 +116,4 @@ for(i in seq_along(pkgs)) {
if (require(pkgs[i], character.only = TRUE)) next
install.packages(pkgs[i], repo = "http://cran.csie.ntu.edu.tw")
}
```
```

0 comments on commit a06638e

Please sign in to comment.