The letter R refers to the word “Rodalies” and S is for “Suburban”. The trains not only connect the city center with the metropolitan area but also take its passengers to nearby towns like Tarragona, a port city to the northeast of Spain and Lérida, a city to the west of Catalonia.