Login to the SQP 3.0 API directly from R. Make sure that your username/email and password are previously registered at http://sqp.upf.edu/accounts/login/?next=/loadui/

sqp_login(username = NULL, password = NULL)

Arguments

username

your username or email as a string

password

your password as a string

Value

an invisible TRUE. But it will raise an error if the account doesn't match any SQP accounts.

Details

Currently sqp_login offers three possible ways to log in. The first is by placing your username/email and password as environment variables with names SQP_USER and SQP_PW. The second is placing your username/email and password as variables in options() with the same names. And finally, the third, and most insecure, is by providing your username/email and password as arguments to sqp_login. We discourage users to use the third option because it might pose security threats if the code is shared. See the examples below for practical explanations.

Note that if the username/email or password is incorrect, the function will throw an error. Make sure you can log in at http://sqp.upf.edu/accounts/login/?next=/loadui/ first.

Examples