From 8d706f0be62fab62e0ed247e4b8f430c390ca701 Mon Sep 17 00:00:00 2001 From: Chris Endemann Date: Thu, 25 Jan 2024 08:00:11 -0600 Subject: [PATCH] Create code_output_demo.Rmd --- episodes/code_output_demo.Rmd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 episodes/code_output_demo.Rmd diff --git a/episodes/code_output_demo.Rmd b/episodes/code_output_demo.Rmd new file mode 100644 index 00000000..3dea1db8 --- /dev/null +++ b/episodes/code_output_demo.Rmd @@ -0,0 +1,15 @@ + +--- +title: "R Markdown with Python" +output: html_document +--- + +You can include Python code in R Markdown documents. R Markdown is a versatile document format that supports multiple programming languages. To include Python code, you can use code chunks with the {python} option. + +Here's an example of how you can include Python code in an R Markdown document: + +## Python Code in R Markdown + +```{python} +# This is a Python code chunk +print("Hello from Python!")