The calculated distance (air line) between Andalgalá and La Rioja is approximately 130 miles respectively 210 kilometers.
By car or train, the actual journey to La Rioja is certainly longer, as only the direct route (as the crow flies) between Andalgalá and La Rioja has been calculated here.