Requires R.
- For Windows, set config
r.rterm.windows
to yourR.exe
Path like"C:\\Program Files\\R\\R-3.3.4\\bin\\x64\\R.exe"
; - For Radian console, enable config
r.bracketedPaste
- Open your folder that has R source file (Can't work if you open only file)
- Use
F1
key andR:
command orCtrl+Enter
(Mac:⌘+Enter
)
- Run Source(
Ctrl+Shift+S
or Push icon) and Run Selected Line (Ctrl+Enter
) - Run
nrow
,length
,head
,thead
,names
functions (Ctrl
+1
,2
,3
,4
,5
)- If you are using Mac
Ctrl
to⌘
- If you are using Mac
- R Integrated Terminal
- Run code in terminal containing existing R session, for example over SSH (
Run Selection/Line in Active Terminal
) - Run all commands in terminal containing existing R session (enable config
r.alwaysUseActiveTerminal
)
- Extended Syntax(R, R Markdown, R Documentation)
-
Create .gitignore based R.gitignore
-
Data frame viewer and Environment viewer(
Preview Data frame
orPreview Environment
)
-
Snippets
-
Package development short cut (
Load All
,Test Package
,Install Package
,Build Package
andDocument
)
- R base from https://www.r-project.org/
This extension contributes the following settings:
-
r.rterm.windows
: set to R.exe path for Windows -
r.rterm.mac
: set to R term's path for Mac OS X -
r.rterm.linux
: set to R term's path for Linux -
r.rpath.lsp
: set to R.exe path for Language Server Protocol -
r.rterm.option
: R command line options (i.e: --vanilla) -
r.source.encoding
: An optional encoding to pass to R when executing the file -
r.source.focus
: Keeping focus when running (editor or terminal) -
r.alwaysUseActiveTerminal
: Use active terminal for all commands, rather than creating a new R terminal -
r.bracketedPaste
: For consoles supporting bracketed paste mode (such as Radian) -
Language server(developing here)
- Output Plot
- Debug
- Please see CONTRIBUTING.md
This extension based on
I hope you will join us.
- Q: I can't use command and message is
xxx no command found
. - A: Please open your folder that has R source file
The R logo is © 2016 The R Foundation