Automorphic forms and l-functions for the group gl(n,r)