Fixed example
Attempt at making R functions easier to use, but hit the Julia issue #2403
converter for R objects