2 of 2 people found this helpful
Tableau passes the parameters as a vector that contains as many rows as in your data to R but that doesn't mean that R has to process each value.
Instead of using .arg1 in your geocoding script, use it as .arg1 so it only picks 1st item from the vector (and since you're passing a parameter as a vector each row has the same address anyways so you can do .arg1 or .arg1 etc. and it will still give the same result)
Make sure all the dimensions in the viz are on addressing under Table calc settings so you can do this in a single call to R. If you have something on partitioning, Tableau will make a separate call to R for each partition.