I keep meaning to note this. I wrote a little page with some remarks on learning R, which are meant as encouragement. The two key things are to work together, and to try to frame frustrations and mistakes as productive moments of learning. I’ve also added a couple of notes on the practicalities of debugging.