# Arbitrary length full-measure rests in Lilypond

In Lilypond one can make long full-measure rests with:

    \compressFullBarRests
R1*12


which outputs:

Is there an engraver I can turn off, or some other way to remove the number from above the rest (for a multi-measure rest of arbitrary length)?

Also, is this the preferred way to engrave this or is there some other better way to specify arbitrary length rests?

To clarify, this is for a section in which another instrument has an improvised solo of arbitrary length.

-
@Dave I tried, but it said the tag doesn't exist and I don't have enough rep to create it yet. Also, thanks for the edit. I was sitting here trying to figure out why the pre wasn't working. –  Sam Whited Mar 19 '13 at 19:31
Prematurely deleted comment: this needs a [lilypond] tag. –  Dave Mar 19 '13 at 19:34
jTab (for producing guitar tab diagrams) processes indented code blocks on this site. –  Dave Mar 19 '13 at 19:37
lilypond tag added. –  luser droog Mar 19 '13 at 19:38
If there is an improvisation going on, maybe consider using a fermata over a single R1 rest. –  Reina Abolofia Mar 20 '13 at 5:02

I've stumbled up on the answer to my own question. Either of the following should work:

    \set restNumberThreshold = #1000 % Some large number
\override MultiMeasureRestNumber #'stencil = ##f


The first is a bit hackish and not very robust (it sets the number of rests required to display the number extremely high), but the second may have unintended consequences in some older versions of Lilypond.

Here is the final result:

-
Of course, \compressFullBarRests should be used as well. –  John Peyton Aug 27 '13 at 17:35