Displaying 20 results from an estimated 3000 matches similar to: "Object are not destroy while using error (Rf_error)"
2008 Jul 28
2
Rf_error crashes entire program.
I'm having a problem with the error and warning functions. I've tried this
on multiple machine so I'm fairly sure it's not machine dependent and I've
tried it on the latest versions 2.6.0-2.7.1. Whenever my program gets to an
error or warning it crashes the entire program rather than throwing the
error like it should.
Here are the relevant bits.
...
char const * const
2015 Mar 18
4
Windows gcc toolchain for R 3.2.0
To anyone following the Windows toolchain saga:
The gcc 4.9.2 toolchain that is currently in Rtools33 has too many
incompatibilities with existing code, so we won't be using it in the R
3.2.0 build. I will soon be uploading to CRAN a new version of Rtools33
that is very similar to Rtools32, containing gcc 4.6.3.
We are continuing to work on the new toolchain, and hope to have it
ready
2016 May 04
4
Is it possible to retrieve the last error? (not error *message*)
Hi,
at the R prompt, is it possible to retrieve the last error (as in
condition object of class "error")?
I'm not asking for geterrmessage(), which only returns the error
message (as a character string). I'm basically looking for a
.Last.error or .Last.condition, analogously to .Last.value for values,
which can be used when it is "too late" (not possible) to go back
2015 Nov 23
4
Custom C finalizers for .Call
WRE explains that R_alloc() can be used to allocate memory which
automatically gets released by R at the end of a .C, .Call or
.External, even in the case of an error or interruption. This is a
really great feature to prevent memory leaks. I was wondering if there
is a way to extend this mechanism to allow for automatically running
UNPROTECT and custom finalizers at the end of a .Call as well.
2011 Sep 20
2
Is it possible to pass a function argument from R to compiled code in C?
I have a function in R that takes another function as argument:
f <- function(g, ...) { #g is expected to be a function
}
I want to see if there is a way to implement "f" in C and calling it from R
using ".C" interface. I know that I can use function pointers for my C
implementation, but I imagine it's going to be nearly impossible to pass a
function from R to C. Are
2019 Dec 09
3
Inconsistent behavior for the C AP's R_ParseVector() ?
Le lun. 9 d?c. 2019 ? 05:43, Tomas Kalibera <tomas.kalibera at gmail.com> a
?crit :
> On 12/7/19 10:32 PM, Laurent Gautier wrote:
>
> Thanks for the quick response Tomas.
>
> The same error is indeed happening when trying to have a zero-length
> variable name in an environment. The surprising bit is then "why is this
> happening during parsing" (that is why
2019 Dec 14
1
Inconsistent behavior for the C AP's R_ParseVector() ?
Hi Simon,
Widespread errors would have caught my earlier as the way that code is
using only one initialization of the embedded R, is used quite a bit, and
is covered by quite a few unit tests. This is the only situation I am aware
of in which an error occurs.
What is a "correct context", or initial context, the code should from ?
Searching for "context" in the R-exts manual
2020 Mar 23
2
help with rchk warnings on Rf_eval(Rf_lang2(...))
Dear r-devel folks,
[if this is more appropriate for r-pkg-devel please let me know and
I'll repost it over there ...]
I'm writing to ask for help with some R/C++ integration idioms that are
used in a package I'm maintaining, that are unfamilar to me, and that
are now being flagged as problematic by Tomas Kalibera's 'rchk'
machinery (https://github.com/kalibera/rchk);
2019 Jul 29
5
install packages with missing pkg argument
Dear all,
The help for `?install.packages` decribes, in the `pkg` argument
description :
> If this is missing, a listbox of available packages is presented where
possible in an interactive R session.
In fact running it with a missing argument triggers an error :
install.packages()
> Error in install.packages : argument "pkgs" is missing, with no default
What however
2006 Feb 16
3
Rf_errorcall - translate to Pascal
Hello!
I (try to) convert the external R header files to Pascal (Delphi). At
one place I stumbled over a macro that uses a method that is not
declared in a LGPL header file:
In Rinternals.h:
#define error_return(msg) { Rf_error(msg); return R_NilValue; }
#define errorcall_return(cl,msg){ Rf_errorcall(cl, msg); return R_NilValue; }
~~~~~~~~
2010 Apr 21
5
Xen 4.0 memory overcommitment
Hello,
I am running a functional Xen 4.0 platform. The objective is the project I
am currently running is to replace 4 VMWare ESX by 4 Xen 4.0 hypervisors. I
have been able to reproduce all the core VMWare features in Xen (but better
of course =D) except memory overcommitment.
I know this feature has been included since Xen 3.3 but I have found almost
no information about it.
When I try to
2016 Feb 03
6
[RFC] Error handling in LLVM libraries.
Hi Mehdi,
> If you subclass a diagnostic right now, isn’t the RTTI information
available to the handler, which can then achieve the same dispatching /
custom handling per type of diagnostic?
> (I’m not advocating the diagnostic system, which I found less convenient
to use than what you are proposing)
I have to confess I haven't looked at the diagnostic classes closely. I'll
take a
2020 Mar 23
5
help with rchk warnings on Rf_eval(Rf_lang2(...))
Thanks, that's really useful. One more question for you, or someone
else here:
const ArrayXd glmLink::linkFun(const ArrayXd& mu) const {
return as<ArrayXd>(::Rf_eval(::Rf_lang2(as<SEXP>(d_linkFun),
as<SEXP>(Rcpp::NumericVector(mu.data(),
mu.data() + mu.size()))
), d_rho);
}
I guess I need that to read
2017 Sep 07
2
Strange SASL issue
2017-09-07 14:29 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
>
>
> On 07.09.2017 15:26, Antoine Nguyen wrote:
> > Hi all,
> >
> > I've just upgraded my server from debian 8 to debian 9 and I now
> encounter
> > a strange issue. I'm using prosody (XMPP server), configured to
> > authenticate against dovecot using SASL and a unix socket.
2020 Aug 26
2
trace creates object in base namespace if called on function argument
Please note that this is documented in ?trace. "fun" is matched to what,
it is a _name_ of the function to be traced, which is traced in the
top-level environment. I don't know why it was designed this way, but it
is documented in detail, and hence the expected behavior.
Debugging is often, and also in R, implemented in the core. Tracing is
implemented on top without specific
2010 Mar 25
10
Using tun interface with dladm and flowadm
Hello,
I am a rather new user to OpenSolaris and I have been loving every minute of
it. I have spent quite a lot of time looking around for bandwidth management
features and Project Crossbow is just amazing. It is truly amazing compared
to what Linux has to offer.
I would like to use flowadm to do some bandwidth management on a tun
interface. The problem is that it is not recognized by the dladm
2006 Jan 19
3
problem when porting
Hello,
I am a total beginner when it comes to rails and would like to know are
there any issues with porting rails from freebsd to windows?
This is the error that I have
Bad file descriptor - /tmp/mysql.sock
I am not sure if this would help or not but I am currently on a cygwin
environment
thanks if anyone can help
--
Antoine W. Solomon Jr.
-------------- next part --------------
An HTML
2008 Sep 19
3
Giving a domU direct access to a NIC
Hello,
I am experimenting with Snort and other IDS and I would like to use Xen for
these tests. This would require me to use port mirroring to sent a bunch of
packets to a NIC located on my Xen machine.
I don''t really know how Xen networking works, but is it possible to give a
domU direct access to a NIC ? Or at least give it enough access so that it
can see packets that are not for the
2017 Sep 07
2
Strange SASL issue
2017-09-07 15:04 GMT+02:00 Sami Ketola <sami.ketola at dovecot.fi>:
>
> > On 7 Sep 2017, at 16.03, Antoine Nguyen <ngu.antoine at gmail.com> wrote:
> >
> > 2017-09-07 14:29 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
> >
> >>
> >>
> >> On 07.09.2017 15:26, Antoine Nguyen wrote:
> >>> Hi all,
> >>>
2020 Aug 28
2
utils::isS3stdGeneric chokes on primitives and identity
Trace adds something to the body of the function, so it does make sense
that it doesn't. Whether traced functions still technically meet the
definition of standard s3 generic or not is, I suppose, up for debate, but
I would say that they should, I think.
As before, if desired I can work on a patch for this if desired, or someone
on R-core can just take care of it if that is easier.
Best,
~G