fix bug with generic (V1...Vn) names of keys
redirect output to R-console and not to stdout (using Rprintf instead of
printf)