Hi Kurt and Brian,
I was using R 2.6.2. Now, based on your suggestion, I've upgrade to
2.7.0 and am no longer mixing compilation versions of gcc/g++. The
constant to char* warnings are gone.
Thanks!
-Andy
Kurt Hornik wrote:
>>>>>> Andrew Finley writes:
>
>> He
/local/lib -o splmDIC.so splmDIC.o covmodel.o
util.o -L/usr/local/lib/R/lib -lRlapack -L/usr/local/lib/R/lib -lRblas
-L/usr/lib/gcc/i486-linux-gnu/3.4.6 -lg2c -lm -lgcc_s
Thanks for your time.
Kind regards-
Andy
--
Andrew Finley, PhD
Natural Resources Building
Michigan State University
East Lansin
gt; >
>
> --
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Helleveien 30, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
> e-mail: [EMAIL PROTECTED]
>
>
anek wrote:
> Andrew,
>
> On Aug 4, 2006, at 4:49 PM, Andrew Finley wrote:
>
> > I'd like to submit a new package that ports some code which uses
> > the boost c++ library (i.e., an external dependency). I have
> > written a linux/unix configure file as de
Hello,
I'd like to submit a new package that ports some code which uses the boost
c++ library (i.e., an external dependency). I have written a linux/unix
configure file as described in the Witting R Extensions but don't know
enough about windows to write a windows configure/makefile.
That said,
Hello all,
In a piece of c++ code (part of a future R package), I'm inverting a
relatively large covariance matrix many times using:
F77_CALL(dpotrf)(&upper, &xnrow, R, &xnrow, &info);
F77_CALL(dpotri)(&upper, &xnrow, R, &xnrow, &info);
I am sure that the input matrix is PD and inverts just fine
Your example is perfectly clear. I'll take your suggestion.
Thanks a lot for your time-
Andrew
On Tue, 2006-04-04 at 10:00 -0700, Thomas Lumley wrote:
> On Tue, 4 Apr 2006, Andrew Finley wrote:
>
> > Hi Thomas,
> >
> > Thanks for the note. I'm not sure
> On Mon, 3 Apr 2006, Andrew Finley wrote:
>
> > Hello,
> >
> > I'm passing a user defined function into my c code. Once this function
> > is in my c code, I'd like to iteratively change the values associated
> > with the parameters defined in the funct
Hello,
I'm passing a user defined function into my c code. Once this function
is in my c code, I'd like to iteratively change the values associated
with the parameters defined in the function's formal list then evaluate
the function using these newly set defaults (i.e., using lang1(fn)).
My quest
Hi Andy,
Follow the suggestions for c++ in the Writing R Extensions document.
Wrap your c++ code in extern "C"{}, include your classes in the includes
(e.g., #include "myclass.h") and put the myclass.h and myclass.cpp in
the src directory along with your other code. Then R CMD build ... and R
CMD I
Hello,
I am writing an extension that requires the user to pass a function into
the C code. The function returns a covariance matrix. The user defines an
arbitrary set of parameters as the function's arguments, which are used to
construct this covariance matrix. Within the C code these parameters
but under windows the status is not
printed. Am I missing something?
Thanks-
Andy
--
Andrew Finley, Research Fellow
Department of Forest Resources
College of Natural Resources
University of Minnesota
305 Green Hall
1530 Cleveland Avenue N.
St. Paul, MN 55108
Ph 612-624-1714 office
http://blue.
any other packages that use STL.
So, my question: is it OK to use the STL containers in my code? Will the
use of this library somehow limit portability of this package? Or cause
memory management problems?
Thanks-
Andy
Andrew Finley, Research Fellow
Department of Forest Resources
College of Natural
13 matches
Mail list logo