Skip to content

lbfgs

1.2.1.2

Limited-memory BFGS Optimization

12packages depend
212.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Antonio CoppolaFirst published 2014-08-313 releasesCRAN page ↗

A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implements both the Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) and the Orthant-Wise Quasi-Newton Limited-Memory (OWL-QN) optimization algorithms. The L-BFGS algorithm solves the problem of minimizing an objective, given its gradient, by iteratively computing approximations of the inverse Hessian matrix. The OWL-QN algorithm finds the optimum of an objective plus the L1-norm of the problem's parameters. The package offers a fast and memory-efficient implementation of these optimization routines, which is particularly suited for high-dimensional problems.

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

212.5K
CRAN downloads in the past year
Rank #700 · ~582/day · ~17.7K/mo
Daily download trend is not available in this view yet.
24.5K30 days
77.7K90 days
212.5K1 year
Compare downloads with other packages →
Also on2.7K r2u16 autocran6.2K conda_forge89 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
Rcppmethods
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (7)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (3)
Author, Maintainer, Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributors (4)
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Copyright holders (7)
Author, Maintainer, Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.1.2Latest
    2022-06-23 · current release · diff ↗
  • 1.2.1.1
    2022-05-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2.1
    2014-08-31
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-31
Total releases
3 / 12 yrs
License
GPL (>= 2) OSI
Bundled data
1.9 MB / 2 files
Download size
2.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lbfgs")
Coppola, A., Ardia, D., Eddelbuettel, D., Mullen, K., Nocedal, J., Okazaki, N., & Stewart, B. (2022). lbfgs: Limited-memory BFGS Optimization (Version 1.2.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.lbfgs

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lbfgs version 1.2.1.2 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy