Sublime Forum

REPL package for R

#1

Hello. I am using R via the REPL package on sublime text 3. In the original R Console from the R software, if I have a set of code in an external file like this:

Note: there is “>” in front of each line##

> data<-rnorm(100, mean = 2, sd = 3.2)
> mean(data)
> sd(data)

I can copy the code and paste it into R without the “>” using “Paste commands only” (In the original R Console from the R software, right click the mouse and you can see "“Paste commands only”.), and then I can run the code.

Is there similar operation in R through REPL package on Sublime Text 3?

Much appreciated.

0 Likes