Rpy2 in requirements.txt

Hello,

I try to deploy an app with rpy2 in order to use R in python but I got error in installing requirements.txt.

I don’t know what to do…

Hi @Osjo, welcome to the Streamlit community!

What this is letting you know is that R isn’t present on the Streamlit Cloud image. Create a file named packages.txt with the following line in it:

r-base

Best,
Randy

1 Like

R works now in my app.

Thanks,

Osjo

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.