Fix typo in "R differences" subsection

Example Julia array has a typo and results in an error.
(cherry picked from commit 5c6fcdd52ec1cb48657ec3adac9259ff93d8c6e7)