I am using the map.scale function from the library(maps) to add a scale bar; however, it is very difficult to manipulate its position and dimensions, specially if I am working with different sites that required a scale bar to indicate their overall area.
Is there a quick way to insert a scale bar in a specific location of the plot (map)?
Modifying the grconvertX and grconvertY values should do it for you.