vc_mount: Mounts veracrypt container directly from R

Description Usage Arguments Value Examples

View source: R/vc_mount.R

Description

This function mounts the veracrypt container directly from R. Also check the sister function vc_dismount.

Usage

1
2
3
4
5
6
vc_mount(
  filename,
  drive,
  password,
  vcexecutable = "C:\\Program Files\\VeraCrypt\\VeraCrypt.exe"
)

Arguments

filename

character: name of the veracrypt container. If it doesn't contain an absolute path, the file name is relative to the current working directory, getwd().

drive

character: drive name. Example - "Z://"

password

character: password of the veracrypt container.

vcexecutable

character: name of the veracrypt executable file. If it doesn't contain an absolute path, the file name is relative to the current working directory, getwd(). Default is "C:/Program Files/VeraCrypt/VeraCrypt.exe"

Value

Running the function will open veracrypt as specified. Returns a NULL object in R.

Examples

1
2
3
vc_mount("C:/User/Dropbox/Project1/raw_data/veracrypt_raw", "k://", "veracryptpassword")

vc_mount(filename="C:/User/Dropbox/Project1/raw_data/veracrypt_raw", drive="k://", password="veracryptpassword", vcexecutable="C:/Program Files (x86)/VeraCrypt/VeraCrypt.exe")

Anoopsinghrawat/snxt documentation built on Sept. 16, 2020, 1:46 a.m.