/DSC2014Tutorial

台灣資料科學愛好者年會的資料科學上手課程的輔助用套件

Primary LanguageR

安裝說明

請依據不同的OS在R console貼上下列script。如果有錯誤訊息,請參考最後的Q&A

Windows

install.packages('DSC2014Tutorial', repo = 'http://taiwanrusergroup.github.io/R', type = 'win.binary')

Ubuntu

請先安裝以下Ubuntu套件:

sudo apt-get install libcurl4-openssl-dev libxml2-dev

再在R底下執行

install.packages('DSC2014Tutorial', repo = 'http://taiwanrusergroup.github.io/R', type = 'source')

Mac

請Mac User執行以下的Script:

deps <- available.packages("http://taiwanrusergroup.github.io/R/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')

Q&A

  • ERROR: dependencies ‘wordcloud’, ‘gridExtra’ are not available for package ‘DSC2014Tutorial’

投影片

library(DSC2014Tutorial)
slides("Basic")
slides("ETL")
slides("DataAnalysis")
slides("Visualization2")
slides("Visualization3")