Home Articles Examples Manual News
By default, the source and output are in separate blocks:
x = 1 + 1 x
#> [1] 2
x + 2
#> [1] 4
Set collapse = TRUE to collapse them:
collapse = TRUE
x = 1 + 1 x #> [1] 2 x + 100 #> [1] 102