Re: [Rd] Data frame printing buglet when multiple empty column names
On Tue, Mar 1, 2016 at 12:48 PM, Martin Maechler wrote: >> Hadley Wickham >> on Tue, 1 Mar 2016 09:12:00 -0600 writes: > > > This is admittedly minor, and you shouldn't have repeated names in a > > data frame anyway, but: > > > df <- data.frame(1:3, 1:3, 1:3) > > > # Ok > > setNames(df, c("x", "y", "")) > > > # Not ok > > setNames(df, c("x", "", "")) > > > Hadley > > -- > > http://hadley.nz > > This has been fixed in R-devel several months ago, but not been > ported to R-patched, the change really being in > format.data.frame(.) which in R-devel makes use of a quite > smartly improved as.data.frame.list() method. Thanks Martin! > At the time, I was reluctant to port all these changes to > R-patched, as they were non trivial... but indeed I did like the > result (code, not just this case) quite a bit better. > > This is the log entry > > r69582 | maechler | 2015-10-29 17:12:54 +0100 (Thu, 29 Oct 2015) | 2 lines > > PR#16580: data frames with column name "StringsAsFactors" now format and > print correctly; > data.frame() gains argument `fix.empty.names` and as.data.frame.list() gets > new `cut.names`, `col.names` and `fix.empty.names`. > > > > I'm still a bit reluctant to port this to R-patched... but may > could be motivated ... It's not high priority for me - I'm happy knowing that it'll be fixed in R 3.3.0 Hadley -- http://hadley.nz __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Source code of early S versions
On Tue, 1 Mar 2016, peter dalgaard wrote: On 29 Feb 2016, at 19:54 , Barry Rowlingson wrote: PS: somehow "historical" would be less unnerving than "archeological" At least I didn't say palaeontological. So John should feel more like stone age than dinosaur? (Some portion of this must be a fortune candidate!) :-) Unless anyone objects: R> fortune(373) Barry Rowlingson: I've been unable to locate any version of S online. Does anyone have a copy, somewhere, rusting away on an old hard disk or slowly flaking off a tape? [...] Obviously this would be for archaeological purposes. John Chambers: [...] somehow "historical" would be less unnerving than "archeological". Barry Rowlingson: At least I didn't say palaeontological. -- Barry Rowlingson and John Chambers (on the availability of the source code for early versions of S) R-devel (February 2016) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Source code of early S versions
> On 29 Feb 2016, at 19:54 , Barry Rowlingson > wrote: > >> PS: somehow "historical" would be less unnerving than "archeological" > > At least I didn't say palaeontological. So John should feel more like stone age than dinosaur? (Some portion of this must be a fortune candidate!) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Data frame printing buglet when multiple empty column names
> Hadley Wickham > on Tue, 1 Mar 2016 09:12:00 -0600 writes: > This is admittedly minor, and you shouldn't have repeated names in a > data frame anyway, but: > df <- data.frame(1:3, 1:3, 1:3) > # Ok > setNames(df, c("x", "y", "")) > # Not ok > setNames(df, c("x", "", "")) > Hadley > -- > http://hadley.nz This has been fixed in R-devel several months ago, but not been ported to R-patched, the change really being in format.data.frame(.) which in R-devel makes use of a quite smartly improved as.data.frame.list() method. At the time, I was reluctant to port all these changes to R-patched, as they were non trivial... but indeed I did like the result (code, not just this case) quite a bit better. This is the log entry r69582 | maechler | 2015-10-29 17:12:54 +0100 (Thu, 29 Oct 2015) | 2 lines PR#16580: data frames with column name "StringsAsFactors" now format and print correctly; data.frame() gains argument `fix.empty.names` and as.data.frame.list() gets new `cut.names`, `col.names` and `fix.empty.names`. I'm still a bit reluctant to port this to R-patched... but may could be motivated ... Martin __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Milestone: 8000 packages on CRAN
Thank you Gergely - great work. So on planet CRAN with have a large living population of packages and some deceased packages of the past ... and then there are packages that reincarnate one or more times. I wonder how long it will be before someone makes this into an R data package? ;) Cheers, Henrik On Tue, Mar 1, 2016 at 12:11 AM, Gergely Daróczi wrote: > Thank you very much, Henrik, for maintaining this list -- it's always > a pleasure to see the ever growing number of useful R packages! > > I decided a few times in the past to extend your research with the > list of archived packages, but did not actually start coding -- until > tonight: https://gist.github.com/daroczig/3cf06d6db4be2bbe3368 (this > includes the a CSV with 9K rows, so might be slow to load -- but it;s > worth waiting, as you get a searchable list of package names, dates & > index) > > In short, combining the list of current CRAN packages + the list of > archived packages results in a list with more than 9,000 R packages by > now with the following milestones (using the numbers from your > analysis): > > ## date index name > ## 1: 2016-01-12 9000 dChipIO > ## 2: 2015-06-30 8000 gkmSVM > ## 3: 2014-10-22 7000 glmvsd > ## 4: 2014-02-05 6000 bilan > ## 5: 2013-03-20 5000 Rgnuplot > ## 6: 2012-06-21 4000 HIBAG > ## 7: 2011-04-24 3000 SPECIES > ## 8: 2009-09-10 2000 maticce > ## 9: 2007-03-11 1000 cairoDevice > ## 10: 2005-02-21500 micEcon > ## 11: 2003-03-19250 polspline > > So including the archived packages in this report, 8K was actually > reached at the time of useR! 2015 :) > > Best, > Gergely > > On Mon, Feb 29, 2016 at 12:54 PM, Henrik Bengtsson > wrote: >> Another 1000 packages were added to CRAN, which took less than 7 >> months. Today (February 29, 2017), the Comprehensive R Archive Network >> (CRAN) [1] reports: >> >> “Currently, the CRAN package repository features 8002 available packages.” >> >> The rate with which new packages are added to CRAN is increasing. In >> 2014-2015 we had 1000 packages added to CRAN in 355 days (2.8 per >> day), the following 1000 packages took 287 days (3.5 per day) and now >> the most recent 1000 packages clocked in at an impressive 201 days >> (5.0 per day). Since the start of CRAN 18.9 years ago on April 23, >> 1997 [2], there has been on average one new package appearing on CRAN >> every 20.6 hours - it is actually more frequent than that because >> dropped/archived packages are not accounted for. The 8000 packages on >> CRAN are maintained by ~4279 people [3]. >> >> Thanks to the CRAN team and to all package developers. You can give >> back by carefully reporting bugs to the maintainers, properly citing >> any packages you use in your publications, cf. citation("pkg name") >> and help out helping others using the R. >> >> Milestones: >> >> 2016-02-29: 8000 packages [this post] >> 2015-08-12: 7000 packages [11] >> 2014-10-29: 6000 packages [10] >> 2013-11-08: 5000 packages [9] >> 2012-08-23: 4000 packages [8] >> 2011-05-12: 3000 packages [7] >> 2009-10-04: 2000 packages [6] >> 2007-04-12: 1000 packages [5] >> 2004-10-01: 500 packages [4] >> 2003-04-01: 250 packages [4] >> >> These data are for CRAN only. There are many more packages elsewhere, >> e.g. R-Forge, Bioconductor, Github etc. >> >> [1] http://cran.r-project.org/web/packages/ >> [2] https://en.wikipedia.org/wiki/R_(programming_language)#Milestones >> [3] http://www.r-pkg.org/ >> [4] Private data >> [5] https://stat.ethz.ch/pipermail/r-devel/2007-April/045359.html >> [6] https://stat.ethz.ch/pipermail/r-devel/2009-October/055049.html >> [7] https://stat.ethz.ch/pipermail/r-devel/2011-May/061002.html >> [8] https://stat.ethz.ch/pipermail/r-devel/2012-August/064675.html >> [9] https://stat.ethz.ch/pipermail/r-devel/2013-November/067935.html >> [10] https://stat.ethz.ch/pipermail/r-devel/2014-October/069997.html >> [11] https://stat.ethz.ch/pipermail/r-package-devel/2015q3/000393.html >> >> Thanks >> >> Henrik >> (a long-term fan) >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Data frame printing buglet when multiple empty column names
This is admittedly minor, and you shouldn't have repeated names in a data frame anyway, but: df <- data.frame(1:3, 1:3, 1:3) # Ok setNames(df, c("x", "y", "")) # Not ok setNames(df, c("x", "", "")) Hadley -- http://hadley.nz __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Milestone: 8000 packages on CRAN
Thank you very much, Henrik, for maintaining this list -- it's always a pleasure to see the ever growing number of useful R packages! I decided a few times in the past to extend your research with the list of archived packages, but did not actually start coding -- until tonight: https://gist.github.com/daroczig/3cf06d6db4be2bbe3368 (this includes the a CSV with 9K rows, so might be slow to load -- but it;s worth waiting, as you get a searchable list of package names, dates & index) In short, combining the list of current CRAN packages + the list of archived packages results in a list with more than 9,000 R packages by now with the following milestones (using the numbers from your analysis): ## date index name ## 1: 2016-01-12 9000 dChipIO ## 2: 2015-06-30 8000 gkmSVM ## 3: 2014-10-22 7000 glmvsd ## 4: 2014-02-05 6000 bilan ## 5: 2013-03-20 5000 Rgnuplot ## 6: 2012-06-21 4000 HIBAG ## 7: 2011-04-24 3000 SPECIES ## 8: 2009-09-10 2000 maticce ## 9: 2007-03-11 1000 cairoDevice ## 10: 2005-02-21500 micEcon ## 11: 2003-03-19250 polspline So including the archived packages in this report, 8K was actually reached at the time of useR! 2015 :) Best, Gergely On Mon, Feb 29, 2016 at 12:54 PM, Henrik Bengtsson wrote: > Another 1000 packages were added to CRAN, which took less than 7 > months. Today (February 29, 2017), the Comprehensive R Archive Network > (CRAN) [1] reports: > > “Currently, the CRAN package repository features 8002 available packages.” > > The rate with which new packages are added to CRAN is increasing. In > 2014-2015 we had 1000 packages added to CRAN in 355 days (2.8 per > day), the following 1000 packages took 287 days (3.5 per day) and now > the most recent 1000 packages clocked in at an impressive 201 days > (5.0 per day). Since the start of CRAN 18.9 years ago on April 23, > 1997 [2], there has been on average one new package appearing on CRAN > every 20.6 hours - it is actually more frequent than that because > dropped/archived packages are not accounted for. The 8000 packages on > CRAN are maintained by ~4279 people [3]. > > Thanks to the CRAN team and to all package developers. You can give > back by carefully reporting bugs to the maintainers, properly citing > any packages you use in your publications, cf. citation("pkg name") > and help out helping others using the R. > > Milestones: > > 2016-02-29: 8000 packages [this post] > 2015-08-12: 7000 packages [11] > 2014-10-29: 6000 packages [10] > 2013-11-08: 5000 packages [9] > 2012-08-23: 4000 packages [8] > 2011-05-12: 3000 packages [7] > 2009-10-04: 2000 packages [6] > 2007-04-12: 1000 packages [5] > 2004-10-01: 500 packages [4] > 2003-04-01: 250 packages [4] > > These data are for CRAN only. There are many more packages elsewhere, > e.g. R-Forge, Bioconductor, Github etc. > > [1] http://cran.r-project.org/web/packages/ > [2] https://en.wikipedia.org/wiki/R_(programming_language)#Milestones > [3] http://www.r-pkg.org/ > [4] Private data > [5] https://stat.ethz.ch/pipermail/r-devel/2007-April/045359.html > [6] https://stat.ethz.ch/pipermail/r-devel/2009-October/055049.html > [7] https://stat.ethz.ch/pipermail/r-devel/2011-May/061002.html > [8] https://stat.ethz.ch/pipermail/r-devel/2012-August/064675.html > [9] https://stat.ethz.ch/pipermail/r-devel/2013-November/067935.html > [10] https://stat.ethz.ch/pipermail/r-devel/2014-October/069997.html > [11] https://stat.ethz.ch/pipermail/r-package-devel/2015q3/000393.html > > Thanks > > Henrik > (a long-term fan) > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel