At the moment I have a very simple script. If I type the commands into a console, I have text printing to the screen. However if I run the script using the following
IMHO you need to specify print.eval parameter set to TRUE if you want to get only the output (and not the commands). If you would need the commands too, you should set echo to TRUE (which implies setting print.eval to TRUE).