Disable horizontal scroll in the Source of RStudio

Viewed 454

how do I disable the horizontal scroll in the Source of Rstudio? In a way that when the code excedes the window width, it appears in a new line automatically? The line number in that case should't appear.

here is how it looks like now:

enter image description here

1 Answers

Here is what I did :

Tools -- Global options -- Code -- clic on "Soft Wrap code"

enter image description here

Related