iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 2
2
Big Data

R語言與機器學習見面會系列 第 2

Day02 R語言環境及工具安裝(Visual Studio)

正所謂工欲善其事必先利其器,選擇一個順手的兵器是攻城獅很重要的準備工作。

撰寫R通常都用R Studio,用起來也很方便;不過對.NET工程師來說,心中兵器排行榜第一名的就是江湖人稱地表最強IDE的Visual Studio

用已經順手的IDE撰寫R語言,也可以減少進入狀況的時間,輕車熟路!

要用Visual Studio 寫R,有三個必要安裝的項目: 

  • Visual Studio(IDE)
  • RTVS
  • Microsoft R Open

Step1.安裝Visual Studio


  • Visual Studio 2015 選其中一個版本安裝(Community, Professional or Enterprise)
  • Visual Studio 2015 Update 3

https://www.visualstudio.com/downloads/

執行安裝檔

http://ithelp.ithome.com.tw/upload/images/20161202/20103434rqCKPVTfFL.png

Default,按下Install

http://ithelp.ithome.com.tw/upload/images/20161202/20103434prIYLViJHD.png

安裝成功!

http://ithelp.ithome.com.tw/upload/images/20161202/2010343483OkEsfNyI.png

Step2.安裝RTVS(R Tools for Visual Studio)


下載網址 https://www.visualstudio.com/vs/rtvs/

按下install

http://ithelp.ithome.com.tw/upload/images/20161202/20103434R4k8bl9wcy.png

安裝完畢!

http://ithelp.ithome.com.tw/upload/images/20161202/20103434JG6q3V8s37.png

Step3. 下載並安裝Microsoft R Open


選擇適合自己的環境
An R interpreter: CRAN-R or Microsoft R Open

http://ithelp.ithome.com.tw/upload/images/20161202/20103434WCWXL1MNIr.jpg

按下Next

http://ithelp.ithome.com.tw/upload/images/20161202/20103434VYAXdIgHL3.png

按下Install

http://ithelp.ithome.com.tw/upload/images/20161202/20103434taK3VrX8HJ.png

Finish

http://ithelp.ithome.com.tw/upload/images/20161202/20103434Q14PbF5nvD.png

完成所有工具安裝! R + Visual Studio

http://ithelp.ithome.com.tw/upload/images/20161202/20103434cGgK83xA00.png


如果有說明不清楚的地方,也可以透過以下channel 9影片及微軟連結找到解說。

七分鐘概覽 R Tools for Visual Studio

https://channel9.msdn.com/Series/ericsk-vsfamily/rtvstw-overview

RTVS

https://www.visualstudio.com/en-us/features/rtvs-vs.aspx


地表最強足球隊:巴薩之MSN連線

http://ithelp.ithome.com.tw/upload/images/20161202/20103434cOTaCBbkL1.png

2015.10 攝於 內湖辦公室


上一篇
Day01 R語言見面
下一篇
Day03 R語言開發工具(RTVS)
系列文
R語言與機器學習見面會30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 則留言

0

簽到!_1110303(四)0000_By Zi

我要留言

立即登入留言