← Back to home
Comparison · Analytics

r-ledger vs TwoSampleMR

A side-by-side editorial comparison of r-ledger and TwoSampleMR — release velocity, themes, recent moves, and the top alternatives to consider.

r-ledger vs TwoSampleMR: at a glance

Featurer-ledgerTwoSampleMR
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesplain-text-accounting, r-package, beancount, hledgermendelian-randomization, genetic-epidemiology, correctness-fixes, opengwas
Last editorial update1h ago3h ago
WebsiteVisit →Visit →

What is r-ledger?

ledger adds a Rust toolchain fallback, so beancount imports work whether or not the Python tooling is installed.

An R package that imports plain-text accounting files — ledger, hledger and beancount — into data frames. Releases are sparse and driven almost entirely by changes in the external command-line tools it shells out to: date format shifts, decimal mark handling, binaries being removed from upstream projects. The last two releases show more activity than the several years preceding them.

Read the full r-ledger trajectory →

What is TwoSampleMR?

The flagship Mendelian randomization package is auditing its own estimators, one bootstrap at a time.

TwoSampleMR is the MRC-IEU package for two-sample Mendelian randomization against OpenGWAS. Its 2026 releases are a sustained correctness review rather than feature work: 0.7.9 fixed bootstrap standard errors in mr_mode() and mr_rucker_bootstrap() that had been inflated since v0.6.30, and repaired two Rucker functions that were returning malformed objects. Point estimates were not affected by the bootstrap bug.

Read the full TwoSampleMR trajectory →

r-ledger vs TwoSampleMR: editorial side-by-side

R
r-ledger
ANALYTICS
0.0

ledger adds a Rust toolchain fallback, so beancount imports work whether or not the Python tooling is installed.

◆ Current state

An R package that imports plain-text accounting files — ledger, hledger and beancount — into data frames. Releases are sparse and driven almost entirely by changes in the external command-line tools it shells out to: date format shifts, decimal mark handling, binaries being removed from upstream projects. The last two releases show more activity than the several years preceding them.

◆ Where it's heading

The package's job is absorbing churn in an ecosystem it does not control, and the recent releases show that ecosystem fragmenting and then being backfilled. bean-report disappeared from beancount in 2020 and its toolchains were finally deprecated in v2.0.13; v2.1.1 responds to the arrival of rustledger by adding rledger and bean-query as explicit toolchain choices and making the beancount path fall back to rledger when bean-query is absent. The other steady thread is column parity — code, id and comment columns arriving one at a time across the three register functions, so that whichever toolchain a user has produces comparable output.

◆ Prediction

Expect the remaining deprecated toolchains to be removed outright, and further column-parity work so the rledger path returns the same fields as the established ones.

T
TwoSampleMR
ANALYTICS
0.0

The flagship Mendelian randomization package is auditing its own estimators, one bootstrap at a time.

◆ Current state

TwoSampleMR is the MRC-IEU package for two-sample Mendelian randomization against OpenGWAS. Its 2026 releases are a sustained correctness review rather than feature work: 0.7.9 fixed bootstrap standard errors in mr_mode() and mr_rucker_bootstrap() that had been inflated since v0.6.30, and repaired two Rucker functions that were returning malformed objects. Point estimates were not affected by the bootstrap bug.

◆ Where it's heading

The pattern across these releases is a package being read line by line — a copy-paste weight vector in ldsc_rg(), chunking that produced zero splits for short SNP lists, penalisation recycled across the wrong SNPs, dead code paths removed, and regression tests added behind each fix. Alongside it runs a mechanical modernization pass: seq_len() for loop indices, tidyr in place of reshape2, current ggplot2 idioms, and the OpenGWAS URL migration. Feature work is limited to forest plot presentation.

◆ Prediction

Expect the audit to continue through the remaining bootstrap and jackknife routines, with releases staying in the 0.7.x patch range and each fix arriving with its own regression test.

Alternatives to r-ledger and TwoSampleMR

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either r-ledger or TwoSampleMR.

See all r-ledger alternatives → · See all TwoSampleMR alternatives →

Recent activity from r-ledger and TwoSampleMR

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agoTwoSampleMRBootstrap standard errors corrected in mode and Rucker estimators
  2. 2mo agor-ledgerrustledger supported as a beancount toolchain, with automatic fallback
  3. 2mo agoTwoSampleMRWrong weight vector and chunking fixes across the estimator set
  4. 2mo agoTwoSampleMRDeprecated ggplot2 idioms and dead code removed
  5. 3mo agoTwoSampleMROpenGWAS URLs migrated and Wald ratio warnings quieted
  6. 4mo agoTwoSampleMRCategorized forest plots aligned with the published figures
  7. 4mo agoTwoSampleMRFurther internal code optimizations
  8. 4mo agor-ledgerbean-report toolchains deprecated; transaction code column imported
  9. 2y agor-ledgerTransaction id column for beancount and hledger; date coercion aligned
  10. 4y agor-ledgerrio moved from Imports to Suggests
  11. 6y agor-ledgerhledger date import fixed for newer hledger versions
  12. 6y agor-ledgerComma decimal marks and commodity prefixes parse correctly

Frequently asked questions

What is the difference between r-ledger and TwoSampleMR?

They serve adjacent needs but don't currently overlap on shipped themes. r-ledger and TwoSampleMR are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is r-ledger better than TwoSampleMR?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. r-ledger and TwoSampleMR are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to r-ledger?

Top r-ledger alternatives in Analytics are ranked by recent ship velocity. Browse the "r-ledger alternatives" section above for the current picks, or visit /alternatives/ledger for the full list with editorial commentary on each.

What are the best alternatives to TwoSampleMR?

Top TwoSampleMR alternatives in Analytics are ranked by recent ship velocity. Browse the "TwoSampleMR alternatives" section above for the current picks, or visit /alternatives/twosamplemr for the full list with editorial commentary on each.