RExcel 是Microsoft Excel 的插件。它允許從Excel中訪問R语言 。
主要特點是:
R和Excel之間雙向數據傳輸(矩陣和數據框)
直接從Excel範圍運行R代碼
編寫調用R的宏來執行計算而不將R暴露給用戶
直接從單元格公式調用R函數,使用Excel的自動更新機制觸發R重新計算
使用Excel作為R的GUI ,使R功能可通過菜單和對話框訪問,而不是面向命令行的編程風格。使用此範例,廣泛使用的GUI包RCommander可用作Excel菜單欄。
RExcel適用於Microsoft Windows (XP 、Vista 或7 )以及Excel 2003 、2007 、2010和2013。它使用statconnDCOM服務器,對於某些配置,還使用rcom包從Excel中訪問R。
参考资料 [ 编辑 ]
Baier T., Neuwirth E., De Meo M: Creating and Deploying an Application with (R)Excel and R (页面存档备份 ,存于互联网档案馆 ) R Journal 3/2, December 2011
Baier T. and Neuwirth. E. Excel :: COM :: R. Computational Statistics 22 (2007)
Heiberger R. and Neuwirth E. R Through Excel (页面存档备份 ,存于互联网档案馆 ), Springer Verlag 2009.
Neuwirth, E. R meets the Workplace (页面存档备份 ,存于互联网档案馆 ) - Embedding R into Excel and making it more accessible. Paper presented at the UseR 2008, Dortmund
Narasimhan, B. Disseminating Statistical Methodology and Results via R and Excel: Two Examples. (页面存档备份 ,存于互联网档案馆 ) Paper presented at the Interface 2007, Philadelphia
Baier, T., Heiberger, R., Neuwirth, E., Schinagl, K., & Grossmann, W. Using R for teaching statistics to nonmajors: Comparing experiences of two different approaches. (页面存档备份 ,存于互联网档案馆 ) Paper presented at the UseR 2006, Vienna.
Konnert, A. LabNetAnalysis - An instrument for the analysis of data from laboratory networks based on RExcel (页面存档备份 ,存于互联网档案馆 ) Paper presented at the UseR 2006, Vienna.