+
Skip to content

Vendor-neutral helpers to evaluate Excel formulas (including RTD-based add-ins like DTN ProphetX and Bloomberg) from R via COM automation

License

Notifications You must be signed in to change notification settings

ftsiboe/rexcelbridge

rexcelbridge: Bridge Excel Add-in Formulas and RTD Feeds into R (Windows)

Francis Tsiboe, Agricultural Risk Policy Center, North Dakota State University, Fargo, ND 58102

Project Status: Active – Stable and actively developed Lifecycle: experimental R-CMD-check Codecov test coverage License: GPL v3 R >= 4.0 Contributor Covenant

Acknowledgment: This package grew out of workflow needs to bridge Excel RTD/data add-ins (e.g., DTN ProphetX, Bloomberg) with reproducible R pipelines on Windows.

Abstract: rexcelbridge provides vendor-neutral helpers to execute Excel formulas from R via COM automation. It supports single-cell and spilled-array results and includes a pluggable “readiness” predicate to treat transient add-in states (e.g., “Wait”, “Loading…”) as not yet ready. This enables scripted retrieval of market/pricing and other plugin-delivered data directly into R, while keeping provider logic inside Excel.

Keywords: Excel COM; RTD; Bloomberg; ProphetX; automation; Windows


🚦 Requirements (read first)

  • Windows + Microsoft Excel installed
  • Matching bitness: R and Office must both be 64-bit or both 32-bit
  • Appropriate Excel add-ins installed/enabled (e.g., Bloomberg, ProphetX) if you use their formulas
  • An interactive desktop session (RTD often won’t refresh under headless services)

Installation

# install from a local folder during development
devtools::install_github("ftsiboe/rexcelbridge",force = TRUE,upgrade = "never")

Quick start

Plain Excel (no vendor add-in needed):

library(RDCOMClient)
rb_eval_single("=SUM(2,3,5)", visible = TRUE)

📬 Contact

Questions, suggestions, collaborations: Francis Tsiboeftsiboe@hotmail.com

About

Vendor-neutral helpers to evaluate Excel formulas (including RTD-based add-ins like DTN ProphetX and Bloomberg) from R via COM automation

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载