From murdoch@dunc@n @end|ng |rom gm@||@com  Mon Jan  6 23:40:02 2020
From: murdoch@dunc@n @end|ng |rom gm@||@com (Duncan Murdoch)
Date: Mon, 6 Jan 2020 17:40:02 -0500
Subject: [Rd] standard naming for components of R data structures
In-Reply-To: <CAN--Dz0naS+k+e5rNFgXi_sCptUUQuhK3nFJzCZm1A3rsN6OcQ@mail.gmail.com>
References: <CAF6+P4e6COJgrNEMKfM9w+_Yx=uR5jD-8F8Jb+fyErTQBg=2Jw-5030@mail.gmail.com>
 <CAB8pepyJxQ5XBhyQhj6xhM5=QTHy01Q2aK8B1jdgc-5q4HFHwQ@mail.gmail.com>
 <CAN--Dz0naS+k+e5rNFgXi_sCptUUQuhK3nFJzCZm1A3rsN6OcQ@mail.gmail.com>
Message-ID: <bc009c7b-6c9f-cff8-2983-85ae7838ca88@gmail.com>

On 06/01/2020 5:19 p.m., neonira Arinoem wrote:
> @steve
> 
> Seek for online document named "writing R extensions" chapter 2. It tells

You hardly need to look for it online:  it is included with every copy 
of R.  Just run help.start() in R (or look in the menus for the GUI 
versions).

Duncan Murdoch

> how to describe a list structure using item markup for R documentation
> files, if indeed this matches your search, thing I am not sure. Something
> that looks like...
> 
> value{
> The \\code{list} owns following names
> \\item{alpha}{double vector}
> \\item{beta}{integer vector}
> \\item{delta}{raw vector}
> }
> 
> Best
> 
> Le lun. 6 janv. 2020 ? 21:18, Abby Spurdle <spurdle.a at gmail.com> a ?crit :
> 
>> Do you just need something on pen and paper?
>> (In which case, I don't see why it needs to be "standard").
>>
>> Or do you need something that can be used with bison/yacc/cup/etc to
>> produce a parser?
>>
>> On a side note, I would say that the R Language Definition is the
>> "standard" way.
>> But I do recognize that this has a different flavour to modern
>> language implementation *theory*.
>>
>> https://cran.r-project.org/doc/manuals/r-release/R-lang.html
>>
>>
>> On Tue, Jan 7, 2020 at 5:17 AM Steve Dutky <sdutky at gmail.com> wrote:
>>>
>>> I need to write some documentation:
>>>
>>> I'm looking for a standard, consistent way of referring  to the
>> components
>>> and attributes of R data structures.   Googling and Stackoverflow yield a
>>> variety of github sites that do not seem to be particularly
>> authoritative.
>>>
>>> I was hoping to find a BNF/ABNF grammar for R.
>>>
>>> I've looked at the output of bison -v ./R-3.6.2/src/main/gram.y but it
>> does
>>> not appear helpful.
>>>
>>> I appreciate any suggestions for where to look or what to do.
>>>
>>> Thanks, Steve
>>>
>>> --
>>>
>>> Ever tried, Ever failed, No Matter:
>>>
>>> Try again, Fail again, Fail Better.
>>>
>>> Samuel Beckett *Worstward Ho*
>>>
>>>          [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] standard naming for components of R data structures
Duncan Murdoch