Printing Floating Point Numbers in a Human-Friendly Format

Print vectors (and data frames) of floating point numbers using a non-scientific format optimized for human readers. Vectors of numbers are rounded using significant digits, aligned at the decimal point, and all zeros trailing the decimal point are dropped.


Lucid printing in R

'lucid' is primarily a formatting function similar to 'round' and 'signif', but output is always character.

The returned values are printed with regular R methods.

Note that R prints character vectors/matrices with quotes, but prints data.frames without quotes.


News for 'lucid'

Version 1.3 (Jun 2015)

  • Namespace changes due to R devel changes.

Version 1.2 - (Apr 2015)

  • Added vc.mcmc.list for prettier summaries from JAGS.

Version 1.1 (Feb 2015)

  • Re-worked code. Primary objective is formatting, not printing.
  • Added na.replace option.

Version 1.0 (Nov 2014)

  • First release to CRAN, Nov 2014.

Version 0.0 (Mar 2010)

  • Development begins

Reference manual

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


1.4 by Kevin Wright, 2 years ago

Report a bug at

Browse source code at

Authors: Kevin Wright [aut, cre]

Documentation:   PDF Manual  

GPL-2 license

Imports nlme

Suggests broom, dplyr, knitr, lattice, lme4, rjags, testthat

Imported by CRPClustering.

Suggested by agridat.

See at CRAN