title: How to generate a number of most distinctive colors in R?
body: <p>I am plotting a categorical dataset and want to use distinctive colors to represent different categories. Given a number <code>n</code>, how can I get <code>n</code> number of MOST distinctive colors in R? Thanks.</p>