Displaying 20 results from an estimated 21 matches for "l265".
Did you mean:
265
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
3
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
Thanks for looking into it, your approach sounds good to me. See also
R_has_methods_attached()
(https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265).
I'm fine with Rscript not loading "methods", as long as everything works
properly with "methods" loaded but not attached.
-Kirill
On 19.04.2016 04:10, Michael Lawrence wrote:
> Right, the methods package is not attached by default when running R
> with Rscript....
2018 Sep 18
3
Bias in R's random integers?
...& Philip in
http://r.789695.n4.nabble.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 19
2
Bias in R's random integers?
...e.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
>
> I think the analyses are correct, but I doubt if a change to the default
> is likely to be accepted as it would make it more difficult to reproduce
> older results.
>
> On the other hand, a contribution of a new function like sample() but
> not suffering from the bias would...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
2
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...ill M?ller
> <kirill.mueller at ivt.baug.ethz.ch> wrote:
> > Thanks for looking into it, your approach sounds good to me. See also
> > R_has_methods_attached()
> > (
> https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265
> ).
> >
> > I'm fine with Rscript not loading "methods", as long as everything works
> > properly with "methods" loaded but not attached.
> >
> >
> > -Kirill
> >
> >
> >
> > On 19.04.2016 04:10, Michael Lawrence...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
4
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
....ethz.ch> wrote:
> >> > Thanks for looking into it, your approach sounds good to me. See also
> >> > R_has_methods_attached()
> >> >
> >> > (
> https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265
> ).
> >> >
> >> > I'm fine with Rscript not loading "methods", as long as everything
> works
> >> > properly with "methods" loaded but not attached.
> >> >
> >> >
> >> > -Kirill
> >> >...
2018 Sep 19
2
Bias in R's random integers?
...nd 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
> >>
> >> I think the analyses are correct, but I doubt if a change to the default
> >> is likely to be accepted as it would make it more difficult to reproduce
> >> older results.
> >>
> >> On the other hand, a contribution of a new function li...
2018 Sep 19
2
Bias in R's random integers?
...> <
> https://www.stat.berkeley.edu/%7Estark/Preprints/r-random-issues.pdf>,
> > >>> pointing to the python implementation for comparison:
> > >>>
> >
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> > >>
> > >> I think the analyses are correct, but I doubt if a change to the
> > default
> > >> is likely to be accepted as it would make it more difficult to
> > reproduce
> > >> older results.
> >...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...18, 2016 at 11:50 PM, Kirill M?ller
<kirill.mueller at ivt.baug.ethz.ch> wrote:
> Thanks for looking into it, your approach sounds good to me. See also
> R_has_methods_attached()
> (https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265).
>
> I'm fine with Rscript not loading "methods", as long as everything works
> properly with "methods" loaded but not attached.
>
>
> -Kirill
>
>
>
> On 19.04.2016 04:10, Michael Lawrence wrote:
>>
>> Right, the methods package is...
2018 Sep 19
0
Bias in R's random integers?
...://r.789695.n4.nabble.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
I think the analyses are correct, but I doubt if a change to the default
is likely to be accepted as it would make it more difficult to reproduce
older results.
On the other hand, a contribution of a new function like sample() but
not suffering from the bias would be good. The normal way to m...
2018 Sep 19
0
Bias in R's random integers?
...-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
>>
>> I think the analyses are correct, but I doubt if a change to the default
>> is likely to be accepted as it would make it more difficult to reproduce
>> older results.
>>
>> On the other hand, a contribution of a new function like sample() but
>> not s...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...kirill.mueller at ivt.baug.ethz.ch> wrote:
>> > Thanks for looking into it, your approach sounds good to me. See also
>> > R_has_methods_attached()
>> >
>> > (https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265).
>> >
>> > I'm fine with Rscript not loading "methods", as long as everything works
>> > properly with "methods" loaded but not attached.
>> >
>> >
>> > -Kirill
>> >
>> >
>> >
>> > On...
2018 Sep 19
0
Bias in R's random integers?
...ts/r-random-issues.pdf
> <https://www.stat.berkeley.edu/%7Estark/Preprints/r-random-issues.pdf>,
> >>> pointing to the python implementation for comparison:
> >>>
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> >>
> >> I think the analyses are correct, but I doubt if a change to the
> default
> >> is likely to be accepted as it would make it more difficult to
> reproduce
> >> older results.
> >>
> >> On the...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...>> >> > Thanks for looking into it, your approach sounds good to me. See also
>> >> > R_has_methods_attached()
>> >> >
>> >> > (
>> https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265
>> ).
>> >> >
>> >> > I'm fine with Rscript not loading "methods", as long as everything
>> works
>> >> > properly with "methods" loaded but not attached.
>> >> >
>> >> >
>> >>...
2018 Sep 19
4
Bias in R's random integers?
...keley.edu/%7Estark/Preprints/r-random-issues.pdf>,
> > > >>> pointing to the python implementation for comparison:
> > > >>>
> > >
> >
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> > > >>
> > > >> I think the analyses are correct, but I doubt if a change
> > to the
> > > default
> > > >> is likely to be accepted as it would make it more
> > difficult to
> >...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 18
3
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
Scenario: An S3 method is declared for an S4 base class but called for
an instance of a derived class.
Steps to reproduce:
> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <-
function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())"
Error in UseMethod("test", x) :
no applicable method for 'test' applied to an
2018 Sep 19
0
Bias in R's random integers?
...;https://www.stat.berkeley.edu/%7Estark/Preprints/r-random-issues.pdf>,
> >? ? ? >>> pointing to the python implementation for comparison:
> >? ? ? >>>
> >
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> >? ? ? >>
> >? ? ? >> I think the analyses are correct, but I doubt if a change
> to the
> >? ? ?default
> >? ? ? >> is likely to be accepted as it would make it more
> difficult to
> >? ? ?reproduce
>...
2018 Sep 19
2
Bias in R's random integers?
...gt; > > > >>> pointing to the python implementation for
> comparison:
> > > > >>>
> > > >
> > >
> >
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> > > > >>
> > > > >> I think the analyses are correct, but I doubt if a
> > change
> > > to the
> > > > default
> > > > >> is likely to be accept...
2018 Sep 19
2
Bias in R's random integers?
...???? >? ? ? >? ? ? >>> pointing to the python implementation for
>> comparison:
>> ???? >? ? ? >? ? ? >>>
>> ???? >? ? ? >
>> ???? >
>> ???
>> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
>>
>> ???? >? ? ? >? ? ? >>
>> ???? >? ? ? >? ? ? >> I think the analyses are correct, but I doubt if a
>> ??? change
>> ???? >? ? ?to the
>> ???? >? ? ? >? ? ?default
>> ???? >? ? ? >? ? ? >> is likely to be acc...
2018 Sep 19
0
Bias in R's random integers?
...ints/r-random-issues.pdf>,
> >? ? ? >? ? ? >>> pointing to the python implementation for comparison:
> >? ? ? >? ? ? >>>
> >? ? ? >
> >
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> >? ? ? >? ? ? >>
> >? ? ? >? ? ? >> I think the analyses are correct, but I doubt if a
> change
> >? ? ?to the
> >? ? ? >? ? ?default
> >? ? ? >? ? ? >> is likely to be accepted as it would make it more
&g...
2018 Sep 19
0
Bias in R's random integers?
...gt;> pointing to the python implementation for
> >> comparison:
> >> > > >>>
> >> > >
> >> >
> >>
> >>
> https://github.com/statlab/cryptorandom/blob/master/cryptorandom/cryptorandom.py#L265
> >>
> >> > > >>
> >> > > >> I think the analyses are correct, but I doubt if a
> >> change
> >> > to the
> >> > > default
> >> > >...