Try   HackMD

R 語言不專業教學

tags: R Language

R is a programming language for statistical computing and graphics supported by the R Core Team and the R Foundation for Statistical Computing. Created by statisticians Ross Ihaka and Robert Gentleman, R is used among data miners and statisticians for data analysis and developing statistical software. Users have created packages to augment the functions of the R language.[1]

對於許多學習社會科學的人而言,

R 語言是一門再基礎不過的程式語言了。誠如維基百科上面所言,
R
本身就是一套統計軟體,個人使用過
SPSS
與其他著名的統計軟體後,發現
R
最好用。一方面除了它語言邏輯十分簡潔,套件的多樣性如
Python
一般,有一個專屬於
R
的社群,集結了許多大神的作品。阿岳在此十分推薦剛入門程式語言的人學。

安裝 R 與 R Studio

首先我們可以先到臺大資工系的鏡像網站上根據使用者所使用的系統下載相對應的R

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

下載完畢並安裝完成後,接著到 R Studio 官網下載 R Studio。除非你有需要使用更高階的功能,否則我們就當一個免費仔就好,勇敢地點下 Free 底下的 Download!

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

接著就可以打開 R Studio 開始學習R語言囉!如果單看文字仍不了解的話可以參考以下的影片。

  • Windows 系統
  • MacOS 系統

筆記專區

R Markdown 與 TeX

R 語言的撰寫技巧

R 基礎技能:運算、流程控制與迴圈

R 語言中的資料視覺化

Chart Studio 教學


  1. 節錄自維基百科 ↩︎