jet.ark is an R plugin for Neovim, powered by the Ark jupyter kernel. jet.ark is an extension plugin for jet.nvim.
https://github.com/user-attachments/assets/6b08cf62-bd00-4470-b488-5953b654c11c
:ArkHelp {topic} brings up a help viewer, powered by Ark's help comm:ArkVars brings up a variables pane, powered by Ark's variables commYou'll need to install Ark and tell jet.ark where the binary lives. In the future this plugin will handle downloading Ark for you.
-- You'll need to include both jet.nvim and jet.ark
vim.pack.add({ "https://github.com/wurli/jet.nvim" })
vim.pack.add({ "https://github.com/wurli/jet.ark" })
require("jet").setup({})
require("jet.ark").setup({
ark_binary_path = "path-to-ark-binary",
})
See jet.nvim for advice on creating keymaps, e.g. to send code to the R console.
You can open the R console using :Jet, or using jet.nvim's Lua api:
vim.keymap.set("n", "<leader>jr", function()
require("jet.api").get_kernel({ filetype = "r" }, function(k) k:term_toggle() end)
end, { desc = "Open R (Jet)" })
Ark's LSP will start automatically and attach to any R buffer you have open.
147 commits
Lua
85.8%
Python
10.8%
Shell
2.2%
Makefile
1.1%
jet.ark is an R plugin for Neovim, powered by the Ark jupyter kernel. jet.ark is an extension plugin for jet.nvim.
https://github.com/user-attachments/assets/6b08cf62-bd00-4470-b488-5953b654c11c
:ArkHelp {topic} brings up a help viewer, powered by Ark's help comm:ArkVars brings up a variables pane, powered by Ark's variables commYou'll need to install Ark and tell jet.ark where the binary lives. In the future this plugin will handle downloading Ark for you.
-- You'll need to include both jet.nvim and jet.ark
vim.pack.add({ "https://github.com/wurli/jet.nvim" })
vim.pack.add({ "https://github.com/wurli/jet.ark" })
require("jet").setup({})
require("jet.ark").setup({
ark_binary_path = "path-to-ark-binary",
})
See jet.nvim for advice on creating keymaps, e.g. to send code to the R console.
You can open the R console using :Jet, or using jet.nvim's Lua api:
vim.keymap.set("n", "<leader>jr", function()
require("jet.api").get_kernel({ filetype = "r" }, function(k) k:term_toggle() end)
end, { desc = "Open R (Jet)" })
Ark's LSP will start automatically and attach to any R buffer you have open.
147 commits
Lua
85.8%
Python
10.8%
Shell
2.2%
Makefile
1.1%