  This note introduces a code snippet in R aiming to generate necklaces as well
as bracelets. Among various uses, necklaces are useful tools to manage traces
of products of random matrices. Functionality for necklaces and bracelets is
provided with some examples of applications such as Lyndon words and de Bruijn
sequences. The routines are collected in the Necklaces package available from
the Comprehensive R Archive Network.
