[GRASS-dev] R and GRASS using Bash Scripts

Greetings
Regardind spgrass6, R and GRASS:
Imagine that I’m running a GRASS Script with Module, and all GRASS functions. How can I integrate it in there? I mean, the user selects a raster and How can i use that input to run a Script that calls R? That is my question. Because I can have a script, like you sent me, but it’s not interactive…
Or is it easier using Python?