I have a python script which takes some 5 arguments( a filename, 3 int values and 2 float values). I need to call this python script from R. How can I do that. I am trying to use rPython, but it doesnt allow me to pass the argument
library("rPython")
python.load("python scriptname")
I dont know how to pass the arguments
from command line, i run my python script like:
python scriptname filename 10 20 0.1 5000 30