From Udo.Junghans at nw-fva.de  Thu Feb  5 12:30:08 2009
From: Udo.Junghans at nw-fva.de (Udo.Junghans at nw-fva.de)
Date: Thu,  5 Feb 2009 12:30:08 +0100 (CET)
Subject: [Rd] Multiple-Line Comment (PR#13503)
Message-ID: <20090205113009.218B42823A68@mail.pubhealth.ku.dk>

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 at nw-fva.de>



[Rd] Multiple-Line Comment (PR#13503)
Udo.Junghans at nw-fva.de