Skip to content
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

Not working with iTerm 2.9 #31

Open
thejmazz opened this issue Mar 23, 2016 · 7 comments
Open

Not working with iTerm 2.9 #31

thejmazz opened this issue Mar 23, 2016 · 7 comments

Comments

@thejmazz
Copy link

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

@pimentel
Copy link
Owner

@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

@thejmazz
Copy link
Author

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

@pimentel
Copy link
Owner

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.

@thejmazz
Copy link
Author

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")

@pimentel
Copy link
Owner

pimentel commented Jun 16, 2016

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!

@thejmazz
Copy link
Author

Sure, I'll update and try again soon.

@sacul-git
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants