How set script width?

Hi!
Im new to R and to programming. For a couple of days I've been searching for a way to set the script width but nothing seem to work.

People just mention the "options(width=60)" function. But this function only sets the width in the console window, not in the document/script window above the console window.

How can I set the script width so that my document window automatically starts on a new line?

Thanks in advance!

Edit: I found that I can use the "reflow comment" function.

Edit 2: I also found that I could go to "Global options -> Code -> Display" and change the margin. Perfect!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.