RExcel @Mozk_
RExcel @Mozk_
インストール
• install.packages("rscproxy") • install.packages("rcom") • library(rcom) • comRegisterRegistry() • install.packages("RExcelInstaller") • library(RExcelInstaller) • installstatconnDCOM() • installRExcel(ForegroundServer=TRUE)
• Excelを起動!
• See http://sunsite.univie.ac.at/rcom/download.html#RExcel for details!
ライセンス • http://rcom.univie.ac.at/
• 無料で非商用利用可能
• http://www.statconn.com/products.html
• 400€
インストール
• install.packages("rscproxy") • install.packages("rcom") • library(rcom) • comRegisterRegistry() • install.packages("RExcelInstaller") • library(RExcelInstaller) • installstatconnDCOM() • installRExcel(ForegroundServer=TRUE)
•Excelを起動!
• See http://sunsite.univie.ac.at/rcom/download.html#RExcel for details!
????
!!
!!!!!!!
Get R Value • 右クリック
• Get R Value
Get R Value • 右クリック
• Get R Value
iris iris
Get R Value • Woo!
Put R Var • 範囲選択
• 右クリック
• Put R Var
Put R Var • 範囲選択
• 右クリック
• Put R Var Seiseki
Put R Var • Woo!
Run R Code • セルにRのコードを入力
• 右クリック
• Run R Code
Run R Code • Woo!
Insert Current R Plot • 右クリック
• Insert Current R Plot
Insert Current R Plot • Woo!
RApply • セルに
=RApply(関数, 引数)
RApply • Woo!
参考資料 • アドイン ⇒ RExcel ⇒ Demo Worksheets
• http://rcom.univie.ac.at/RExcelDemo/
おわり
RStudio使ってますか?
発表者募集
マクロ作成