syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.57k stars 4.9k forks source link

Using R in ess freeze for few second when cursor in print() function #6081

Closed boboRAY closed 4 years ago

boboRAY commented 8 years ago

I'm writing R in spacemacs Every time when my cursor go into print('cursor slow here'), my spacemacs freeze for a few second and become very laggy in print function Can anyone help here Thanks

izahn commented 8 years ago

Are you writing directly at the R prompt (i.e. the "inferior" R buffer) or in a separate R script (i.e., an "R-mode" buffer)?

Which spacemacs branch are you on? What version of ESS do you have installed?

On Wed, May 18, 2016 at 10:50 AM, boboRAY notifications@github.com wrote:

I'm writing R in spacemacs Every time when my cursor go into print('cursor slow here'), my spacemacs freeze for a few second and become very laggy in print function Can anyone help here Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/syl20bnr/spacemacs/issues/6081

boboRAY commented 8 years ago

Hi @izahn

I have this problem both in R prompt and R scirpt (After I started an iESS buffer)

Where can I check my spacemacs branch and ESS version?

a13ph commented 8 years ago

@boboRAY Sorry you had no response for so long. You can use SPC h d s to copy your versions and some other info to paste here.

boboRAY commented 8 years ago

Hello @a13ph Here is my spacemacs information

System Info

(python ipython-notebook version-control eyebrowse dash shell osx ess go auto-completion emacs-lisp git syntax-checking)
izahn commented 8 years ago

@boboRAY I never noticed this until I tried turning smartparens mode on (I usually disable it). For me I only have problems in the iESS buffer, not in R scripts, so it seems that we are not seeing exactly the same thing. Nevertheless, can you try disabling smartparens and see if that fixes things for you? You can disable it by adding it to dotspacemacs-excluded-packages, e.g., I have dotspacemacs-excluded-packages '(yasnippet smartparens) in my .spacemacs.

boboRAY commented 7 years ago

@izahn Thanks for reply. I had tried and seems no problems here.

izahn commented 7 years ago

@boboRAY do you mean that excluding smartparens fixes the slowdown you were noticing in ESS? If so I don't think this issue should be closed. While I personally hate smartparens and disable it anyway, lots of people like it and it would be nice for them if it didn't break ESS. Lets leave this issue open to encourage someone to look into why smarparens and ESS don't play nicely together.

boboRAY commented 7 years ago

@izahn Yes, it fixed my problems!

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!