Re: [Rd] Correct use of tools::R_user_dir() in packages?

2023-06-29 Thread Carl Boettiger
icy, though maybe this is mostly my own confusion. The examples in this thread have definitely been helpful to me in understanding how others handle persistent data/config/cache mechanisms. Regards, Carl --- Carl Boettiger http://carlboettiger.info/ On Thu, Jun 29, 2023 at 1:17 AM Iñaki U

Re: [Rd] Correct use of tools::R_user_dir() in packages?

2023-06-28 Thread Carl Boettiger
of `tools`.) Cheers, Carl --- Carl Boettiger http://carlboettiger.info/ On Wed, Jun 28, 2023 at 12:59 PM Simon Urbanek wrote: > > Carl, > > I think your statement is false, the whole point of R_user_dir() is for > packages to have a well-defined location that is allowed - from CRAN pol

[Rd] Correct use of tools::R_user_dir() in packages?

2023-06-27 Thread Carl Boettiger
the call for every example, every unit test, and every vignette. Is this the recommended approach or is there a better technique? Thanks for any clarification! Regards, Carl --- Carl Boettiger http://carlboettiger.info/ __ R-devel@r-project.org mailing list

Re: [Rd] Bias in R's random integers?

2018-09-19 Thread Carl Boettiger
ossible values, > >> because the > >> > > source of the float is the output of a 32-bit PRNG (the > >> obsolete > >> > version > >> > > of MT). 53 bits isn't the relevant number here. > >> &g

[Rd] Bias in R's random integers?

2018-09-19 Thread Carl Boettiger
Dear list, It looks to me that R samples random integers using an intuitive but biased algorithm by going from a random number on [0,1) from the PRNG to a random integer, e.g. https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808 Many other languages use various rejection

Re: [Rd] Where does L come from?

2018-08-25 Thread Carl Boettiger
I always thought it meant "Long" (I'm assuming R's integers are long integers in C sense (iirrc one can declare 'long x', and it being common to refer to integers as "longs" in the same way we use "doubles" to mean double precision floating point). But pure speculation on my part, so I'm

Re: [Rd] ggplot2/plyr interaction with latest R-devel?

2014-09-01 Thread Carl Boettiger
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl Boettiger UC Santa Cruz http://carlboettiger.info/ [[alternative HTML version deleted]] __ R-devel@r-project.org

Re: [Rd] Is using devtools::release no longer allowed?

2014-08-19 Thread Carl Boettiger
. Dirk (who used the webform in textmode earlier today over a ssh connection) -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl

Re: [Rd] Preferred way to include internal data in package?

2014-08-04 Thread Carl Boettiger
://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl Boettiger UC Santa Cruz http://carlboettiger.info/ __ R-devel@r-project.org

Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Carl Boettiger
-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl Boettiger UC Santa Cruz http://carlboettiger.info/ [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Carl Boettiger
be mandatory. That having been said, I think it can be argued that the fact that check does this means that it IS in the R package vignette specification that all vignettes must be such that their tangled code will run without errors. ~G On Sun, Jun 1, 2014 at 8:43 PM, Carl Boettiger cboet

Re: [Rd] The case for freezing CRAN

2014-03-20 Thread Carl Boettiger
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl Boettiger UC Santa Cruz http://carlboettiger.info/ [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-19 Thread Carl Boettiger
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Carl Boettiger UC Santa Cruz http://carlboettiger.info/ [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r