Wrapper for the Gnu Scientific Library

An R wrapper for some of the functionality of the Gnu Scientific Library.


The gsl R package: a wrapper for the GSL C library

Total Downloads CRAN_Status_Badge Codecov test coverage

The gsl R package is a wrapper for the GSL C library (note capitalization). You can get further information on GSL at

https://www.gnu.org/software/gsl/

Installation from CRAN

You can install the released version of the gsl R package from CRAN by typing

install.packages("gsl")

library("gsl")

at the R command prompt.

Installation from source

Installing the gsl R package from source requires you to install the GSL C library first. About 80% of reports to me about gsl are due to people not understanding what this means.

Before reporting any "bugs", ensure that you can compile and run a simple test program such as the example program near the start of the GSL Reference Manual. It is not the purpose of this document to show people how to install GSL: for this, visit https://www.gnu.org/software/gsl/

You will need at least GSL version 2.5: using earlier versions generally gives errors such as

error: too few arguments to function 'gsl_sf_ellint_D_e'

About 20% of reports to me about gsl are due to an insufficient version of GSL.

Further information

For more detail on package structure and design philosophy, see the package vignette

vignette("gsl")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gsl")

2.1-9 by Robin K. S. Hankin, a year ago


https://github.com/RobinHankin/gsl


Report a bug at https://github.com/RobinHankin/gsl/issues


Browse source code at https://github.com/cran/gsl


Authors: Robin K. S. Hankin [aut, cre] (ORCID: , Andrew Clausen [ctb] (multimin functionality) , Duncan Murdoch [ctb] (qrng functions)


Documentation:   PDF Manual  


GPL-3 license


System requirements: Gnu Scientific Library version >= 2.5


Imported by BFF, Bayenet, BayesLN, BayesPower, ChernoffDist, Dpit, GWnorm, GenEst, LBPG, ModStatR, NovelDistns, SubTS, TempStable, altR2, asteRisk, aws, copula, crandep, ctmm, diffpriv, distTails, dti, energy, energyGOF, flexCountReg, gamCopula, gbeta, geospt, geosptdb, gmvarkit, mlmi, nlmm, palm, polykde, pvaluefunctions, rtdists, salmonMSE, semEff, sfa, shrinkGPR, spatialwarnings, sphunif, uGMAR.

Depended on by QRM, evmix, reslife, tggd.

Suggested by Bessel, Carlson, MBESS, NFWdist, PearsonDS, TunePareto, expint, glmmTMB, grandR, metafor, misty, palinsol, scoringRules, spatstat.explore, spatstat.model, spatstat.random, surveillance.


See at CRAN