Remote R: Control a Remote R Session from a Local One

A set of utilities for controlling a remote R session from a local one. Simply set up a server (see package vignette for more details) and connect to it from your local R session, including 'RStudio'. Network communication is handled by the 'ZeroMQ' library by way of the 'pbdZMQ' package. The client/server framework is a custom 'REPL'.

  • Version: 0.3-2
  • URL:
  • License:
  • Author: Drew Schmidt and Wei-Chen Chen

Control a remote R session from your local R session. The packages uses pbdZMQ to handle the communication and networking. The custom REPL is based off of pbdCS.

Encryption is supported if the sodium package is installed. Details below.

For setting up a local server, you can do:


And connect to it via:


For more details, including working with remote machines, see the package vignette.

You can install the stable version from CRAN using the usual install.packages():


In order to be able to create and connect to secure servers, you should also install the sodium package. You can install it manually with a call to install.packages("sodium") or by installing remoter via:

install.packages("remoter", dependencies=TRUE)

The development version is maintained on GitHub, and can easily be installed by any of the packages that offer installations from GitHub:

### Pick your preference

Work for the remoter package is supported in part by the project Harnessing Scalable Libraries for Statistical Computing on Modern Architectures and Bringing Statistics to Large Scale Computing funded by the National Science Foundation Division of Mathematical Sciences under Grant No. 1418195.

Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3-2 by Drew Schmidt, 2 years ago

Report a bug at

Browse source code at

Authors: Drew Schmidt [aut, cre], Wei-Chen Chen [aut]

Documentation:   PDF Manual  

BSD 2-clause License + file LICENSE license

Imports stats, utils, tools, assertthat, getPass

Depends on pbdZMQ

Suggests knitr, rmarkdown, sodium

Enhanced by pbdRPC, pbdZMQ.

See at CRAN