Hi
Please consider the following (simplistic) use case where a .Rmd file creates an html output and contains 2 R chunks that print some character strings. I would like to be able to print one chunk to the html output and the other one to the console (or the .Rout file if a separate .R script is used to rmarkdown::render
the .Rmd file).
Is that possible?
Thanks in advance for your help
---
title: "dummy"
author: "pomchip"
date: "5/3/2022"
output: html_document
---
```{r echo= TRUE}
print('to console')
```
```{r echo= TRUE}
print('to html output')
```