-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support VSCode Notebook API #378
Comments
I would like to contribute to this extension and get r vscode working with the Jupyter extension notebook (ipynb). Please advice if such a PR would be welcome and of there's any prior work that I can contribute to or pickup. @Ikuyadeu @renkun-ken /cc |
@DonJayamanne Thank you for your suggestion. Of course, we welcome your PR. Moving notebook functionality to the Jypyter extension helps simplify the role of this extension. As an additional future, I hope we can also move the R markdown execution to that extension. (See # 465) |
Based on what I can tell, this extension doesn't really start any R kernel. I assumed this extension had its own R kernel (manually spinning up an R process & the like), however that doesn't seem to be the case. |
@DonJayamanne #394 is an experimental PR to implement the Notebook API. Only in this PR we implement a simple R kernel that evaluates code from notebook cells. |
Thanks. I've had a look at the code & I'm struggling to see the need for spawning a kernel manually. Thanks. Please could you try using the Native Notebooks in Jupyter extension & let me know what is missing:
|
Actually I take it back, I had a look at the extension and can see a lot of features that would not be available. |
Should I submit changes to your branch, or should I submit changes to a whole new feature branch in this repo (e.g. notebook or feature/notebook)? |
@DonJayamanne I'm okay with either way, submitting to my branch or creating a new branch on your own, just go ahead with whatever you feel comfortable with. I'm curious about one thing. If an extension uses the proposed API (e.g. notebook api), then does it require vscode-insider to use other stable features? |
For now Proposed API can only be used when debugging or launching vscode with a special command.
What ever i do will sit behind a feature flag, this way it can be tested in VS Code insiders and we can ship this if users wish to try it out. |
@DonJayamanne This is very exciting! What is your ballpark plan for this sort of feature? Given the amazing progress you have done with the julia notebooks already, this would be the next big missing link for my university. |
I've been working on this for a while now, and hit a few issues. My plan is to get this done within the next week or two. But it will be very much in preview. Will try to merge back my changes into this PR sometime this week #394 |
Given that the notebook API has been in stable for some time now, are there any plans to add R support through this extension? The Python and Julia extensions seem to already support it (since I can select Python and Julia kernels), and it would be great if R was added to that list as well (after all, Jupyter means Julia, Python, and R 😄). |
Hi @DonJayamanne, sorry to bother, I was wondering how far you got into looking into this + if there was any help that I could provide or would be helpful? Last I remember was an issue with the portability of the R kernel |
This issue is stale because it has been open for 365 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Unstale. IRkernel should be adapted for this purpose, though. See IRkernel/IRkernel#685. |
We could explore the VSCode Notebook API and see if we could build something out from it.
The text was updated successfully, but these errors were encountered: