Questions tagged [r-paws]

paws - R package for interacting with Amazon Web Services (AWS).

11 questions
2
votes
1 answer

How to connect to Amazon Rekognition using paws package in R

I would like to connect to the AWS Rekognition package using R. The package "paws" in CRAN seems to cover this. However it fails to work due to an error "Error in get_region(): no region provided" despite the fact that it is specified in Sys.setenv.…
Darren
  • 83
  • 7
1
vote
1 answer

How to run multi-node parallel job with AWS ParallelCluster in R

I am interested in running a multi-node parallel job with AWS ParallelCluster in R. Is there any useful documentation, guide or R package helping with it? As far as I understand library(paws) does not support that service. Thank you.
1
vote
3 answers

Using R and paws: How to set credentials using profile in config file?

I use SSO and a profile as defined in ~/.aws/config (MacOS) to access AWS services, for instance: aws s3 ls --profile myprofilename I would like to access AWS services from within R, using the paws() package. In order to do this, I need to set my…
user2363777
  • 947
  • 8
  • 18
1
vote
1 answer

using paws in R -- listing AWS workspaces

I'm wanting to use paws in R to list out the AWS Workspaces. I'm seeing reference to it in the documentation however get a 404. library(paws) Sys.setenv( AWS_ACCESS_KEY_ID = "*****************", AWS_SECRET_ACCESS_KEY = "******************", …
Paul Shearer
  • 91
  • 1
  • 6
1
vote
2 answers

How can I get the full result when querying AWS Athena through the paws package in R?

I have been trying to get data from Athena through the paws package into R. So far I have successfully gotten the query to run and return some results. But I get the default max of 1000. I've seen some solutions out there for the Boto3 library in…
xricky
  • 31
  • 7
0
votes
1 answer

s3sync() Exclude Directory

I'm trying to pull down all files in a given bucket, except those in a specific directory, using R. In the aws cli, I can use... aws s3 sync s3://my_bucket/my_prefix ./my_destination --exclude="*bad_directory*" In aws.s3::s3sync(), I'd like to do…
burchz
  • 55
  • 5
0
votes
0 answers

Using R + paws package is it possible to launch an EC2, run an R script on start of the EC2, and then terminate the instance

I have a production web scraping service and find myself paying for a lot of inactive EC2 hours. I have recently finished setting up some serverless task scheduling using Mark Edmondson's googleCloudRunner. I run into issues when inserting new data…
S3AN556
  • 79
  • 1
  • 1
  • 9
0
votes
1 answer

paws access to S3 timed out

I am trying to use the paws library in R to access an S3 bucket from my Windows machine: svc <- paws::s3(config = list(credentials = list(profile=“my_profile”), region=“us-east-1”)) svc$list_objects(Bucket=“my-bucket”) However, this results in a…
Ramón J Romero y Vigil
  • 17,373
  • 7
  • 77
  • 125
0
votes
1 answer

S3 AWS - generating presigned url in R

I would like to do this in R using the package 'paws': import boto3 url = boto3.client('s3').generate_presigned_url( ClientMethod='get_object', Params={'Bucket': 'BUCKET_NAME', 'Key': 'OBJECT_KEY'}, ExpiresIn=3600) from:…
tafelplankje
  • 563
  • 1
  • 7
  • 21
0
votes
1 answer

Textract in R (paws) without S3Object

When using textract from the paws package in R the start_document_analysis call requires the path to a S3Object in DocumentLocation. textract$start_document_analysis( DocumentLocation = list( S3Object = list(Bucket = bucket, Name = file) …
jkortner
  • 549
  • 2
  • 8
  • 23
0
votes
1 answer

using R & paws how switch/assume different IAM Role?

I'm logging in successfully to AWS via paws however am in the parent account. library(paws) Sys.setenv( AWS_ACCESS_KEY_ID = "*****************************************", AWS_SECRET_ACCESS_KEY = "************************************", …
Paul Shearer
  • 91
  • 1
  • 6