python chunk rmarkdown

Hi all

I have been using the reticulate package in Rmarkdown and I was wondering if there is any short cut to create a python chunk.

For example to create a R chunk in Rmarkdown I use ctrl + alt I but I haven't found how to do the same for python chunks.

Pura Vida

1 Like

There's no keyboard shortcut for insert python chunk in default.

However as Rstudio supports customized keyboard shortcut you can.

Goto the Tools and select Modify Keyboard Shortcuts....

for me, I found insert chunk python with using chunk keyword in search.

Hope it helped.



This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.