added R file and binaries