Fix typo in "R differences" subsection

Example Julia array has a typo and results in an error.
Merge pull request #9307 from sbromberger/patch-1

Fix typo in "R differences" subsection