Skip to contents

[Deprecated] Chunks are being deprecated qenv objects should be used instead

This function returns a list of the R-Code that reproduces all currently registered chunks inside the chunk stack.

Usage

chunks_get_rcode(chunks = get_chunks_object())

Arguments

chunks

optional, (chunks) object. If not provided then automatic chunks object detection is run via get_chunks_object

Value

The R code stored inside the chunks that can be used to reproduce the value of the evaluation of all code chunks.