-
Notifications
You must be signed in to change notification settings - Fork 0
/
blank_python_in_rstudio.Rmd
30 lines (26 loc) · 1.01 KB
/
blank_python_in_rstudio.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "TITLE"
subtitle: "SUBTITLE"
author: "AUTHOR"
date: "Last knitted `r format(Sys.Date(), '%d %b %Y')`"
output:
html_document:
df_print: paged
number_sections: yes
toc: yes
toc_float: true
toc_depth: 3
code_folding: show
editor_options:
chunk_output_type: inline
---
> Click into a code cell (the gray blocks below) to select or edit it. To run a selected code cell, hit `Ctrl`+`Shift`+`Enter` (Windows & Linux) / `Command`+`Shift`+`Enter` (MacOS). Make sure that each code cell runs successfully before you move on to the next one.
```{r, include = FALSE, message = FALSE}
# required behind the scenes to find the correct python installation
library(reticulate)
# include the following command to activate a specific conda environment:
use_condaenv(condaenv = "class", required = TRUE)
# note that this may get stuck knitting automatically in RStudio but will work
# if you knit manually using the following command from the console:
#rmarkdown::render("example_python_in_rstudio.Rmd")
```