Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

# Stay motivated with R programming by knowing your emotions

We don’t usually think of programming as an ‘emotional’ experience. It is all code and computer logic and if using R, probably statistics.

But recognising the emotions you face when programming can help you be more productive.

In fact if you ask R about emotions it will probably tell you something blunt and opaque like object of type 'closure' is not subsettable.

However, programming can be intensely emotional, and I often confront these emotions when teaching newcomers.

Here is a list of some of the emotions new R users commonly report:

Fr

## Seeing emotions as motivating

Frustration – can be stressful. See the problem as a challenge, puts it in a positive light.

## managing emotional state

When frustration becomes demotivating and overwhelming.