I have created a lambda function which gets triggered when any R script file gets uploaded on S3 bucket.
test.R code:
a <- 1 b <