| CARVIEW |
Select Language
HTTP/2 200
date: Sun, 28 Dec 2025 02:33:23 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"6cfa1518f32252dd9b53c1c920652fd4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=R8Ez8zztBQCpHRLqouKrvGpCicTBFd8B4EplT0%2BsnMUQceOtslnjSZSp4%2FFnb67w4JDyN8b3C7Hn6Ef6XNTVB1RbSuK3PGsPxA2rPNxdl9OCrEIX7%2Fe3tS9EPfFubYXgpHtHX4THwcZnvPSyTnQSh0VCHsua7LB64%2BAJRZL%2F0WONPXYgY7XAYlNDxRDRgeiptN5OWcP8vdNy8VTzK3erh9ahY3FJpAwSHF1AgvjHfs7rRLnOZeBIUOmOqS%2BR566HfaQfJ4c42lfqkoke2zk5cw%3D%3D--d1BVwSTiQ2btJqHk--asj77s7H%2BJrOlMb08omg8A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.883750360.1766889202; Path=/; Domain=github.com; Expires=Mon, 28 Dec 2026 02:33:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 28 Dec 2026 02:33:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CA78:39494F:4A12FA0:598F8C8:695096F2
GitHub - vim-scripts/R.vim: Send R code from a VIM buffer to R
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 0
Send R code from a VIM buffer to R
vim-scripts/R.vim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a mirror of https://www.vim.org/scripts/script.php?script_id=1048 Send R code from a VIM buffer to R on Unix type systems using funnel.pl from vimscript #221. Contains README.R_with_vim ftplugin/r.vim ftplugin/rnoweb.vim ftplugin/funnel.pl syntax/rhelp.vim syntax/rnoweb.vim Makefile.rnoweb Fernando Henrique Ferraz Pereira da Rosa is now a coauthor of this plugin (starting from version 0.03). He helped me fixing a bug and started the syntax file for mixed highlighting of Latex and R syntax (syntax/rnoweb.vim). I set up a small project page for this plugin, featuring a screenshot: https://www.uft.uni-bremen.de/chemie/ranke/?page=vim_R_linux You can browse the subversion repository where these files are at home: https://kriemhild.uft.uni-bremen.de/viewcvs/?root=vim Alternatives for Mac Os X include vimscript #1741 and vimscript #2104. Under Windows, I am now using a quite simple solution, consisting of the installation of the rcom package for R which requires statconnDCOM from https://rcom.univie.ac.at and ActiveState Perl in the PATH (watch out if you use R tools, because GNU perl does not have the DCOM interface, so ActiveState perl needs to be first in the path). My ftplugin/r.vim under Windows: perl << EOF sub rsourceclipboard { use Win32::OLE; my $R = Win32::OLE->GetActiveObject('RCOMServerLib.StatConnector') || Win32::OLE->new('RCOMServerLib.StatConnector'); $R->Evaluate("source('clipboard', echo=TRUE)"); $R->Close; } EOF vnoremap <buffer> r "*y:perl rsourceclipboard<CR> This means that the visual selection is pasted to the clipboard and the clipboard content is sourced by R when the key "r" is pressed in visual mode.
About
Send R code from a VIM buffer to R
Resources
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.