login() to authenticate. For running batch jobs, this could be
particularly useful. However, be warned that storing your
password in a plain text file such as .Rprofile is a security risk (though
perhaps less so than in every .R script you write), and we
cannot officially recommend that you do so.login(email = getOption("crunch.email"), password = getOption("crunch.pw"),
...)crunch.email is specified in .Rprofile), and you are in an
interactive session, you will be prompted to enter your password. At
present, this is the most secure practice as your password is not stored
locally.