Just to note for those Perl people developing tools with Galaxy and wanting to interface with R there are a couple of libraries out there to do this for you:
RSPerl http://www.omegahat.org/RSPerl/
Statistics::R http://search.cpan.org/search?query=Statistics%3A%3AR