I also like the dashes at the end of my comments to hit the 80-character mark, so I wrote a little addin to help me do that
http://github.com/mine-cetinkaya-rundel/addmins …
Learn how to build your own addins at http://rstudio.github.io/rstudioaddins pic.twitter.com/BOk2PYflkh
-
-
ಈ ಥ್ರೆಡ್ ತೋರಿಸಿ
-
Also, you definitely don't need that many dashes at the end of comments, but 4 is a good number to have so you can take advantage of the popup menu at the bottom of the editorpic.twitter.com/MgYLhbdKjC
ಈ ಥ್ರೆಡ್ ತೋರಿಸಿ
ಸಂವಾದದ ಮುಕ್ತಾಯ
ಹೊಸ ಸಂವಾದ -
-
-
Awesome. I never connected the 80 character standard to punch cards!
ಸಂವಾದದ ಮುಕ್ತಾಯ
ಹೊಸ ಸಂವಾದ -
-
The margin column line is important because Rmarkdown output in code blocks doesn’t get soft-wrapped! I keep it at 85 because the max visible line length for default PDF output is 91.
- 1ಮತ್ತಷ್ಟು ಪ್ರತಿಕ್ರಿಯೆ
ಹೊಸ ಸಂವಾದ -
-
-
I swear i didn't know anything about margin column lines in R. I'm more used to doing it like this for example: Note: I took this code from a code i uploaded on my Rpubs last weekpic.twitter.com/IyXufqhlKI
-
Out of interest why didn't you just write: a1 <- ggplot() + geom_bar() + geom_text() And only define a1 once?
-
If you're running code interactively, troubleshooting, etc., it can be easier to run a line at a time when they're each self-contained units.
ಸಂವಾದದ ಮುಕ್ತಾಯ
ಹೊಸ ಸಂವಾದ -
-
-
TIL that I really should reacquaint myself with the options in RStudio. Turns out the vi emulation is rather usable.
-
This makes me so nostalgic. Now, can you do emacs?
ಸಂವಾದದ ಮುಕ್ತಾಯ
ಹೊಸ ಸಂವಾದ -
-
-
This is great! My personal preference is 75, because then there is some space for prefixes, e.g. by `diff` and`git`.
ಧನ್ಯವಾದಗಳು. Twitter ಇದನ್ನು ನಿಮ್ಮ ಕಾಲರೇಖೆಯನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಬಳಸುತ್ತದೆ. ರದ್ದುಗೊಳಿಸುರದ್ದುಗೊಳಿಸು
-
-
-
I have that margin showing in my R, Python, and Fortran editors
ಧನ್ಯವಾದಗಳು. Twitter ಇದನ್ನು ನಿಮ್ಮ ಕಾಲರೇಖೆಯನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಬಳಸುತ್ತದೆ. ರದ್ದುಗೊಳಿಸುರದ್ದುಗೊಳಿಸು
-
-
-
I do the same, however, I think that 80 characters per line is too little given that we're not in the olden days of the 2000s with 800:600 resolution anymore like cavemen so I upped it to 160 or something. (I cant remember exactly what it is, but still.)
ಧನ್ಯವಾದಗಳು. Twitter ಇದನ್ನು ನಿಮ್ಮ ಕಾಲರೇಖೆಯನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಬಳಸುತ್ತದೆ. ರದ್ದುಗೊಳಿಸುರದ್ದುಗೊಳಿಸು
-
-
-
Thanks for this tip, it's very helpful!
ಧನ್ಯವಾದಗಳು. Twitter ಇದನ್ನು ನಿಮ್ಮ ಕಾಲರೇಖೆಯನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಬಳಸುತ್ತದೆ. ರದ್ದುಗೊಳಿಸುರದ್ದುಗೊಳಿಸು
-
-
-
Thanks so much! I keep asking my research students to stick to 80 but they often forget.
ಧನ್ಯವಾದಗಳು. Twitter ಇದನ್ನು ನಿಮ್ಮ ಕಾಲರೇಖೆಯನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಬಳಸುತ್ತದೆ. ರದ್ದುಗೊಳಿಸುರದ್ದುಗೊಳಿಸು
-
ಲೋಡಿಂಗ್ ಸಮಯ ಸ್ವಲ್ಪ ತೆಗೆದುಕೊಳ್ಳುತ್ತಿರುವಂತೆನಿಸುತ್ತದೆ.
Twitter ಸಾಮರ್ಥ್ಯ ಮೀರಿರಬಹುದು ಅಥವಾ ಕ್ಷಣಿಕವಾದ ತೊಂದರೆಯನ್ನು ಅನುಭವಿಸುತ್ತಿರಬಹುದು. ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ ಅಥವಾ ಹೆಚ್ಚಿನ ಮಾಹಿತಿಗೆ Twitter ಸ್ಥಿತಿಗೆ ಭೇಟಿ ನೀಡಿ.
Preferences