randy3k / radian

A 21 century R console
MIT License
1.98k stars 73 forks source link

typing delayed in radian console #262

Open ddzhang3 opened 3 years ago

ddzhang3 commented 3 years ago

My radian console seems to have 2 uncomfortable issues:

  1. It starts slowly;
  2. there's a delay in the second character in every word-typing, like this: radian

Instead, the original R console does neither starts slowly nor suffers from a delay: R

r --version radian version: 0.5.10 r executable: /home/apps/R/4.0.2/lib64/R/bin/R r version: 4.0.2 python executable: /home/users/ddzhang/python/3.9.1-env/bin/python3 python version: 3.9.1

How to avoid this two issues? Thanks

randy3k commented 3 years ago

To be honest, I don't know exactly what causes it. Maybe trying to disable 'auto completion while typing'?

MilesMcBain commented 3 years ago

Thanks for making these videos @ddzhang3. My colleague @anthonynorth and I have also been seeing this for a while.

I found that disabling auto completion while typing does improve things somewhat. However it still feels slightly sluggish compared to typing in a vscode editor window, which is a bit surprising to me since I think vscode is probably doing way more work on the fly.

ddzhang3 commented 3 years ago

@MilesMcBain Yes, it seems to work without obvious pause after I start the radian console for a while, maybe half hour later. However, the pause appears again in the next fresh start.

Fred-Wu commented 3 years ago

I found this a bit annoying as well. Also it becomes more sluggish after finishing a big job.

karchern commented 1 year ago

are there any updated on this? I'm seeing this too and the problem is so bad that I can't really use radian, which is unfortuante since it's otherwise so superiour to the standard R console

albersonmiranda commented 8 months ago

I'm having this issue since yesterday, which is strange because I use Radian since 2020 and didn't change anything recently. Disabling auto completion improved performance but I miss it!