atom-r-exec icon indicating copy to clipboard operation
atom-r-exec copied to clipboard

Not working with iTerm 2.9

Open thejmazz opened this issue 8 years ago • 7 comments

Works with Terminal. Tried closing iTerm fully, then opening again, going to project dir, opening file with atom, starting R, then cmd+enter. Only one iTerm window, and its running R. Where to start looking?

For the time being its fine, I'll just have to use terminal lol

thejmazz avatar Mar 23 '16 03:03 thejmazz

@thejmazz thanks for the bug report. could you give me some more information? perhaps versions of:

  • atom
  • r-exec
  • iTerm
  • Mac OS X

Also, when it doesn't work, is anything output to the development console (View -> Developer -> Toggle Developer Tools)?

Thanks,

Harold

pimentel avatar Mar 23 '16 19:03 pimentel

np.

Thing Version
Atom 1.6.0
r-exec 0.3.4
iTerm 2.9.20160313
OSX 10.11.3 (15D21)

The error is syntax error: Expected end of line but found identifier., coming from the child process I believe.

Heres some of the callstack:

screen shot 2016-03-23 at 10 46 29 pm screen shot 2016-03-23 at 10 45 17 pm

thejmazz avatar Mar 24 '16 02:03 thejmazz

This is helpful, thanks. Could you show me the code you are trying to send? (context isn't important, just what you are trying to send).

This is a bit weird. I am on Mac OS X 10.10... I'm wondering if this is some weird applescript issue.

pimentel avatar Mar 24 '16 05:03 pimentel

Um, I was cmd+enter'ing on a source() line. But it was not working anywhere. and setwd wouldn't go through either.

source("ontology-explorer.r")

thejmazz avatar Mar 24 '16 05:03 thejmazz

Hi @thejmazz,

Have you tried the latest version? There is now a iTerm and iTerm2 mode since apparently some of the applescript API has changed. Can you try iTerm2 mode and see if it works? This is available in the latest release of atom-r-exec.

Thanks!

pimentel avatar Jun 16 '16 16:06 pimentel

Sure, I'll update and try again soon.

thejmazz avatar Jun 19 '16 15:06 thejmazz

Hi,

First of all, thanks for maintaining the R-exec package, it's great! I just wanted to let you know that I'm having the same problem as @thejmazz, running R-exec 0.3.5, iterm2 3.0.5, OSX 10.11.6, and Atom 1.9.7. R-exec works fine when I send to R.app or terminal, but not when I set "Which App" to iTerm2. I'm getting basically the same callstack as posted above. Just wondering if you've figured out what the issue is?

sacul-git avatar Aug 10 '16 18:08 sacul-git