-
Notifications
You must be signed in to change notification settings - Fork 17
Installation
To use MTurkR, you need to have R installed on your machine. It is available for multiple platforms from CRAN.
Once R is installed and open, the latest stable release of MTurkR can be installed from your local CRAN mirror and loaded using:
install.packages("MTurkR")
library("MTurkR")The latest development release can be installed from GitHub using devtools:
# install.packages("devtools")
library("devtools")
install_github("leeper/MTurkR")
library("MTurkR")Once installed, you will need to supply your AWS Access Key ID and Secret Key (your "keypair") via the credentials function.
credentials(keypair=c("AKIAJFYYWO3EEXAMPLE","Bpyq5ZqpQGshEKfcfd8CwUXEXAMPLE/ExAMPle"))Your keypair can be generated on the IAM Management Console under the heading Access Keys. Note that you only have access to your secret key once. After it is generated, you need to save it in a secure location. New keypairs can be generated at any time if yours has been lost, stolen, or forgotten.
Specifying your keypair via credentials simplifies subsequent use of MTurkR, but you can always manually specify your keypair in each function call via the keypair argument.
.