From wdun|@p @end|ng |rom t|bco@com  Tue Nov 12 23:01:43 2019
From: wdun|@p @end|ng |rom t|bco@com (William Dunlap)
Date: Tue, 12 Nov 2019 14:01:43 -0800
Subject: [Rd] calls with comment attribute
Message-ID: <CAF8bMcZcPwUZsoC_sg3SpUm2PeGentV0DcKQRdN8JtYb5K_Scw@mail.gmail.com>

In general R doesn't print the "comment" attribute of an object
   > structure(1:3, comment=c("a comment", "another comment"))
   [1] 1 2 3
but if the object is a call it prints it in an unusual format
   > structure(quote(func(arg)), comment=c("a comment", "another comment"))
   a comment
   another comment
   func(arg)

What is the rationale for the special treatment of calls?

Bill Dunlap
TIBCO Software
wdunlap tibco.com

	[[alternative HTML version deleted]]



[Rd] calls with comment attribute
William Dunlap