search for: karoli

Displaying 20 results from an estimated 37 matches for "karoli".

Did you mean: karol
2023 Apr 30
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
>>>>> Karolis Koncevi?ius writes: > But this might require a more detailed investigation. For example I > just noticed that even with the patch `@` is still not listed in > .S3_methods_table(). Afaict base does not register any methods for @ or @<- ? -k > KK. >> On Apr 29, 2023, at 4:4...
2023 Apr 30
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
But this might require a more detailed investigation. For example I just noticed that even with the patch `@` is still not listed in .S3_methods_table(). KK. > On Apr 29, 2023, at 4:44 PM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com> wrote: > > Hello Kurt, > > With r84341 it now works on my side. > > Warm regards, > Karolis K. > >> On Apr 29, 2023, at 1:24 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: >> >>>>>&...
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
Hello Kurt, With r84341 it now works on my side. Warm regards, Karolis K. > On Apr 29, 2023, at 1:24 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: > >>>>>> Karolis Koncevi?ius writes: > > Can you pls try again with r84341 or later? > > Best > -k > >> A more concrete example in order to correct my vague mes...
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
>>>>> Karolis Koncevi?ius writes: Can you pls try again with r84341 or later? Best -k > A more concrete example in order to correct my vague messages below. > Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files: > \method{@}{newclass}(object, name...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...ling tools:::.S3_method_markup_regexp and not finding `@` as a valid for S3. This error is gone if we adjust tools:::.S3_method_markup_regexp to pass for ?@? by adding ?\\@? to regexp. Please note that this now is not dependant on using or not using roxygen2 KK. > On Apr 29, 2023, at 12:53 AM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com> wrote: > > Thank you for such a quick reply, Gabriel, > > I am not too familiar with the package tools, so cannot speak too confidently, but below is how I see the issue currently. > > The issue is not for external packages...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...ge that will try to use @ generic will run into the issue, without attempting to use internal S3 functions in their code, but during the R CMD check step. Hope I am being clearer now, and not missing something important (all these things: both @ as generic and tools:: package are quite new to me), Karolis K. > On Apr 29, 2023, at 12:38 AM, Gabriel Becker <gabembecker at gmail.com> wrote: > > Karolis, > > It seems likely, without having looked myself, that you could be correct about the issue, but it does seem worth noting that both of the functions you have mentioned are not...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
Karolis, It seems likely, without having looked myself, that you could be correct about the issue, but it does seem worth noting that both of the functions you have mentioned are not exported, and thus not part of the API that extension packages are allowed to use and rely on. If retrieving the list of...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...CMD checks for the usage files. R CMD check kept showing errors for `@` declarations, even thou they were identical to `$` declarations (which passed fine). Seems like the usage check functions are not prepared for `@` - also in tools:::.S3_method_markup_regexp > On Apr 28, 2023, at 10:34 PM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com> wrote: > > I was building a package that uses the new generic @ and kept having errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added `@.newclass` as a newly exported function, not as a S3method. > > At first I...
2023 Apr 01
2
Autocompletion for the new S3 generic @ method?
I agree, this is a good idea and would be very helpful in interactive contexts. I have a draft patch implementing this feature here: https://github.com/r-devel/r-svn/pull/122 (Append ?.patch? to the URL to get a raw patch.) Regards, Tomasz > On Mar 31, 2023, at 2:11 PM, Karolis K <karolis.koncevicius at gmail.com> wrote: > > Hello, > > In the current R-devel @ is S3 generic, so we can do things like - for example - use it to extract matrix rows by name: > > .S3method("@", "mm", function(object, name) object[name,]) >...
2019 Dec 12
2
Inconsistencies in wilcox.test
>>>>> Karolis Koncevi?ius >>>>> on Mon, 9 Dec 2019 23:43:36 +0200 writes: > So I tried adding Infinity support for all cases. > And it is (as could be expected) more complicated than I thought. "Of course !" Thank you, Karolis, in any case! > It is easy to...
2019 Dec 07
2
Inconsistencies in wilcox.test
...ed that issues 2:4 are all related to machine precision, which is not the case - only 2nd issue is. Just wanted to draw this to your attention, in case you might have some feedback and guidelines about issues 3 and 4 as well. On 2019-12-07 21:59, Martin Maechler wrote: >>>>>> Karolis Koncevi?ius >>>>>> on Sat, 7 Dec 2019 20:55:36 +0200 writes: > > > Hello, > > Writing to share some things I've found about wilcox.test() that seem a > > a bit inconsistent. > > > 1. Inf values are not removed if paired=TRUE >...
2019 Dec 07
5
Inconsistencies in wilcox.test
...exact=FALSE, correct=FALSE) wilcox.test(rnorm(10), exact=TRUE, correct=FALSE) From all of these I am pretty sure the 1st one is likely unintended, so attaching a small patch to adjust it. Can also try patching others if consensus is reached that the behavioiur has to be modified. Kind regards, Karolis Koncevi?ius. --- Index: wilcox.test.R =================================================================== --- wilcox.test.R (revision 77540) +++ wilcox.test.R (working copy) @@ -42,7 +42,7 @@ if(paired) { if(length(x) != length(y)) stop("'x...
2019 Dec 14
0
Inconsistencies in wilcox.test
>>>>> Martin Maechler >>>>> on Thu, 12 Dec 2019 17:20:47 +0100 writes: >>>>> Karolis Koncevi?ius >>>>> on Mon, 9 Dec 2019 23:43:36 +0200 writes: >> So I tried adding Infinity support for all cases. And it >> is (as could be expected) more complicated than I >> thought. > "Of course !" Thank you, Karolis, in any...
2023 Mar 31
1
Autocompletion for the new S3 generic @ method?
...1:2)), class="mm") m at row1 However, seems like currently it does not support autocompletion. Wouldn?t it make sense to add a method like .EtaNames() which would provide tab autocompletions for x@<tab> in the same way current .DollarNames() does for x$<tab>? Regards, Karolis K.
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...ents in R. But after some investigation I found that ?roxygen2? is using tools:::.get_internal_S3_generis() to decide if the method should be exported as S3method or not. For some reason ?@<-? is listed in there, but ?@? is not. Am I missing some context, or is this an oversight? Kind regards, Karolis Koncevicius
2023 May 03
1
Inquiry about the behaviour of subsetting and names in matrices
...al impression was that R was ?clever? about the usage of NAs by design. i.e. when you choose an unknown object from a set of objects the result is an object, but nobody knows which - hence NA. Is it really accepted now that such a decision was a mistake and lead to bugs in user code? Kind regards, Karolis K. > On May 3, 2023, at 11:15 AM, GILLIBERT, Andre <Andre.Gillibert at chu-rouen.fr> wrote: > > > Karolis wrote: >> Hello, > >> I have stumbled upon a few cases where the behaviour of naming and subsetting in matrices seems unintuitive. >> All those look...
2019 Dec 09
0
Inconsistencies in wilcox.test
...to simply remove Infinity support from the paired=TRUE case. But going with the more desirable approach of adding Infinity support for non-paired cases - it is currently not clear to me what confidence intervals and pseudomedian should be. Specially when Infinities are on both sides. Regards, Karolis Koncevi?ius. On 2019-12-07 23:18, Karolis Koncevi?ius wrote: >Thank you for a fast response. Nice to see this mailing list being so >alive. > >Regarding Inf issue: I agree with your assessment that Inf should not >be removed. The code gave me an impression that Inf values were...
2004 Sep 07
1
Cisco 7912 issues
Hello all, I tried to set up some cisco 7912G phones with asterisk with not much success. Can anyone give me some tips on this one ? Is it better to use SCCP or SIP ? Where can I get a SIP software image ? Regards Kiss Karoly
2019 Dec 07
0
Inconsistencies in wilcox.test
>>>>> Karolis Koncevi?ius >>>>> on Sat, 7 Dec 2019 20:55:36 +0200 writes: > Hello, > Writing to share some things I've found about wilcox.test() that seem a > a bit inconsistent. > 1. Inf values are not removed if paired=TRUE > # returns different re...
2011 Jan 11
2
mail to admin when quota exceeded
...a message to user, notifying him about rejected email "from: xxx at yyy.com" with "subj: blah blah" due to full mailbox? Such messages are small and would not take too much space. Thus the user would know what he misses, urging him to clean his mailbox. Thank you in advance. -- Karolis