Giter Club home page Giter Club logo

rtools's Introduction

Rtools for Sublime Text 2

This package provides a couple of useful tools for people using Sublime Text 2 to code in R. It has the key bindings to send a selection of code to R, and can also generate Roxygen documentation templates for any function quickly (select first line of a function till the first {, press keybinding and it will generate a template with @params from the function definition).

We plan to add functionality of formatR so you can format/tidy code inline to the next version. Please suggest other feature requests as issues (preferably tagged as a feature request).

Installation

Installing via Package Control: The fastest way to install is via the command palette (open command palette, type in Install Packages, and once list is populated look for R tools)

If you don't have package control installed, the just clone this repo into your Sublime Text 2/packages directory

git clone [email protected]:karthikram/Rtools.git

Customization

  1. Since I am on OSX and use R64.app, I have set it up that way. If you prefer to use 32-bit R, replace R64 with R in the Rtools.py file. In windows (untested), you should set it to the R.exe file you wish to use.

  2. I have included a basic roxygen template to populate the section above each file. If you prefer to have fewer or more fields, I will move it to a settings file in a future version. For you you can edit Rtools.py or post it as an issue and I will update it.

Key bindings

To preserve or change these key bindings, copy them to your Key Bindings - User file.

rtools's People

Contributors

karthik avatar wch avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

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.