posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 90 forks source link

Reticulate: Access ipykernel path #5368

Closed dfalbel closed 6 days ago

dfalbel commented 1 week ago

This PR pairs with: https://github.com/rstudio/reticulate/pull/1692 The reticulate PR addresses: https://github.com/posit-dev/positron/issues/3502#issue-2347621967

It allows Reticulate to reliably obtain the path to the Positron inspectors.py which implements the variables pane methods. By calling:

.ps.ui.executeCommand("positron.reticulate.getIPykernelPath")