Code Monkey home page Code Monkey logo

intermediater's Introduction

IntermediateR

2 day workshop material for "intermediate" R training with examples focusing on use for pharmaceutical sciences

Please feel free to contribute.

This is an amalgamation of material from around the web and books that have made understanding and using R easier.

One of the biggest issues in diving into R is examples not targeted towards specific demographics - in my case, pharmaceutical sciences.

My goal is to rectify that by providing more relevant examples to the material at hand.

Navigating this repo:

Most of my writing is done in sublimetext (ST) 3. To facilitate tracking of issues, additions, etc (beyond the git repository) I use a "new" official ST3 TODO package called TodoReview may be installed via package control (search TodoReview) and is actively being updated.

I have TODO patterns for the following:

  • BUG
  • FIXME
  • NOTE
  • TOCHANGE
  • TODO

For example, if I want to add a FIXME not I could simply type:

FIXME: example does not compile when .....

To replicate my settings you can simply add the following information to your sublime settings (under Preferences):

    "todo":
    {
        "case_sensitive": true,
        "file_exclude_patterns":
        [
            "*.css",
            "*.po",
            "*.mo",
            "*.HTML",
            "*.sublime-settings",
            ".RData",
            ".Rhistory"
        ],
        "folder_exclude_patterns":
        [
            "static",
            "vendor",
            "tmp",
            ".Rproj.user"
        ],
        "patterns":
        {
            "BUG": "BUG[(]*.*[)]*:+(?P<bug>.*)$",
            "FIXME": "FIXME[(]*.*[)]*:+(?P<fixme>.*)$",
            "NOTE": "NOTE[(]*.*[)]*:+(?P<note>.*)$",
            "TOCHANGE": "TOCHANGE[(]*.*[)]*:+(?P<tochange>.*)$",
            "TODO": "TODO[(]*.*[)]*:+(?P<todo>.*)$"
        },
        "result_title": "TODO Results"
    },

Along with the following user key bindings (note: keybindings will not work with old ST2 SublimeTODO plugin as the args has changed - ST2 version was open_files_only vs the current open_files)

{
  "keys": ["ctrl+shift+t"],
  "command": "todo_review",
  "args": {"open_files": false}
},
{
  "keys": ["ctrl+shift+alt+t"],
  "command": "todo_review",
  "args": {"open_files": true}
}

So the list of TODOs can be opened with ctrl + shift + t to see all TODO patterns and ctrl + alt + shift + t to see only TODO patterns with open files only.

The TODO list can also be found using the command pallete ctrl + shift + p + todoresults

intermediater's People

Contributors

dpastoor avatar

Watchers

 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.