Re: [R] names in R list's

2015-09-08 Thread Witold E Wolski
Hi Jeff, Indeed there was something about plain-text in the r-help posting guide although I can't find it there anymore. https://www.r-project.org/posting-guide.html Is it still an requirement? Jeff, thanks for you constructive contribution ;) . Glad that you know about plain text mode in

Re: [R] names in R list's

2015-09-08 Thread Marc Schwartz
> On Sep 8, 2015, at 6:53 AM, Witold E Wolski wrote: > > Hi Jeff, > > Indeed there was something about plain-text in the r-help posting > guide although I can't find it there anymore. > https://www.r-project.org/posting-guide.html > > Is it still an requirement? Witold,

Re: [R] names in R list's

2015-09-08 Thread Jeff Newmiller
Which answers why the list strips HTML out, but the reason we should compose in plain text is so we see what our readers will see. The stripping sometimes makes the result nearly impossible to read and deters people from wading in to give an answer. In addition, some HTML editors act like word

Re: [R] names in R list's

2015-09-08 Thread Sarah Goslee
On Tue, Sep 8, 2015 at 7:53 AM, Witold E Wolski wrote: > Hi Jeff, > > Indeed there was something about plain-text in the r-help posting > guide although I can't find it there anymore. > https://www.r-project.org/posting-guide.html > > Is it still an requirement? Yes. From

Re: [R] names in R list's

2015-09-08 Thread William Dunlap
It is not too hard to set up some tests to show time as a function of number of named elements for lists and environments. Here is one such test test <- function (data, nToAdd, nToExtract = length(data)) { addTime <- { addedNames <- paste0("D", seq(length(data) + 1, len = nToAdd))

[R] names in R list's

2015-09-07 Thread Witold E Wolski
What is the access time for R lists given a name of list element, is it linear, log, or constant? Than what are to rules for names in R-lists That reusing names is possible makes me wonder. tmp <- as.list(c(1,2,3,4)) names(tmp) = c("a","a","b","b") tmp tmp$a What I am looking for is a

Re: [R] names in R list's

2015-09-07 Thread Jeff Newmiller
You puzzle me. Why does someone who cannot figure out how to post an email in plain text after so many messages on this mailing list get all worried about access time for string indexing? Environment objects have those properties. They do not solve all problems though, because they are rather

Re: [R] names in R list's

2015-09-07 Thread Barry Rowlingson
On Mon, Sep 7, 2015 at 11:34 AM, Witold E Wolski wrote: > What is the access time for R lists given a name of list element, is it > linear, log, or constant? Try it and see? > Than what are to rules for names in R-lists > > That reusing names is possible makes me wonder. >