README.md

Intro

This packages helps build a collection of files necessary to submit a R function to AWS lambda. Today only works in a linux environment.

The present work is based on this repo

After the elucidative article that Takashi Iwamoto made. I, and my collegue Lucas, only built functions to search of packages used in .R lambda and its dependencies. We use the structure and code provided by Iwamoto.

TL:DR

You use only a function with two arguments. One is the path that will contain all files that the function will create. The second argument is the path of your function, a .R file.

Instructions

Let's say that you have a folder to receive all the files and a already built function in a .R file.

In a R environment

lambaRt::build_files("./test/output/", lambda = "./test/function_test/test.R")

That generate all the necessary files to build you lambda file.

With that zip file you can create a AWS Lambda with R runtime.



zegkreist/lambaRt documentation built on Dec. 12, 2019, 9:15 a.m.