I am very new to MTurkR. I seek to tell MTurkR what my AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are. I tried the code below but used my real keys instead of the fakekey1 and fakekey2 text:
request(operation, GETparameters = NULL,
keypair = c(Sys.getenv("fakekey1"),
Sys.getenv("fakekey2")),
browser = getOption('MTurkR.browser', FALSE),
log.requests = getOption('MTurkR.log', TRUE),
sandbox = getOption('MTurkR.sandbox', FALSE),
verbose = getOption('MTurkR.verbose', TRUE),
validation.test = getOption('MTurkR.test', FALSE),
service = "AWSMechanicalTurkRequester",
version = NULL)
I get this error: Error in request(operation, GETparameters = NULL, keypair = c(Sys.getenv("fakekey1"), : No keypair provided. Please set environment variables: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY