Comments (8)
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.
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.
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.
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.
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.
Any news about a workaround to use RTools in ST3?
from rtools.
'syntax_name' in ST2 became 'scope_name' in ST3
from rtools.
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)
- Auto-completion for R (R.sublime-completion file) HOT 4
- ST2 function tooltip for R HOT 1
- Allow communicating with other R sessions HOT 7
- ST2 linter for R
- Roxygen generator clarification HOT 2
- Cmd+b conflicts with the default keybinding for "build"
- R-build system not being picked up automatically HOT 1
- Compile Rmd file using knitr HOT 1
- Using Rtools in Windows HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtools.