Here is a great overview how to get started with ess-tracebug.

# Tag: applied statistics

## R 3.1.1 out and it fixes the package manager function

Via gog.

## Some good projects or courses of study for R

- The R Book
- Coursera specialization
- http://rpubs.com/thoughtfulbloke/subset
- http://blog.revolutionanalytics.com/2014/03/emacs-ess-and-r-for-zombies.html
- http://adv-r.had.co.nz/
- rs.io: 100+ interesting data sets for statistics
- The Elements of Statistical Learning: Data Mining, Inference, and Prediction
- https://www.youtube.com/watch?v=FL9Q43zO1BQ via http://blog.printf.net/articles/2014/03/03/more-technical-talks/
- How to spot a probable liar

## How to install R on OSX 10.9 Mavericks as of 2014-06-01T19:29:55-0500

Here is how to install R on OSX 10.9 Mavericks as of 2014-06-01T19:29:55-0500:

```
brew install gcc
brew tap homebrew/science
brew install R
```

Details:

```
gcr@orion:~> gcc --version
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcr@orion:~> r --version
R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.2.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.
```

Continue reading “How to install R on OSX 10.9 Mavericks as of 2014-06-01T19:29:55-0500”

## Approximation over precision

Far better an approximate answer to the right question, which is often vague, than an exact answer to the wrong question, which can always be made precise.

(via John Tukey via Jerry Smith)

## Indenting new curly bracket blocks with smartparens for R

Emacs speaks statistics handle indentation for curly bracket blocks quite well. My preference was to have, after inserting matching opening and closing curly brackets, a newline with the cursor indented one block in. This post in particular describes the solution; it worked fine as of today.

**Addendum: 2014-04-17**

Here is the code snippet from the above link:

```
(sp-local-pair 'c++-mode "{" nil :post-handlers '((my-create-newline-and-enter-sexp "RET")))
(defun my-create-newline-and-enter-sexp (&rest _ignored)
"Open a new brace or bracket expression, with relevant newlines and indent. "
(newline)
(indent-according-to-mode)
(forward-line -1)
(indent-according-to-mode))
```

**Addendum: 2014-05-06**

Here is a link to the documentation on using pre and post pair handlers.

## CPR for Statistics

All statisticians should be proficient in C (for speed), perl (for data manipulation), and R (for interactive analyses and graphics). Think “CPR”.

## Getting Started With R

- Read the posting guide, and sign up to the r-help mailing list
- Join sci.stat.consult (applied statistics and consulting) and sci.stat.math (mathematical stat and probability) for asking Statistics related questions
- Modern Applied Statistics with S. Fourth Edition and An Introduction to R were mentioned in the posting guide
- Download R

## Where to Find Jobs in Statistics

## Serious Statistics Programs Pay for the Fun Ones

Here is an article that explains how one of the four co-founders of SAS, a statistician, has an awesome job where the serious product (SAS) pays for him to develop the fun product (JMP).

Note: That is an understatement, as it probably would pay for him to stare at the ocean for the rest of his life if he wanted. It is still a good point, though: sell serious stuff to pay for the fun (for you) stuff.