-
Notifications
You must be signed in to change notification settings - Fork 90
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
Assigning large matrices in R takes long when this extension is enabled #122
Comments
I’m having a hard time trying to debug this. @jmdc-dkanazawa created a simpler way to reproduce this, though: {myiris <- bind_rows(replicate(1000, iris, simplify=F)); NULL}
# With the variable inspector active, we have a 10 second wait here
dim(myiris) The wait is after the first line displayed and before the second one is executed. |
Thanks @flying-sheep
|
Does this still happen with the current version? I cannot reproduce it. |
Yes |
same here, r kernel get blocked quite a while after i create a big object |
See: jupyterlab-contrib/jupyterlab-variableInspector#122 Thanks to Antoine Chesnais for reporting!
Still reproduces. Should it be fixed in IRkernel or in jupyterlab-variableInspector? |
I’m almost sure it needs to be fixed here, maybe because of https://github.com/lckr/jupyterlab-variableInspector/blob/9ee08df7804285a8ef700cc63f7a23f779f3771e/src/inspectorscripts.ts#L265 IRkernel uses the |
I'm not too fluent with R, if you could confirm, e.g., by changing the R script to use |
I’m not using R these days myself. Maybe @ekungurov can do it. What we’re trying to do is to find the content that gets huge, and either prevent that or only use fast code to handle it. You could try using |
Hi! Thank you for making this work with my IRkernel, it’s great!
We have a problem with performance though. Please check out IRkernel/IRkernel#571 (comment) for context.
I assume it’s this line:
https://github.com/lckr/jupyterlab-variableInspector/blob/9ee08df7804285a8ef700cc63f7a23f779f3771e/src/inspectorscripts.ts#L265
But it could be something else. Can you figure it out?
The text was updated successfully, but these errors were encountered: