R plugin docs, release, minor fixes, add samples