[R] Urgent:again question about nmath/standalone

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Apr 22 17:19:14 CEST 2004


Dirk Eddelbuettel <edd at debian.org> writes:

> On Thu, Apr 22, 2004 at 09:37:22AM -0400, xt_wang at cs.concordia.ca wrote:
> > Hello, all,
> > 
> > I have the same question as the last mail I sent. I have installed libRmath in 
> 
> I'd still recommend the same I sent you last time, e.g. in.
> 
> 	http://tolstoy.newcastle.edu.au/R/help/04/04/0719.html
> 
> Try with a smaller example that does not add your code as e.g. the test file
> I sent. I find debugging 'upwards' starting from the simple-most possible,
> and verified, test case, and the adding (and verifiying) incrementally, to
> be the most bullet-proof method.

Well, yes, but in the present case there are a couple of fairly
obvious things to try fixing. The only Rmath related thing is that the
linking command is missing a -L /usr/lib/R/..../standalone

The rest are problems with the general C programming, e.g. the need to
define or at least declare functions before they are used.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list