8- vmr package functions resume

List available boxes

list_boxes <- vmrList()
print(list_boxes)

Get box information

vmrListBox("boxname")

Create a vmr environment

vmr_env <- vmrCreate(name = "boxname")

Get providers options:

vb.options <- getProviderOptions(provider="virtualbox")
vb.options

Initialize vmr environment

vmrInitEnv(vmr_env)

Load an already initialized vmr environment

setwd("/path/to/vmr/environment/")
vmr_env <- vmrLoad()

Start vmr environment

vmrStart()

vmr environment Status:

vmrStatus()

Get Guest informations:

vmrInfo()

Save and stop the environment:

vmrSuspend()

Resume an environment previously suspended:

vmrResume()

Stop a vmr environment

vmrStop()

Remove a vmr environment

vmrDestroy()

Update R packages

vmrUpdatePackages()

Install R packages

vmrInstallPackages(c("vmr"))

Run R commands

vmrExec(cmd=c("print(Hello World !"))

Test R package

vmrPackageTest(pkg = "./")

Check R package

vmrPackageCheck(pkg = "./")

Build R package

vmrPackageBuild(pkg = "./")

Send files and run bash commands

vmrProvision(elts = c("myscript.sh"), cmd=c("ls","./myscript.sh"))