MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #13503] Multiple-Line Comment #3528

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

From: Udo Junghans <udo.junghans@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-fva.de> Hello,

sorry for writing here because my problem is not a realt bug but may be a solution for many people working with R:

I miss the feature for commenting some lines of code at once without writing a bunch of "#" in front of each line. This is interesting for trying out some code. I found some workarounds like

IFELSE(FALSE){} and

!<- function(x) { if (inherits(x, "character") == FALSE) .Primitive("!")(x) else invisible(x) }

but IFELSE needs valid code and the '!' <- function breaks when a " ' " appears in the comment

so it would be fine to have something like / ... / or so for multiple lines

with regards

Udo Junghans --

------------------------------------------------------------------------

Udo Junghans Abteilung Waldschutz, Käfer und Mittelprüfung Nordwestdeutsche Forstliche Versuchsanstalt Grätzelstrasse 2 D-37079 Göttingen <mailto:udo.junghans@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-fva.de>


METADATA

MichaelChirico commented 4 years ago

NOTES: Not a bug, much discussed in the past. Solution: use a decent editor.


METADATA

MichaelChirico commented 4 years ago

Audit (from Jitterbug): Fri Feb 13 22:40:14 2009 ripley changed notes Fri Feb 13 21:40:14 2009 ripley moved from incoming to feature&FAQ


METADATA