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

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")

Copy Link

Version

Down Chevron

Install

install.packages('gsl')

Monthly Downloads

19,530

Version

2.1-8

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

January 24th, 2023

Functions in gsl (2.1-8)