Giter Club home page Giter Club logo

Comments (8)

karthik avatar karthik commented on June 27, 2024

Thanks for opening this issue. I haven't upgraded to ST3 yet so I don't know how much work is involved. I'll leave this open in case anyone wants to submit a pull request before I get around to it.

from rtools.

jlegewie avatar jlegewie commented on June 27, 2024

It should be pretty easy to fix this. Eady, can you post the error message from the console here and try to run python 2to3 on the py file?

from rtools.

GregoryEady avatar GregoryEady commented on June 27, 2024

There actually is no error message. I hit cmd-enter from ST2, and the R code is executed in the R window. When I do the same in ST3 (having gone through the same installation procedure), nothing happens.

Note: with R 3.0.0, one has to change the appropriate text in rtools.py from "R64" to "R" because there are no longer separate R64 and R, but that worked fine when I did that in ST2.

from rtools.

karthik avatar karthik commented on June 27, 2024

Note: with R 3.0.0, one has to change the appropriate text in rtools.py from "R64" to "R" because there are no longer separate R64 and R, but that worked fine when I did that in ST2.

Right. I didn't want to change it because I don't want it to break for anyone who hasn't upgraded. It's a simple edit that people can do locally.

from rtools.

GregoryEady avatar GregoryEady commented on June 27, 2024

I tried 2to3, but it didn't seem to change anything.

This is the error:

Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 531, in run_
return self.run(edit)
File "/Users/nameeady/Library/Application Support/Sublime Text 3/Packages/Rtools/Rtools.py", line 35, in run
filescope = self.view.syntax_name(self.view.sel()[0].b)
AttributeError: 'View' object has no attribute 'syntax_name'

from rtools.

sdaza avatar sdaza commented on June 27, 2024

Any news about a workaround to use RTools in ST3?

from rtools.

persquare avatar persquare commented on June 27, 2024

'syntax_name' in ST2 became 'scope_name' in ST3

from rtools.

karthik avatar karthik commented on June 27, 2024

I moved development over here: https://github.com/karthik/Rtools3

roxygen documentation works now. Thanks @persquare
Will update sending text to R/terminal/RStudio

from rtools.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.