If a string in R contains characters with diacritics, the pulled string in Ruby is shortened by number of these characters.
For instance, this code
require "rinruby"
R.eval "text <- 'zkouška'"
print R.pull "text"
prints zkoušk only. (Tested on Ruby 2.1.5, R 3.2.2, Ubuntu 15.10.)
Anyway - thanks for rinruby, it's really useful! (I use it in Jekyll plugin to generate a website from Rmd files.)