Suppress output when using Weave

You have to set the chunk option results="hidden". This can be done with a line starting with #+ above your chunk.

#' Test Weave's handling of output suppression via
#+ results="hidden"
c = rand()
c += 1
#' should show no output.
c
2 Likes