Learn R Programming

{vmr} - Virtual Machines for R

A R package to manage Virtual Machines using Vagrant tool.

Purpose

This package is a wrap of the Vagrant tool and more.
It allows to manage, provision and use Virtual Machines preconfigured for R.

It currently only use VirtualBox (>= 6.1.14) as provider. Vagrant tool have to be installed too. (See Dependencies)

Used VMs come from https://app.vagrantup.com/VMR repository and the sources use to generate them can be found at https://gitlab.com/rstuff/vms.

Dependencies

Tools

Providers

Download last packages

The CI/CD generate the packages for each versions and OS. Choose your OS for the last version (dev) :

Unzip the downloaded file to get the package.

Install

# From CRAN
install.packages(c('vmr'))
# or from the development repository (latest version)
remotes::install_git('https://gitlab.com/rstuff/vmr.git')

Documentation

Online : https://rstuff.gitlab.io/vmr/

browseVignettes(package = "vmr")

Authors

  • Jean-François Rey <jf.rey.public[at]gmail.com>

LICENSE

GPLv3

Copy Link

Version

Install

install.packages('vmr')

Monthly Downloads

177

Version

0.0.6

License

GPL (>= 3)

Maintainer

Jean-Fran<c3><a7>ois Rey

Last Published

March 7th, 2023

Functions in vmr (0.0.6)

vmrListSnapshot

List snapshot of the guest machine
vmrListBox

List all available version of a box
vmrDestroy

Remove all resources created in a vmr environment
vmrDisconnect

Disconnect ssh connection to guest machine
vmrExec

Execute R methods into guest machine
vmrInfo

Get guest machine information
vmrLoad

Load a vmr environment containing a Vagrant file
vmrLocalBoxList

List downloaded boxes
vmrProvision

Provision a vmr environment
vmrPackageTest

Test a package into a guest machine
vmrList

List available boxes from VagrantCloud
vmrUpdateEnvVersion

Update a vmr environment.
vmrSend

Send files and/or directories to guest machine
vmrResume

Resume a stopped guest machine
vmrUpdatePackages

Update R packages installed
vmrIsRunning

Is vmr environment running
vmrLocalBoxUpdate

Update local box version
vmrMountDir

Mount a host directory to guest
vmrPackageBuild

Build a package in the guest machine
vmrSuspend

Save state and stop guest machine
vmrLocalBoxPrune

Remove old installed boxes
vmrPackageCheck

Perform a package check on guest
vmrTakeSnapshot

Take a snapshot of the guest machine
vmrStop

Stop a vmr environement
vmrStatus

Get the state of the guest machine
vmrLocalBoxRemove

Remove a box from localhost
vmrRemoveSnapshot

remove a snapshot of the guest machine
vmrRestoreSnapshot

Restore a snapshot of the guest machine
vmrSetVerbose

Set verbose level
vmrStart

Start a vmr environment
vmrConnect

Open a ssh connection to guest machine
getProviderOptions

List provider options
vmr-package

Virtual Machines for R
virtualboxGitlabRunner

Configure the guest VM to be use as a Gitlab-Runner
vmrBoxDownload

Download a Box
virtualboxOptions

List 'VirtualBox' options available
summary.vmr

Summary vmr object information
vmrCreate

Create a vmr environment class
print.vmr

Print vmr object information
vmrConfigSSH

Configure ssh
vmrInstallPackages

Install R packages into guest machine
vmrInitEnv

Initialize the vmr environment