Skip to content

lbfgs

1.2.1.2Package record

Limited-memory BFGS Optimization

6packages dependsuggested by 6
246.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.8 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1.2
READMENoVignettesYes · 1 · staticNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
2
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

246.8K
CRAN downloads in the past year
Rank #722 · ~676/day · ~20.6K/mo
Daily download trend is not available in this view yet.
21.7K30 days
71.7K90 days
246.8K1 year
Compare downloads with other packages →
Also on4.2K r2u2 autocran9.5K conda_forge172 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing lbfgs adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (2)
Rcppmethods
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
6direct
50indirect
Depends 1 · Imports 5
Suggested by 6
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (7)
Author, Maintainer since 1.2.1 (2014), Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

  • 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
    record
    2022-06-23 · current release · diff ↗
  • 1.2.1.1
    record
    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
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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