**Using R Studio** when trying to plot an xts object using chartSeries() the following error pop's up:

*Error in plot.new() : figure margins too large*

However when plotting it **directly in R** there is no problem with the margins size.

How can I correct the margins size for R Studio. 

Note: the time series has more than 10,000 observations/entries

Thanks