CRANStatusBadge CRAN RStudio mirror downloads CRAN RStudio mirror downloads R-CMD-check

Simulate real and complex numbers from distributions of their magnitude and arguments. Optionally, the magnitudes and/or arguments may be fixed in almost arbitrary ways. Plot density and distribution functions with automatic selection of suitable regions. Small programming utilities: check if an object is identical to NA, count positional arguments in a call, set intersection of more than two sets, check if an argument is unnamed, compute the graph of S4 classes in packages.

Installing gbutils

The latest stable version is on CRAN.


You can install the development version of gbutils from Github:



Package gbutils is a collection of (mostly small) functions used interactively or in packages.

Numeric computations


S4 classes

Programming utilities


Try the gbutils package in your browser

Any scripts or data that you put into this service are public.

gbutils documentation built on May 28, 2022, 1:13 a.m.