Running R scripts from Sublime Text

Here’s a quickie for running your R scripts directly from within Sublime Text by using the Build System functions. Go to Tools -> Build System -> New Build System… and enter the following in the opened editor window: {     “shell_cmd”: “R –no-save –slave < $file" } Save it as something like “Run-R”, and it will […]

March 29, 2016   Tags: r, sublime  No Comments

R, the acf function and statistical significance

The R language provides us with a useful method to calculate the autocorrelation function (ACF) of a time series. An example of an environmental time series with a seasonal cycle is shown below, with the resulting plot: corr

January 20, 2010   Tags: apps, r  20 Comments