Skip to content

gslnls

1.4.2Package record

GSL Multi-Start Nonlinear Least-Squares Fitting

4packages dependsuggested by 1
7.6Kdownloads / year
94.1%test coverage
13/13flavors OK

Overview

About

An R interface to weighted nonlinear least-squares optimization with the GNU Scientific Library (GSL), see M. Galassi et al. (2009, ISBN:0954612078). The available trust region methods include the Levenberg-Marquardt algorithm with and without geodesic acceleration, the Steihaug-Toint conjugate gradient algorithm for large systems and several variants of Powell's dogleg algorithm. Multi-start optimization based on quasi-random samples is implemented using a modified version of the algorithm in Hickernell and Yuan (1997, OR Transactions). Robust nonlinear regression can be performed using various robust loss functions, in which case the optimization problem is solved by iterative reweighted least squares (IRLS). Bindings are provided to tune a number of parameters affecting the low-level aspects of the trust region algorithms. The interface mimics R's nls() function and returns model objects inheriting from the same class.

Changes in 1.4.2
  • confint(), summary() and other methods no longer fail in case of a singular gradient
  • Fixed bug: missing confidence/prediction intervals in predict() for multi-start gsl_nls() call with fn defined as a function in combination with newdata.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.2
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 1.4.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
24
Examples that run
100%23 run in a plain check
Exported functions with examples
86%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
25%

Downloads

7.6K
CRAN downloads in the past year
Rank #4,714 · ~21/day · ~635/mo
Daily download trend is not available in this view yet.
65730 days
1.8K90 days
7.6K1 year
Compare downloads with other packages →
Also on428 r2u8 autocran86 c2d4u

Repository

17Stars
2Forks
0Open issues
0Open PRs
8Releases
141Commits
1Commit identities
gnu-scientific-librarygsllevenberg-marquardtmulti-startnonlinear-least-squaresnonlinear-regressionrr-package
141 commits · Last activity 2025-09-28 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
61
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-10-15 · 172026-07-07 · 17
PracticesBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/jorischau/gslnls on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Reproducibility and dev environment (2)
MakefileDockerfile
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing gslnls adds no packages beyond those that come with R.

Depends (1)
R >= 3.5
Imports (2)
statsMatrix
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.0 (2021)
Releases (12)

Pick two releases to compare their code metrics.

Show 2 earlier eventsHide 2 earlier events
  • 1.0.0
    record
    2021-10-07
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-10-07
Total releases
12 / 5 yrs
License
LGPL-3 OSI · relicensed from GPL-3 in 1.2.0
Minimum R
≥ 3.5
Download size
152 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gslnls")
Chau, J. (2025). gslnls: GSL Multi-Start Nonlinear Least-Squares Fitting (Version 1.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.gslnls

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 gslnls version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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