【问题标题】:R/XLL: Interface to call XLL method in RR/XLL:在 R 中调用 XLL 方法的接口
【发布时间】:2012-04-06 03:20:03
【问题描述】:

我正在尝试从 R 调用 XLL 插件(用于 Excel)中定义的方法。

类似于此 Python 代码的内容:

import os
from win32com.client import Dispatch
Path  = 'myxll.xll'
xlApp = Dispatch("Excel.Application")
xlApp.RegisterXLL(Path)

# function call from excel
# =xllfunction("param1","param2",...)

result = xlApp.run('xllfunction', "param1","param2",...)

R 中是否有任何提供 XLL 接口的库?感谢您的帮助。

【问题讨论】:

    标签: python excel r interface xll


    【解决方案1】:

    rcom + statconnDCOM 是您所需要的。 rcom 在 CRAN 上,因此您可以执行 install.packages("rcom")

    statconnDCOM 在这里可用:http://rcom.univie.ac.at/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多