Re: [Rd] Problem with compiling shared C/C++ library for loading into R (Linux)

2009-01-11 Thread torpedo fisken
I think you're not linking it together when you call R CMD SHLIB, use something like R CMD SHLIB mylib.c yourlib1.o yourlib2.o Otherwise mail again with your Makefile, or all the commands you are using good luck 2009/1/11 Samsiddhi Bhattacharjee : > Dear all, > > I am using the .Call interface

Re: [Rd] can't get names of R_env

2009-01-09 Thread torpedo fisken
are 8), remains quite obscure for me. And I'm having some problems tracking down the .Internal function definition in the sourcetree. Can someone clarify what happens in between . .Internal(optim(...)) to do_optim(...) Thanks again. > On Mon, 5 Jan 2009, torpedo fisken wrote: > >&

[Rd] can't get names of R_env

2009-01-05 Thread torpedo fisken
Hi, I'm quite knew in R, so I might not have the R specific jargon. But here is my problem, I'm trying to access and use variabels given by a function environment, more specifically the rho in do_optim in src/main/optim.c According to the documentation http://cran.r-project.org/doc/manuals/R-ints