mopt.load: Load an existing mopt config

Description Usage Arguments References Examples

Description

loads a mopt config from file. This is very useful for on-the-fly analysis of results that are generated on a remote machine, or to process results on your local machine. Fetching remote files requires a publickey authentication setup for ssh to the remote server. your connetion must work without having to type a password. It's easy to setup the ssh-agent and add a passphrase to an existing key. Preferably set up a config file for ssh. see the references.

Usage

1
mopt.load(filename = "", remote = "", reload = NULL)

Arguments

filename

optional local filename

remote

optional. full scp path: username at your.remote.com:~/path/to/remote/file.dat

reload

NULL

References

https://help.github.com/articles/working-with-ssh-key-passphrases http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/

Examples

1
2
3
4
5
## Not run: 
me <- mopt.load(remote="hpc:git/wagebc/Rdata/evaluations.educ1.dat")
predict(me,'p.sd')

## End(Not run)

tlamadon/mopt documentation built on May 31, 2019, 3:48 p.m.