Off topic:How to upload python modules into RMarkdown document?
0
0
Entering edit mode
5.2 years ago
M.O.L.S ▴ 100

I would like to find out how I can use python in RMarkdown. I would like to generate a PDF document of python code and text, using R markdown. I also have some R code that I would like to include in different places.

I want to input python code into Markdown and install all of the python packages too.

I have already installed the reticulate package into R and opened it using library(reticulate). I then typed use_python() , but i don't known what to do next or how to find the python on my computer.

I have IDLE installed on my machine, as I have recently learnt to use this rather than any package managers.

I specifically would like to do this with RMarkdown rather than Jupiter notebooks.

Do you have any ideas?

Regards

python rstudio rmarkdown R biological • 564 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1780 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6