-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is aesthetic, not substantive, but a very common aesthetic: lines of code in particular should not extend longer than 80 char. Back in the dark old days, this was because screens were only 80 char wide and if you had a line longer than that, it wouldn't display (the source of pernicious bugs, apparently).
Now, it is because the General Wisdom is that people don't read lines longer than 80 char very easily.
R is typically pretty easy in regards to breaking up lines -- just hit enter, it usually doesn't care about the extra space. However, stirngs can be a pain. I use paste to break it up -- something like this:
paste("This is a really long line of text",
"that I don't want to extend past 80",
"char. So, I use paste to break up the",
"lines", sep=" ")Metadata
Metadata
Assignees
Labels
No labels