Surya Ramaraj
Surya Ramaraj

Reputation: 41

What is the command to invoke RStudio from Command Line in linux environment?

I am looking for the command to invoke RStudio from Linux. I VNC into the linux system and don't see any other option to launch RStudio from the gnome-terminal. I know R files can be directly read in the terminal, but I searched and couldn't find any command to invoke RStudio.

Upvotes: 4

Views: 21610

Answers (4)

tanmayg
tanmayg

Reputation: 11

run this to open r studio from command line:

open -na Rstudio

Upvotes: 0

user6433193
user6433193

Reputation:

On Arch the command is

rstudio-bin

Upvotes: 2

Dirk is no longer here
Dirk is no longer here

Reputation: 368469

Are you referring to the RStudio desktop version, or the server instance? The former is started by just calling rstudio:

edd@rob:~$ type -p rstudio
/usr/bin/rstudio
edd@rob:~$

The latter is always running and started as system process:

edd@rob:~$ systemctl status rstudio-server
● rstudio-server.service - RStudio Server
   Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-07-15 20:12:01 CDT; 1 weeks 1 days ago
 Main PID: 1665 (rserver)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/rstudio-server.service
           └─1665 /usr/lib/rstudio-server/bin/rserver

Jul 15 20:12:00 rob systemd[1]: Starting RStudio Server...
Jul 15 20:12:01 rob systemd[1]: Started RStudio Server.
edd@rob:~$

If you want to access the latter you do not need VNC. Just point your browser at port 8787 on that machine.

Upvotes: 3

null
null

Reputation: 367

Have you tried to launch it from here ?

/usr/bin/rstudio

PS : You need R to be installed on the system too.

Upvotes: 2

Related Questions