Black Lives Matter. Please consider donating to Black Girls Code today.

How to split the Main title in RStudio

Hi there,

I was wondering how to split my main title of my plot on 2 lines.

I tried layout(title="Répartition des employés \n selon leurs Sexe")

but all I get is this :

But I would like to have my title on 2 different lines.

Any ideas?

Thank you :slight_smile: