Skip to content

Software

stacyderuiter edited this page May 24, 2021 · 7 revisions

Matlab

The tag tool kit originated in matlab, so many of the file in/out and calibration tools will be translated from matlab to octave and R. Matlab is paid software (you need a license to install it). Getting started in Matlab:

Octave

Octave is being developed as a free alternative to matlab. Its capabilities have really matured recently, and in it you can use nearly exactly the same code as in matlab to achieve the same results.

Getting Octave

You can download the software at https://www.gnu.org/software/octave/.

Learning Octave

Some online tutorials are available:

R

R is free statistical computing software. We will use it via the RStudio IDE.

Getting R and RStudio

First, install R from https://cran.r-project.org/. Then, install RStudio from https://www.rstudio.com/products/rstudio/download2/ -- the Desktop, open-source version.

There are some more detailed installation instructions available, too.

Using R and RStudio

Some tutorials for getting started in R via RStudio:

Using GitHub with RStudio

We will use GitHub for version control on the tag tools software. There are plenty of resources online about using Git. You can use it via the command line, but for starters I suggest you access it via RStudio. Here are some tips and resources for getting started:

Creating packages in R

Our tagtools will be bundled together in an R "package". This requires a lot of specific documentation and formatting so that it meets the standards of CRAN, the organization that manages and distributes R packages to users. There is a great online reference that can help guide you through the process of creating (and adding to) an R package: