{"id":13665799,"url":"https://github.com/paws-r/paws","last_synced_at":"2025-05-14T13:06:11.191Z","repository":{"id":33260303,"uuid":"154419943","full_name":"paws-r/paws","owner":"paws-r","description":"Paws, a package for Amazon Web Services in R","archived":false,"fork":false,"pushed_at":"2025-04-17T11:42:54.000Z","size":130641,"stargazers_count":334,"open_issues_count":45,"forks_count":37,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-19T01:51:51.484Z","etag":null,"topics":["aws","aws-sdk","r"],"latest_commit_sha":null,"homepage":"https://www.paws-r-sdk.com","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paws-r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-24T01:28:47.000Z","updated_at":"2025-04-17T22:23:43.000Z","dependencies_parsed_at":"2023-10-03T17:45:06.295Z","dependency_job_id":"bc4875ff-d5a7-4836-a39f-319551bcf222","html_url":"https://github.com/paws-r/paws","commit_stats":{"total_commits":1463,"total_committers":21,"mean_commits":69.66666666666667,"dds":0.4388243335611757,"last_synced_commit":"27e3379425957ba4e3153b3b094b343b3bb7684d"},"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paws-r%2Fpaws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paws-r%2Fpaws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paws-r%2Fpaws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paws-r%2Fpaws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paws-r","download_url":"https://codeload.github.com/paws-r/paws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149948,"owners_count":22022851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-sdk","r"],"created_at":"2024-08-02T06:00:50.933Z","updated_at":"2025-05-14T13:06:06.178Z","avatar_url":"https://github.com/paws-r.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"\n# Paws, an AWS SDK for R [\u003cimg src=\"docs/logo.png\" align=\"right\" height=\"150\" /\u003e](https://www.paws-r-sdk.com)\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/paws)](https://cran.r-project.org/package=paws)\n[![Build Status](https://github.com/paws-r/paws/workflows/Unit%20Tests/badge.svg)](https://github.com/paws-r/paws/actions?workflow=Unit%20Tests)\n[![codecov](https://codecov.io/gh/paws-r/paws/branch/main/graph/badge.svg)](https://codecov.io/gh/paws-r/paws)\n[![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg)](https://github.com/paws-r/paws/tree/main/examples)\n[![:name status badge](https://paws-r.r-universe.dev/badges/:name)](https://paws-r.r-universe.dev)\n\u003c!-- badges: end --\u003e\n\n## Overview\n\nPaws is a **P**ackage for **A**mazon **W**eb **S**ervices in R. Paws provides\naccess to the full suite of AWS services from within R.\n\nVisit [our home page](https://www.paws-r-sdk.com) to see online documentation.\n\nDisclaimer: Paws is not a product of or supported by Amazon Web Services.\n\n## Installation\n\nInstall Paws using:\n\n``` r\ninstall.packages(\"paws\")\n```\n\nIf you are using Linux, you will need to install the following OS packages:\n\n* Debian/Ubuntu: `libcurl4-openssl-dev libssl-dev libxml2-dev`\n* CentOS/Fedora/Red Hat: `libcurl-devel libxml2-devel openssl-devel`\n\nOr install the development version from [r-universe](https://paws-r.r-universe.dev/ui#builds):\n``` r\ninstall.packages('paws', repos = c(pawsr = 'https://paws-r.r-universe.dev', CRAN = 'https://cloud.r-project.org'))\n```\n\nAs of `paws v0.3.0` it's possible to install paws from pre-build binaries from a CRAN like repository host on AWS S3. We currently provide\npre-built binaries for Linux as Mac and Windows binaries are supported on the CRAN. The main focus of this is to provide linux with some pre-built binaries so that the install time is spead up.\n\nTo get the latest pre-built binaries you can use the following:\n```r\ninstall.packages('paws', repos = c(pawsr = 'https://paws-r-builds.s3.amazonaws.com/packages/latest/', CRAN = 'https://cloud.r-project.org'))\n```\n\nYou can also get a specific version of paws by setting the version:\n```r\ninstall.packages('paws', repos = c(pawsr = 'https://paws-r-builds.s3.amazonaws.com/packages/0.3.0/', CRAN = 'https://cloud.r-project.org'))\n```\n\n## Credentials\n\nYou'll need to set up your AWS credentials and region. Paws supports setting\nthese per-service, or using R and OS environment variables, AWS credential\nfiles, and IAM roles. See [docs/credentials.md](docs/credentials.md) for more\ninfo.\n\nIn the example below, we set them with R environment variables.\n\nWarning: Do not save your credentials in your code, which could reveal\nthem to others. Use one of the other methods above instead. See also\n[RStudio's best practices for securing credentials](https://db.rstudio.com/best-practices/managing-credentials/#encrypt-credentials-with-keyring).\n\n``` r\nSys.setenv(\n  AWS_ACCESS_KEY_ID = \"abc\",\n  AWS_SECRET_ACCESS_KEY = \"123\",\n  AWS_REGION = \"us-east-1\"\n)\n```\n\n## Usage\n\nTo use a service, create a client. All of a service's operations\ncan be accessed from this object.\n\n``` r\nec2 \u003c- paws::ec2()\n```\n\nLaunch an EC2 instance using the `run_instances` function.\n\n``` r\nresp \u003c- ec2$run_instances(\n  ImageId = \"ami-f973ab84\",\n  InstanceType = \"t2.micro\",\n  KeyName = \"default\",\n  MinCount = 1,\n  MaxCount = 1,\n  TagSpecifications = list(\n    list(\n      ResourceType = \"instance\",\n      Tags = list(\n        list(Key = \"webserver\", Value = \"production\")\n      )\n    )\n  )\n)\n```\n\nList all of your instances with `describe_instances`.\n\n``` r\nec2$describe_instances()\n```\n\nShut down the instance you started with `terminate_instances`.\n\n``` r\nec2$terminate_instances(\n  InstanceIds = resp$Instances[[1]]$InstanceId\n)\n```\n\n## Documentation\n\nYou can browse all available services by looking at the package documentation.\n\n``` r\nhelp(package = \"paws\")\n```\n\nYou can also jump to a specific service and see all its operations.\n\n``` r\n?paws::ec2\n```\n\nRStudio's code completion will show you the available services,\ntheir operations, and each operation's parameters.\n\n![](docs/code_completion.gif)\n\nThere are also examples for [EC2](examples/ec2.R), [S3](examples/s3.R),\n[SQS](examples/sqs.R), [SNS](examples/sns.R),\n[DynamoDB](examples/dynamodb.R), [Lambda](examples/lambda.R),\n[Batch](examples/batch.R), and [Comprehend](examples/comprehend.R).\n\n## Related packages\n\n* [`cognitoR`](https://github.com/chi2labs/cognitoR) provides\n  authentication for Shiny applications using Amazon Cognito.\n* [`noctua`](https://dyfanjones.github.io/noctua/) is an interface to the\n[Athena](https://aws.amazon.com/athena/) serverless interactive query\nservice, which allows you to query files stored in S3 using SQL or\n[`dplyr`](https://dplyr.tidyverse.org/).\n* [`R6sagemaker`](https://github.com/DyfanJones/sagemaker-r-sdk) is an\ninterface to the [SageMaker](https://aws.amazon.com/sagemaker/) machine\nlearning service, designed to work like the Python SageMaker SDK.\n* [`redshiftTools`](https://github.com/RedOakStrategic/redshiftTools) is\na collection of tools for working with the\n[Redshift](https://aws.amazon.com/redshift/) data warehouse service,\nsuch as performing bulk uploads.\n* [`stepfunctions`](https://github.com/DyfanJones/aws-step-functions-data-science-sdk-r)\nis an SDK for building machine learning workflows and pipelines on AWS\nusing the Step Functions service.\n\n## Examples, tutorials, and workshops\n\n* [AWS AI Services for R Users](https://github.com/alex23lemm/AWS-AI-Services-R-Workshop)\nshows how to use AWS to add deep learning capabilities like image recognition,\ntext translation, and text-to-speech conversion to R and Shiny applications.\n* [Using Amazon Rekognition from R](https://alex23lemm.github.io/posts/2021-01-03-using-amazon-rekognition-custom-labels-from-r/)\nis an end to end example of how to build and deploy a model to detect Nike\nswooshes in images using the Rekognition computer vision service.\n\n## Credits\n\nAPI specifications from [AWS SDK for JavaScript](https://github.com/aws/aws-sdk-js);\ndesign based on [AWS SDK for Go](https://github.com/aws/aws-sdk-go).\n\n[Logo](docs/logo.png) by [Hsinyi Chen](https://linktr.ee/starfolio).\n\n[Home page design](https://www.paws-r-sdk.com) and [cheat sheet](docs/cheat_sheet.pdf) by Mara Ursu.\n\nSupported by the AWS Open Source promotional credits program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaws-r%2Fpaws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaws-r%2Fpaws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaws-r%2Fpaws/lists"}