Sublime Forum

Executing shell

#1

Hello, I am trying again with this question (see https://forum.sublimetext.com/t/changing-shorcut-and-command-behaviour/14419/1):
I would like to automatize same shell commands but I keep failing. Can anyone provide nice, elaborate, step-by-step howtos?

  • run R and respective packages + command
    In particular, Rnw files are getting more and more used. They combine makdown and R-environment for statistics. knitR seems to do something, but not all that should be done. The way I see it’s done efficiently is to make my Rnw file and then, in R to do the following:
    require(rmarkdown) # or library(rmarkdown)
    render(<FILENAME>.Rnw)

That’s it! Unfortunately, I cannot figure out how to make cmd and then how to link it with some hotkey.

Can anyone help?

Many, many Thanks! PM

0 Likes