Learn R Programming

⚠️There's a newer version (0.2-1) of this package.Take me there.

pbdRPC

  • Version: 0.1-1
  • License:
  • Download:
  • Status:
  • Author: See section below.

A very light yet secure implementation for remote procedure calls with unified interface via ssh (OpenSSH) or plink/plink.exe (PuTTY).

See pbdRPC vignette for more details and applications.

Usage

library(pbdRPC)

### Alter login information as needed
rpcopt_set(user = "snoweye", hostname = "192.168.56.101")
rpc("whoami")

### Or

rpc("whoami", user = "snoweye", hostname = "192.168.56.101")

Features

  • The above example is completely done in an interactive R session.
  • The rpc() is unified interface. The call is equivalent to ssh snoweye@192.168.56.101 "whoami" in a Linux-like system and plink.exe snoweye@192.168.56.101 "whoami" in a windows system, provided that ssh and plink.exe are reachable through the environment variable, PATH.
  • The default communications between the local R and the remote server (192.168.56.101 in this case) are encrypted and secure, by default using RSA version 2.
  • Private and public paired key authentications are supported, i.e. login without password.
  • Port forwarding is also supported for two way tunneling, both local -L and remote/reverse -R.

Installation

The package can be installed from the CRAN via the usual install.packages("pbdRPC"), or via the devtools package:

library(devtools)
install_github("RBigData/pbdRPC")

Citation

When mentioning the pbdRPC, please cite:

@MISC{pbdRPC2017,
  author = {Chen, W.-C},
  title = {{pbdRPC}: Programming with Big Data -- Remote Procedure Call},
  year = {2017},
  note = {{R} Package, URL https://cran.r-project.org/package=pbdRPC}
}

Authors

pbdRPC is authored and maintained by the pbdR core team:

  • Wei-Chen Chen

Copy Link

Version

Install

install.packages('pbdRPC')

Monthly Downloads

6

Version

0.1-1

License

Mozilla Public License 2.0

Maintainer

Wei-Chen Chen

Last Published

January 1st, 2017

Functions in pbdRPC (0.1-1)

rpc_rr_example

Example Functions of RPC Related to Remote R Server
pbdRPC-package

pbdRPC
find_plink

Find plink
rpc

Remote Procedure Call
ssh_plink

ssh and plink
RPC Control Functions

Sets of controls in pbdRPC.
Initial Control Functions

Initial controls in pbdRPC
RPC Control Environment

Sets of controls in pbdRPC.
rpc_cs_example

Example Functions of RPC Related to pbdCS
rpc_options

Set and Get Options for Remote Procedure Call