1 + 1[1] 2
1:10 [1] 1 2 3 4 5 6 7 8 9 10
2004:2025 [1] 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018
[16] 2019 2020 2021 2022 2023 2024 2025
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
1 + 1[1] 2
1:10 [1] 1 2 3 4 5 6 7 8 9 10
2004:2025 [1] 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018
[16] 2019 2020 2021 2022 2023 2024 2025
You can add options to executable code like this
[1] 4
The echo: false option disables the printing of code (only output is displayed).