Hi,
Just to disambiguate, R is the language/program, RStudio is just the IDE.
Someone asked a similar question, and it looks like there are several packages that might help (some other useful material is also mentioned in the thread)
Also, an example in this GitHub repo of using ACO to solve the Travelling Salesman Problem