[Rd] Milestone: 9000 packages on CRAN

2016-08-22 Thread Henrik Bengtsson
An additional 1000 packages have been added to CRAN.  This time, it
took less than 6 months. Today (August 22, 2016), the Comprehensive R
Archive Network (CRAN) [1] reports:

“Currently, the CRAN package repository features 9004 available packages.”

The rate with which new packages are added to CRAN is increasing.
During 2007-2009 we went from 1000 to 2000 packages in 906 days (1.1
per day) and in 2014-2015 we went from 6000 to 7000 packages in 287
days (3.4 per day). The next 1000 packages took 201 days (5.0 per day)
and these most recent 1000 packages took only 175 days (5.7 per day).
With this speedup, we should hit 1 packages on CRAN early 2017.

Since the start of CRAN on April 23, 1997 [2], there has been on
average one new package appearing on CRAN every 18.8 hours - actually
even more than that because dropped/archived packages are not
accounted for. The 9000 packages on CRAN are maintained by 5289 people
[3].

A big thank you to the R core, the CRAN team (!), to all package
developers, to our friendly community, to everyone out there helping
others, and to various online services that simplify package
development. We can all give back by carefully reporting bugs to the
maintainers, properly citing any packages you use in your publications
(see citation("pkg name")), and help new comers to use R.

Milestones:

2016-08-22: 9000 packages [this post]
2016-02-29: 8000 packages [12]
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
[12] https://stat.ethz.ch/pipermail/r-devel/2016-February/072388.html

All the best,

Henrik

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] 'droplevels' inappropriate change

2016-08-22 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel 
> on Sun, 21 Aug 2016 10:44:18 + writes:

> In R devel r71124, if 'x' is a factor, droplevels(x) gives
> factor(x, exclude = NULL) .  In R 3.3.1, it gives
> factor(x) .

> If a factor 'x' has NA and levels of 'x' doesn't contain
> NA, factor(x) gives the expected result for droplevels(x)
> , but factor(x, exclude = NULL) doesn't. As I said in
> https://stat.ethz.ch/pipermail/r-devel/2016-May/072796.html
> , factor(x, exclude = NULL) adds NA as a level.

> Using factor(x, exclude = if(anyNA(levels(x))) NULL else NA ) , 
> like in the code of function `[.factor` (in the
> same file, factor.R, as 'droplevels'), is better.  It is
> possible just to use x[, drop = TRUE] .

You are right.  The change to droplevels() [in svn rev 71113 ]
was not thorough enough, and I will commit a change that uses

factor(x, exclude = if(anyNA(levels(x))) NULL else NA )

--

> For a factor 'x' that has NA level and also NA value,

i.e., one like this ?

x <- factor(c(1, 2, NA, NA), exclude = NULL) ; is.na(x)[2] <- TRUE
x # << two "different" NA's (in codes | w/ level) looking the same in print()
stopifnot(identical(x, structure(as.integer(c(1, NA, 3, 3)),
 .Label = c("1", "2", NA), class = "factor")))


> factor(x, exclude = NULL) is not perfect, though. It
> change NA to be associated with NA factor level.

yes, it does, but why is that not good?
The result of calling factor() on a factor 'f' should either be 'f'
*or* a more regular version of 'f'.

Now, for the above 'x' --- which I call "pathological", as it
has two kinds of NA's but the user does not easily see that ---
I am happy that both

  factor(x)   # and
  factor(x, exlude = NULL)

produce a "regularized" version of x:

  > dput(x)
  structure(c(1L, NA, 3L, 3L), .Label = c("1", "2", NA), class = "factor")
  > dput(factor(x))
  structure(c(1L, NA, NA, NA), .Label = "1", class = "factor")
  > dput(factor(x, exclude=NULL))
  structure(c(1L, 2L, 2L, 2L), .Label = c("1", NA), class = "factor")
  >

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Milestone: 9000 packages on CRAN

2016-08-22 Thread Bob Rudis
Hear! Hear! +100 for the shout out to the CRAN volunteers. Some of the most
unsung heroes of the R universe.

On Mon, Aug 22, 2016 at 5:16 AM, Henrik Bengtsson <
henrik.bengts...@gmail.com> wrote:

> An additional 1000 packages have been added to CRAN.  This time, it
> took less than 6 months. Today (August 22, 2016), the Comprehensive R
> Archive Network (CRAN) [1] reports:
>
> “Currently, the CRAN package repository features 9004 available packages.”
>
> The rate with which new packages are added to CRAN is increasing.
> During 2007-2009 we went from 1000 to 2000 packages in 906 days (1.1
> per day) and in 2014-2015 we went from 6000 to 7000 packages in 287
> days (3.4 per day). The next 1000 packages took 201 days (5.0 per day)
> and these most recent 1000 packages took only 175 days (5.7 per day).
> With this speedup, we should hit 1 packages on CRAN early 2017.
>
> Since the start of CRAN on April 23, 1997 [2], there has been on
> average one new package appearing on CRAN every 18.8 hours - actually
> even more than that because dropped/archived packages are not
> accounted for. The 9000 packages on CRAN are maintained by 5289 people
> [3].
>
> A big thank you to the R core, the CRAN team (!), to all package
> developers, to our friendly community, to everyone out there helping
> others, and to various online services that simplify package
> development. We can all give back by carefully reporting bugs to the
> maintainers, properly citing any packages you use in your publications
> (see citation("pkg name")), and help new comers to use R.
>
> Milestones:
>
> 2016-08-22: 9000 packages [this post]
> 2016-02-29: 8000 packages [12]
> 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
> [12] https://stat.ethz.ch/pipermail/r-devel/2016-February/072388.html
>
> All the best,
>
> Henrik
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Milestone: 9000 packages on CRAN

2016-08-22 Thread Spencer Graves
  The entirety of humanity lives a little better today, because of 
problems solved using CRAN software.  Some of those problems would still 
await solution, because some of the people involved in developing and 
disseminating those solutions would not have been as effective or 
efficient without CRAN and R.



  We're not just laying brick:  We're building a cathedral.


  Spencer Graves


On 8/22/2016 7:33 AM, Bob Rudis wrote:

Hear! Hear! +100 for the shout out to the CRAN volunteers. Some of the most
unsung heroes of the R universe.

On Mon, Aug 22, 2016 at 5:16 AM, Henrik Bengtsson <
henrik.bengts...@gmail.com> wrote:


An additional 1000 packages have been added to CRAN.  This time, it
took less than 6 months. Today (August 22, 2016), the Comprehensive R
Archive Network (CRAN) [1] reports:

“Currently, the CRAN package repository features 9004 available packages.”

The rate with which new packages are added to CRAN is increasing.
During 2007-2009 we went from 1000 to 2000 packages in 906 days (1.1
per day) and in 2014-2015 we went from 6000 to 7000 packages in 287
days (3.4 per day). The next 1000 packages took 201 days (5.0 per day)
and these most recent 1000 packages took only 175 days (5.7 per day).
With this speedup, we should hit 1 packages on CRAN early 2017.

Since the start of CRAN on April 23, 1997 [2], there has been on
average one new package appearing on CRAN every 18.8 hours - actually
even more than that because dropped/archived packages are not
accounted for. The 9000 packages on CRAN are maintained by 5289 people
[3].

A big thank you to the R core, the CRAN team (!), to all package
developers, to our friendly community, to everyone out there helping
others, and to various online services that simplify package
development. We can all give back by carefully reporting bugs to the
maintainers, properly citing any packages you use in your publications
(see citation("pkg name")), and help new comers to use R.

Milestones:

2016-08-22: 9000 packages [this post]
2016-02-29: 8000 packages [12]
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
[12] https://stat.ethz.ch/pipermail/r-devel/2016-February/072388.html

All the best,

Henrik

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

[[alternative HTML version deleted]]

__
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

Re: [Rd] Milestone: 9000 packages on CRAN

2016-08-22 Thread Ravi Varadhan
Indeed!  

Ravi

From: R-devel  on behalf of Spencer Graves 

Sent: Monday, August 22, 2016 8:59 AM
To: r-devel@r-project.org
Subject: Re: [Rd] Milestone: 9000 packages on CRAN

   The entirety of humanity lives a little better today, because of
problems solved using CRAN software.  Some of those problems would still
await solution, because some of the people involved in developing and
disseminating those solutions would not have been as effective or
efficient without CRAN and R.


   We're not just laying brick:  We're building a cathedral.


   Spencer Graves


On 8/22/2016 7:33 AM, Bob Rudis wrote:
> Hear! Hear! +100 for the shout out to the CRAN volunteers. Some of the most
> unsung heroes of the R universe.
>
> On Mon, Aug 22, 2016 at 5:16 AM, Henrik Bengtsson <
> henrik.bengts...@gmail.com> wrote:
>
>> An additional 1000 packages have been added to CRAN.  This time, it
>> took less than 6 months. Today (August 22, 2016), the Comprehensive R
>> Archive Network (CRAN) [1] reports:
>>
>> “Currently, the CRAN package repository features 9004 available packages.”
>>
>> The rate with which new packages are added to CRAN is increasing.
>> During 2007-2009 we went from 1000 to 2000 packages in 906 days (1.1
>> per day) and in 2014-2015 we went from 6000 to 7000 packages in 287
>> days (3.4 per day). The next 1000 packages took 201 days (5.0 per day)
>> and these most recent 1000 packages took only 175 days (5.7 per day).
>> With this speedup, we should hit 1 packages on CRAN early 2017.
>>
>> Since the start of CRAN on April 23, 1997 [2], there has been on
>> average one new package appearing on CRAN every 18.8 hours - actually
>> even more than that because dropped/archived packages are not
>> accounted for. The 9000 packages on CRAN are maintained by 5289 people
>> [3].
>>
>> A big thank you to the R core, the CRAN team (!), to all package
>> developers, to our friendly community, to everyone out there helping
>> others, and to various online services that simplify package
>> development. We can all give back by carefully reporting bugs to the
>> maintainers, properly citing any packages you use in your publications
>> (see citation("pkg name")), and help new comers to use R.
>>
>> Milestones:
>>
>> 2016-08-22: 9000 packages [this post]
>> 2016-02-29: 8000 packages [12]
>> 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
>> [12] https://stat.ethz.ch/pipermail/r-devel/2016-February/072388.html
>>
>> All the best,
>>
>> Henrik
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>   [[alternative HTML version deleted]]
>
> __
> 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

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] CC on Bug 16932?

2016-08-22 Thread James Hiebert

Hi,

I'm being affected by Bug 16932 
(https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16932), and would 
like to comment on it and/or be CC'ed on it.


Unfortunately I can't create a Bugzilla account... when I try, it tells 
me "The e-mail address you entered (hieb...@uvic.ca) didn't pass our 
syntax checking for a legal email address. New accounts are disabled. 
Please post bug reports to R-devel@r-project.org; if they are 
reasonable, we will whitelist you. It also must not contain any illegal 
characters."


Could I please be whitelisted? Many thanks.

~James Hiebert

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] CC on Bug 16932?

2016-08-22 Thread Duncan Murdoch

On 22/08/2016 5:30 PM, James Hiebert wrote:

Hi,

I'm being affected by Bug 16932
(https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16932), and would
like to comment on it and/or be CC'ed on it.

Unfortunately I can't create a Bugzilla account... when I try, it tells
me "The e-mail address you entered (hieb...@uvic.ca) didn't pass our
syntax checking for a legal email address. New accounts are disabled.
Please post bug reports to R-devel@r-project.org; if they are
reasonable, we will whitelist you. It also must not contain any illegal
characters."

Could I please be whitelisted? Many thanks.


Sure, I'll whitelist hieb...@uvic.ca.

Duncan Murdoch

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel