Discindo
Discindo
Home
Projects
About
Light
Dark
Automatic
Posts
How to set up an R-based AWS Lambda to write to AWS S3 on a schedule
An introduction to working with AWS S3 from R and a step-by-step workflow to set an AWS Lambda functon to save datasets to an S3 bucket on a weekly schedule
Teofil Nakov
Last updated on 2023-03-27
8 min read
AWS
,
R
Project
Set an R-based AWS Lambda function to run on a schedule
A step-by-step tutorial on how to deploy an R-based AWS Lambda function, how to set it to run on a recurring schedule, how to validate that the execution happens on schedule, and how to clean up. All from the R console.
Teofil Nakov
Last updated on 2023-03-09
6 min read
AWS
,
R
Project
An R AWS Lambda function to download Tidytuesday datasets
A detailed walk through the steps to prepare a custom R script for deployment as AWS Lambda with the
r2lambda
package. How to prepare an
R
script? What are the roles of several key arguments? How to request longer timeout or more memory for a Lambda function? How to parse the response payload returned by the Lambda function?
Teofil Nakov
Last updated on 2023-02-25
5 min read
AWS
,
R
Project
Test an R-based AWS lambda function locally before deploying to the cloud
Creating AWS Lambda functions from R code can be a powerful way to make our local R code available in the cloud as an on-demand serverless service. In recent weeks I’ve been working on my package r2lambda to build and deploy AWS Lambda functions from the R console.
Teofil Nakov
Last updated on 2023-02-19
3 min read
AWS
,
R
Project
Using {stevedore} to manage docker-based variant-calling pipelines from R
Docker-based variant-calling pipelines Encapsulating large and complex software applications or packages in docker images makes sense for many reasons. Not least because of a one-line install protocol (i.e., docker pull) that takes care of the plethora of dependencies that many of these packages have.
Teofil Nakov
Last updated on 2023-02-15
8 min read
R
,
Bioinformatics
Deploy an R script as an AWS Lambda function without leaving the R console
Overview and motivation AWS Lambda is a serverless compute service that lets us deploy any code as a cloud function without worrying about setting up a compute server (for example like discussed here and here).
Teofil Nakov
Last updated on 2023-02-19
10 min read
R
,
AWS
Project
Rstudio in the cloud for those of us with old laptops part 2: automating with terraform
Setting the scene for automation In the previous post I wrote about how to spin up a EC2 instance with Rstudio server, so some of the more computational heavy R processing can be moved on AWS infrastructure.
Novica Nakov
Last updated on 2023-01-29
7 min read
R
Rstudio in the cloud for those of us with old laptops
I use a Thinkpad from 2015 for my day to day work, and you can imagine things are getting slower as time goes by. Recently I had to test some computation in an R package I am developing and my computer froze multiple times.
Novica Nakov
Last updated on 2023-01-29
4 min read
R
Getting Google Analytics data in R the long way
One of the ways for getting Google Analytics data in R is using the excellent package googleAnalyticsR. GA4 and Big Query But suppose you are curious about trying (the new) GA4 because the old one is going away, and you set it up on your site (like I did on the Discindo blog).
Novica Nakov
Last updated on 2023-03-07
4 min read
R
Python dashboards after Shiny for Python
After building a demo in Shiny for Python I decided to see how to build a demo dashboard with the other tools available for Python, namely Streamlit and Dash. The good thing about doing all these in Python is that so much of the code can be reused.
Novica Nakov
Last updated on 2022-12-03
2 min read
Python
«
»
Cite
×