Devin Farrell ran for a score before throwing two touchdown passes and Rhode Island beat Elon 34-20 on Saturday.