{"repo":"rstudio/pins-r","free":true,"listed":false,"github":"https://github.com/rstudio/pins-r","clone":"git clone https://github.com/rstudio/pins-r.git","description":"Pin, discover, and share resources","language":"R","stars":335,"topics":["rpins","rstats","rsconnect","s3","azure","gcloud","storage"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"pins The pins package publishes data, models, and other R objects, making it easy to share them across projects and with your colleagues. You can pin objects to a variety of pin boards , including folders (to share on a networked drive or with services like DropBox), Posit Connect, Databricks, Amazon S3, Google Cloud Storage, Azure storage, and Microsoft 365 (OneDrive and SharePoint). Pins can be automatically versioned, making it straightforward to track changes, re-run analyses on historical data, and undo mistakes. You can use pins from Python as well as R. For example, you can use one language to read a pin created with the other. Learn more about pins for Python. Installation You can install pins from CRAN with: You can install the development version from GitHub: Usage To use the pins package, you must first create a pin board. A good place to start is board folder() , which stores pins in a directory you specify. Here I’ll use a special version of board folder() called board temp() which creates a temporary board that’s automatically deleted when your R session ends. This is great for examples, but obviously you shouldn’t use it for real work! You can “pin” (save) data to a board with pin write() . It takes three arguments: the board to pin to, an object, and a name: As you can see, the data frame was saved as a .parquet file by default. Depending on what you’re saving and who else you want to read it, you might use the type argument to instead save it as an RDS, Arrow","default_branch":null,"files":null,"tree":[],"storefront":"/r/rstudio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rstudio/pins-r/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}