fix go path, and add R snippets