bakdata / aws-lambda-r-runtime

Serverless execution of R code on AWS Lambda
https://medium.com/bakdata/running-r-on-aws-lambda-9d40643551a6
MIT License
143 stars 52 forks source link

Error running matrix.R #20

Closed jraj002 closed 5 years ago

jraj002 commented 5 years ago

I followed the instructions in the README to run the matrix.R example. However, the lambda execution fails with the following error message:

[1] "Sourcing 'matrix.r'"
Error in file(filename, "r", encoding = encoding) : 
cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'matrix.r': No such file or directory
Execution halted
philipp94831 commented 5 years ago

Hi @jraj002, the referenced version in the README was outdated. I updated the README and it should work now. Thanks for spotting this!

jraj002 commented 5 years ago

Works now. This is very helpful. Thanks!