Learn R Programming

knitrdata (version 0.6.1)

remove_chunks_dialog: Invoke Rstudio addin to remove chunks from the active source document

Description

The dialog will present a data table list of chunks in the source document. Select the rows that correspond to the chunks that you wish to remove and hit the Remove chunks button to remove them.

Usage

remove_chunks_dialog()

Arguments

Value

Returns TRUE if one or more chunks were removed, FALSE otherwise.

Details

When the dialog is started, if the cursor is positioned inside a chunk in the source document, then the row corresponding to this chunk will be selected by default.

See Also

Other Chunk tools: create_chunk(), create_data_chunk_dialog(), insert_data_chunk_template(), list_rmd_chunks()

Examples

Run this code
# NOT RUN {
remove_chunks_dialog()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab