Uwe showed an R code -ish way to do it. RStudio and probably other R UI's and IDE's -- which is the way most folks write code, I think -- also make it easy to do.
Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Sep 2, 2017 at 7:54 AM, Suzen, Mehmet <msu...@gmail.com> wrote: > AFAIK block comment is not possible > it needs to be implemented in R interpreter and defined in the > parser.'If' solution is not elegant. > > On 2 September 2017 at 14:09, Uwe Ligges > <lig...@statistik.tu-dortmund.de> wrote: > > > > > > On 02.09.2017 11:40, Christian wrote: > >> > >> I consider it quite worth while to introduce into R syntax a nestable > >> block comment like > >> > >> #{ > >> <block of code> > >> }# > > > > > > if(FALSE){ > > <block of code> > > } > > > > Best, > > Uwe Ligges > > > > > >> It would make documentation more easily manageable and lucid. > >> Is there considerable need for this. > >> > >> Please, comment on this. > >> How about R core? > >> > >> Christian > > > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.