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
0 answers
No answers yet.
Log in to answer this question.
Hello M.O.L.S!
We believe that this post does not fit the main topic of this site.
Not a bioinformatics question. You'll want to look for some markdown tutorials.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!