Displaying 20 results from an estimated 38 matches for "boettiger".
2023 Jun 29
1
Correct use of tools::R_user_dir() in packages?
On Thu, 29 Jun 2023 at 01:34, Carl Boettiger <cboettig at gmail.com> wrote:
>
> Thanks Simon, I was very much hoping that would be the case! It may
> be that I just need to put the version requirement on 4.0 then. I
> will be sure to add this version restriction to my packages (which
> technically I should be doing anyw...
2023 Jun 28
1
Correct use of tools::R_user_dir() in packages?
...ing that would be the case! It may
be that I just need to put the version requirement on 4.0 then. I
will be sure to add this version restriction to my packages (which
technically I should be doing anyway since this function didn't exist
in early versions of `tools`.)
Cheers,
Carl
---
Carl Boettiger
http://carlboettiger.info/
On Wed, Jun 28, 2023 at 12:59?PM Simon Urbanek
<simon.urbanek at r-project.org> 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 policy:
>...
2014 Jun 02
1
R CMD check for the R code from vignettes -- thread fraying?
...e thread except for the msg below (edited for space). Possibly tech
failures are causing misunderstandings.
JN
On 14-06-02 06:00 AM, r-devel-request at r-project.org wrote:
> Message: 4 Date: Mon, 02 Jun 2014 14:06:28 +0900 From: Duncan Murdoch
> <murdoch.duncan at gmail.com> To: Carl Boettiger <cboettig at gmail.com>,
> Gabriel Becker <gmbecker at ucdavis.edu> Cc: Henrik Bengtsson
> <hb at biostat.ucsf.edu>, R-devel <r-devel at r-project.org> Subject: Re: [Rd]
> R CMD check for the R code from vignettes Message-ID:
> <538C0654.7050205 at gmail.com&g...
2023 Jun 27
2
Correct use of tools::R_user_dir() in packages?
...comply with CRAN policy, a package developer can obviously
set these environmental variables themselves within 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/
2018 Aug 25
3
Where does L come from?
On 25 August 2018 at 09:28, Carl Boettiger wrote:
| 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 float...
2018 Aug 25
4
Where does L come from?
...och
>
> The fact that nowadays "int" and "long int" have the same size on most
> platforms is only anecdotal here.
>
> Just my 2 cents.
>
> H.
>
> On 08/25/2018 10:01 AM, Dirk Eddelbuettel wrote:
>>
>> On 25 August 2018 at 09:28, Carl Boettiger wrote:
>> | 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 me...
2014 Apr 22
1
Segfaults on Ubuntu 14.04
...ne. Just wondering if anyone else has
encountered this problem on the Ubuntu version and/or if I should report
this as a bug, and to whom. (My apologies, the Debian package information
for the ubuntu .deb file isn't particularly clear on to whom I should
report bugs).
Cheers,
Carl
--
Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/
[[alternative HTML version deleted]]
2018 Sep 19
2
Bias in R's random integers?
El mi?., 19 sept. 2018 a las 14:43, Duncan Murdoch
(<murdoch.duncan at gmail.com>) escribi?:
>
> On 18/09/2018 5:46 PM, Carl Boettiger wrote:
> > 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/ma...
2015 Oct 28
2
r-cran-rjags installation problems?
...ws that /usr/lib has libjags.so.4, not libjags.so.3
that rjags is looking for above. Perhaps the rjags binary is just a bit
out of date on debian:testing right now?
Any suggestions on how to work around this?
Thanks for your help and apologies for my ignorance in this area,
Carl
--
http://carlboettiger.info
[[alternative HTML version deleted]]
2018 Sep 20
5
Bias in R's random integers?
On 9/20/18 1:43 AM, Carl Boettiger wrote:
> For a well-tested C algorithm, based on my reading of Lemire, the unbiased
> "algorithm 3" in https://arxiv.org/abs/1805.10941 is part already of the C
> standard library in OpenBSD and macOS (as arc4random_uniform), and in the
> GNU standard library. Lemire also pro...
2018 Aug 25
1
Where does L come from?
...is only anecdotal here.
|
| Just my 2 cents.
Are you sure?
R> Rcpp::evalCpp("sizeof(long int)")
[1] 8
R> Rcpp::evalCpp("sizeof(int)")
[1] 4
R>
Dirk
| H.
|
| On 08/25/2018 10:01 AM, Dirk Eddelbuettel wrote:
| >
| > On 25 August 2018 at 09:28, Carl Boettiger wrote:
| > | 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
| &...
2018 Sep 19
2
Bias in R's random integers?
...19, 2018 at 9:05 AM Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 19/09/2018 9:09 AM, I?aki Ucar wrote:
> > El mi?., 19 sept. 2018 a las 14:43, Duncan Murdoch
> > (<murdoch.duncan at gmail.com>) escribi?:
> >>
> >> On 18/09/2018 5:46 PM, Carl Boettiger wrote:
> >>> 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.
> >>>...
2018 Sep 18
3
Bias in R's random integers?
...abble.com/Bug-in-sample-td4729483.html, and more
recently in
https://www.stat.berkeley.edu/~stark/Preprints/r-random-issues.pdf,
pointing to the python implementation for comparison:
https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
Thanks!
Carl
--
http://carlboettiger.info
[[alternative HTML version deleted]]
2018 Sep 20
4
Bias in R's random integers?
Hello,
On Thursday, September 20, 2018 11:15:04 AM EDT Duncan Murdoch wrote:
> On 20/09/2018 6:59 AM, Ralf Stubner wrote:
> > On 9/20/18 1:43 AM, Carl Boettiger wrote:
> >> For a well-tested C algorithm, based on my reading of Lemire, the
> >> unbiased "algorithm 3" in https://arxiv.org/abs/1805.10941 is part
> >> already of the C standard library in OpenBSD and macOS (as
> >> arc4random_uniform), and in the GN...
2018 Sep 19
2
Bias in R's random integers?
...9:09 AM, I?aki Ucar wrote:
> > > El mi?., 19 sept. 2018 a las 14:43, Duncan Murdoch
> > > (<murdoch.duncan at gmail.com <mailto:murdoch.duncan at gmail.com>>)
> > escribi?:
> > >>
> > >> On 18/09/2018 5:46 PM, Carl Boettiger wrote:
> > >>> 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...
2015 Jan 18
0
Unable to install R 3.1.2 on Debian:Testing
Dear Carl,
the CRAN repository does not support Debian testing. I did think of adding support for jessie,
as it is frozen now, but did not get around to do it yet.
I believe you would have no problem when using Debian stable.
Am Freitag, 16. Januar 2015, 21:44:25 schrieb Carl Boettiger:
> Dear Johannes, R-sig-debian list,
>
> Along with Dirk Eddelbuettel I've been maintaining Debian-based Docker
> containers for R. Recently our container installing r-base has started to
> fail. This seems to be due to a problem with the libjpeg dependencies. The
> example I...
2015 Oct 28
0
r-cran-rjags installation problems?
On 28 October 2015 at 16:22, Carl Boettiger wrote:
| Hi list,
|
| >From a vanilla debian:testing machine (e.g. docker run -ti debian:testing
| bash) I install `r-cran-rjags`, which appears to install fine. However,
| attempting to actually load the library in R produces the following error:
|
| library(rjags) Loading required packa...
2018 Aug 25
0
Where does L come from?
...it seems to be misleading and confusing
a lot of people.
The fact that nowadays "int" and "long int" have the same size on most
platforms is only anecdotal here.
Just my 2 cents.
H.
On 08/25/2018 10:01 AM, Dirk Eddelbuettel wrote:
>
> On 25 August 2018 at 09:28, Carl Boettiger wrote:
> | 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
> | do...
2018 Aug 26
0
Where does L come from?
...` documentation page:
https://stat.ethz.ch/pipermail/r-devel/2018-May/076203.html
Cheers,
-Thomas
> From: Duncan Murdoch <murdoch.duncan at gmail.com>
> To: =?UTF-8?B?SGVydsOpIFBhZ8Oocw==?= <hpages at fredhutch.org>, Dirk
> Eddelbuettel <edd at debian.org>, Carl Boettiger <cboettig at gmail.com>
> Subject: Re: [Rd] Where does L come from?
>
> On 25/08/2018 4:49 PM, Herv? Pag?s wrote:
> > The choice of the L suffix in R to mean "R integer type", which
> > is mapped to the "int" type at the C level, and NOT to the "l...
2018 Sep 19
0
Bias in R's random integers?
On 18/09/2018 5:46 PM, Carl Boettiger wrote:
> 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...