Are you troubled by the fact that RStudio cannot automatically wrap lines when the code is too long? PHP editor Apple has brought a detailed solution today! Automatic line wrapping is not enabled by default in RStudio, resulting in incomplete code display and inconvenient reading. This article will guide you step by step to easily set up automatic line wrapping, making your code clear at a glance!
First, we open the RStudio software and click on the Tools menu.
Then, select and click Global Options.
Next, select Code-> Editing-> and check Soft-wrap R source files and click OK.
The above is the detailed content of How to set automatic line wrapping in RStudio How to set automatic line wrapping in RStudio. For more information, please follow other related articles on the PHP Chinese website!