Description Usage Arguments Value See Also Examples
The Manta account is initially obtained from three
environment variables:
 $MANTA_USER, $MANTA_KEY,
$MANTA_URL.
 The ssl key location is obtained by default
on Unix/Linux from
 /$HOME/.ssh/id_rsa
 or on
Windows from:
C:\Users\username\.ssh\ir_rsa
 The Manta
datacentre enviroment variable is:
 $MANTA_URL
1  | mantaAccount(account, json, verbose = FALSE)
 | 
account | 
 list, optional. Input R account values.  | 
json | 
 character, optional. Input JSON account values.  | 
verbose | 
 logical, optional. Show HTTP
communication.   | 
logical TRUE if account changed and working. Reverts to previous working account if it cannot connect wit the new information returns FALSE for both cases - account reverted or account is left in a state where it cannot communicate to the server.
Other mantaAccount: mantaGetLimits;
mantaSetLimits; mantaWhoami
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  | ## Not run: 
## To see/save current account settings:
account <- mantaWhoami(all = TRUE)
## then use:
mantaAccount(account) ## to set the modified account
## Account information may contain 1-4 key-value pairs.
## To see/save current account settings as JSON:
account <- mantaWhoami(all = TRUE, json = TRUE)
## then use:
mantaAccount(json = account) to set that account
## To set a non default SSH private key location on Windows
mysslkey <- list(SSL_KEY_PATH = "C:\\Users\\myacct\\.ssh\\my_priv_rsa")
mantaAccount(mysslkey)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.