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: [http://journal.r-project.org/archive/2011-2/RJournal_2011-2_Baier~et~al.pdf 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. [https://www.springer.com/statistics/computational/book/978-1-4419-0051-7 R Through Excel] , Springer Verlag 2009.
- Neuwirth, E. [http://www.statistik.uni-dortmund.de/useR-2008/abstracts/Neuwirth.pdf R meets the Workplace] - Embedding R into Excel and making it more accessible. Paper presented at the UseR 2008, Dortmund
- Narasimhan, B. [https://www.r-project.org/useR-2006/Slides/BaierEtAl.pdf 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. [https://www.r-project.org/useR-2006/Slides/BaierEtAl.pdf Using R for teaching statistics to nonmajors: Comparing experiences of two different approaches.] Paper presented at the UseR 2006, Vienna.
- Konnert, A. [https://www.r-project.org/useR-2006/Abstracts/Konnert.pdf LabNetAnalysis - An instrument for the analysis of data from laboratory networks based on RExcel] Paper presented at the UseR 2006, Vienna.
评论 (0)