Displaying 20 results from an estimated 50000 matches similar to: "Get list of active calling handlers?"
2025 Apr 27
1
on.exit() handler being interrupted by time limit
This StackOverflow question: https://stackoverflow.com/q/79594532 and
this discussion on Github: https://github.com/r-lib/evaluate/issues/242
are talking about an interesting situation.
Under a fairly simple setup shown in both, setTimeLimit() can interrupt
the on.exit() handler that was installed by evaluate::evaluate(),
leaving the system in a weird state.
Here's the setup:
If the
2020 May 21
2
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
Thank you Mr. Tierney!
Using globalCallingHandlers() to directly handle
"packageConflictError" is an excellent idea!
The benefits I see for such an implementation are:
* The patch would be contained within the Conflict Error Handler,
which should reduce any side effects with an eventual implementation.
* And by making its usage optional, by setting for example
2020 May 21
0
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
I looks like you may have misunderstood my post so just to make sure:
There will be no patch to R to support this.
If this is something you want for yourself, then I have shown you how
you can do it. You can put the code in a startup file if you like.
If you want your students to have this, then you can prepare a startup
file for them that does this.
Best,
luke
On Thu, 21 May 2020, Juan
2013 Mar 20
1
S4 Reference Classes: undesired behavior when calling method '$field()'
Dear list,
I came across a behavior that IMHO is somewhat undesired when calling
'$field()':
If the field name whose value you're trying to get is *not* a valid
field of the Reference Class, then R doesn't stop there with an error,
but scans through all enclosing environments/frames. The result is
something similar to calling '|get(<objname>, inherits=TRUE)|'
2020 May 20
0
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
You can get what you are asking for now in R 4.0.0 with
globalCallingHandlers and using the packageConflictError object that
is signaled. This should get you started:
```
options(conflicts.policy = "strict")
packageConflictError
handle_conflicts <- function(e) {
cat(conditionMessage(e))
opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ")
if (opt
2009 Jun 16
1
calling handlers within R_tryEval
Hello,
When using R_tryEval (from JRI in my case), is there a way to setup
error recovery strategy and more generally calling handlers.
From my reading of context.c, R_tryEval calls R_ToplevelExec which
creates a context like this:
begincontext(&thiscontext, CTXT_TOPLEVEL, R_NilValue, R_GlobalEnv,
R_BaseEnv, R_NilValue, R_NilValue);
so I guess what I am trying to do is add
2009 Apr 14
0
top level condition handlers
Hello,
I would like to establish top level condition handlers and restarts, so
that I don't explicit calls to withCallingHandlers and withRestarts in
many places:
For example :
> customError
function( message ){
err <- simpleError( message )
class( err ) <- c( "customError", class( err) )
err
}
> withCallingHandlers( { signalCondition(customError(
2023 Jan 25
2
[PATCH 00/12] acl: remove remaining posix acl handlers
Hey everyone,
after we finished the introduction of the new posix acl api last cycle
we still left the generic POSIX ACL xattr handler around for two
reasons. First, because a few filesystems relied on the ->list() method
of the generic POSIX ACL xattr handlers in their ->listxattr() inode
operation. Second, during inode initalization in inode_init_always() the
registered xattr handlers in
2015 Jan 12
0
New version of Rtools for Windows
On Fri, Jan 9, 2015 at 12:19 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 09/01/2015 10:56 AM, Henric Winell wrote:
>> On 2015-01-08 02:31, Duncan Murdoch wrote:
>>
>>> On 07/01/2015 5:20 PM, Jeroen Ooms wrote:
>>>> On Wed, Jan 7, 2015 at 8:00 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>>>>
2023 Jan 30
1
[PATCH 00/12] acl: remove remaining posix acl handlers
On Mon, Jan 30, 2023 at 10:10:52AM +0100, Christian Brauner wrote:
> However, a few filesystems still rely on the ->list() method of the
> generix POSIX ACL xattr handlers in their ->listxattr() inode operation.
> This is a very limited set of filesystems. For most of them there is no
> dependence on the generic POSIX ACL xattr handler in any way.
>
> In addition, during
2013 Mar 26
0
Asterisk 11, hangup-handlers, Local channels and channel originate [SOLVED]
2013/3/26 Richard Mudgett <rmudgett at digium.com>
> > On 03/25/2013 05:17 PM, Olivier wrote:
> > > Hello,
> > >
> > > I'm giving hangup-handlers a try on a new Asterisk 11.2.1 setup.
> > > My plan is to use this handler to update my CDRs with values such
> > > as
> > > Asterish and Tech cause (see function HANGUP_CAUSE).
>
2008 Jan 14
0
8 commits - player/swfdec-player.c player/swfdec-player.ui player/swfdec-window.c player/swfdec-window-handlers.c
player/swfdec-player.c | 8 ++++----
player/swfdec-player.ui | 9 ++++++++-
player/swfdec-window-handlers.c | 19 ++++++++++++++++++-
player/swfdec-window.c | 35 +++++++++++++++++++++++++++++++++--
4 files changed, 63 insertions(+), 8 deletions(-)
New commits:
commit d7840716923b5367caf9fef02511161ce1c105dd
Author: Benjamin Otte <otte at gnome.org>
Date:
2019 Oct 01
0
Is missingness always passed on?
There is "missing with default" and "missing without default".
If an argument x is missing without a default, then missing(x) is true, if
you pass x to another function, it will pass the value of the "missing
argument". (which is different than simply being missing!)
If an argument x is missing _with_a default, then missing(x) is still true,
but if you pass x to
2006 Jul 19
3
Recommended testing approaches for new Mongrel handlers?
Okay, I got off my duff this week and have been finishing Mongrel
support for IOWA. I now have two handlers that I need to test. One
is similar to the Rails handler, passing request handling to IOWA
threads in the same process, and the other allows one or more Mongrel
processes to pass requests to one or more separate IOWA processes,
with session affinity.
Is there any set of standard sorts of
2015 Jan 09
0
New version of Rtools for Windows
On 2015-01-08 02:31, Duncan Murdoch wrote:
> On 07/01/2015 5:20 PM, Jeroen Ooms wrote:
>> On Wed, Jan 7, 2015 at 8:00 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>>
>>> This version includes only minor updates to the tools. I indicated last summer that I was hoping to update GCC from the current version 4.6.3 before the R 3.2.0 release, but this now
2016 Sep 21
0
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
Hi
Is the correct patch to remove the setting of the gettingEvent flag or
would it be better to flip the TRUE/FALSE setting (set to TRUE before
handling then reset to FALSE after handling) ?
Also, for this patch and for the other two you sent, one difficulty will
be with testing the patches. I have no testing code for this, so would
need at least a test or two from you (ideally someone
2006 Feb 20
0
A quick refactoring for handlers and CGI
Luis,
The mongrel.rb file is starting to get a bit too big so I''m going to
refactor it out a bit. I''m going to create a lib/mongrel/cgi.rb file for
the CGI specific stuff and a lib/mongrel/handlers.rb file for the various
handlers we''ll be making.
Let me know if this causes you any pain.
Zed A. Shaw
2018 Aug 01
0
[PATCH v4 8/8] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers
We can't and don't need to try resuming the device from our hotplug
handlers, but hotplug events are generally something we'd like to keep
the device awake for whenever possible. So, grab a PM ref safely in our
hotplug handlers using pm_runtime_get_noresume() and mark the device as
busy once we're finished.
Signed-off-by: Lyude Paul <lyude at redhat.com>
Cc: stable at
2018 Aug 07
0
[PATCH v5 13/13] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers
We can't and don't need to try resuming the device from our hotplug
handlers, but hotplug events are generally something we'd like to keep
the device awake for whenever possible. So, grab a PM ref safely in our
hotplug handlers using pm_runtime_get_noresume() and mark the device as
busy once we're finished.
Signed-off-by: Lyude Paul <lyude at redhat.com>
Cc: stable at
2020 Sep 09
0
[PATCH] vhost: new vhost_vdpa SET/GET_BACKEND_FEATURES handlers
Hi Zhu,
url: https://github.com/0day-ci/linux/commits/Zhu-Lingshan/vhost-new-vhost_vdpa-SET-GET_BACKEND_FEATURES-handlers/20200909-115726
base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
config: parisc-randconfig-m031-20200909 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: