Skip to content
Discussion options

You must be logged in to vote

Both ways are "good":

  • Jupyter engine + rpy2
  • knitr engine + reticulate

In both cases, you need to be sure the engine is seeing the proper collection of R packages or Python libraries, i.e., you might need some extra step to help rpy2 locate your R library or to help reticulate locate your Python library.

Your issue with knitr + reticulate not able to use some your Python libraries is a setup issue.
I am no expert of reticulate, but I know you can set the location of your Python install and/or install python modules/libraries using reticulate. Both should help solve your issue.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by uriahf
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants