Hey @OluwasegunIsaac,
I’m taking a look at your code right now.
if you’re having issues running R code or a script, feel free to check out this similar issue posted: Trigger R Script from Streamlit UI code
This stack overflow post is helpful too: python - How do I execute a program or call a system command? - Stack Overflow