I was trying reading a .csv file from Amazon S3 bucket. This was the code i was using.
library(aws.s3) Sys.setenv("AWS_ACCESS_KEY_ID" = "Key src","AWS_SECRET_ACCESS_KEY" = "Key dest") df <-get_object("s3://dataset/Data.csv") obj <- rawToChar(df) con <- textConnection(obj) claim<- read.csv2(con)
Is there any other method for doing so?