Fixing list initialization in the R example.

It's a possible solution for the following issue

https://github.com/adambard/learnxinyminutes-docs/issues/52