Steve Dutky
2020-Jan-01 16:46 UTC
[Rd] standard naming for components of R data structures
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]]
Abby Spurdle
2020-Jan-06 20:18 UTC
[Rd] standard naming for components of R data structures
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
Steve Dutky
2020-Jan-06 20:40 UTC
[Rd] standard naming for components of R data structures
Thank you: the R Language Definition is very helpful. On Mon, Jan 6, 2020 at 3:18 PM Abby Spurdle <spurdle.a at gmail.com> wrote:> 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 >-- Ever tried, Ever failed, No Matter: Try again, Fail again, Fail Better. Samuel Beckett *Worstward Ho* [[alternative HTML version deleted]]
neonira Arinoem
2020-Jan-06 22:19 UTC
[Rd] standard naming for components of R data structures
@steve
Seek for online document named "writing R extensions" chapter 2. It
tells
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]]
Reasonably Related Threads
- standard naming for components of R data structures
- standard naming for components of R data structures
- error in gmake CrossCompileBuild
- R (unix) command line editing for native speakers of vi
- [External] Re: use of the tcltk package crashes R 4.0.1 for Windows