Re: [Rd] call R function from C code

2013-05-09 Thread Gabriel Becker
Matwey, There are a number of ways to do this, but it depends on what exactly you want. Do you want to execute a call to an actual R function from within C, or do you want to directly call one of R's internal C functions (which may work but is not future-safe unless it is part of the official API)

Re: [Rd] call R function from C code

2013-05-09 Thread Simon Urbanek
On May 8, 2013, at 2:24 PM, Matwey V. Kornilov wrote: > Hi, > > I am writing C code for R, but in middle of the routine I want to call > solve(A,b) function. What is the right way to solve linear set inside C code? > Is it ok to just invoke La_solve()? > There is no such thing as La_solve().

[Rd] cairo is not the default when available

2013-05-09 Thread Michael Bell
This question was asked previously here, but not resolved: http://tolstoy.newcastle.edu.au/R/e15/devel/11/08/0307.html The upshot is that cairo is not being used as the default when it is available, even though the documentation says: Default "cairo" where available and reliable, otherwise "Xlib".

[Rd] call R function from C code

2013-05-09 Thread Matwey V. Kornilov
Hi, I am writing C code for R, but in middle of the routine I want to call solve(A,b) function. What is the right way to solve linear set inside C code? Is it ok to just invoke La_solve()? __ R-devel@r-project.org mailing list https://stat.ethz.ch/m

Re: [Rd] Namespace/inheritance problem in S4 methods for a union class

2013-05-09 Thread John Chambers
The problem is not with setting up the union, but with updating the cached version of the subclasses that are implicitly members of the union. Think of it this way. Class "B" does not have a superclass "C" in its incarnation on PkgB. Only dynamically in the situation you have created does thi