[Rd] create a R package

2005-03-08 Thread xt_wang
Hello, everyone, I would like to create a package which includes C code. My input data comes from a text file and I will output my solution into a text file too. My question is that I put the input file in src directory or data directory or somewhere else? On the other hand, I want to call this C

[Rd] about R CMD check

2005-01-24 Thread xt_wang
hello, I create a package which includes C code and Lapack. But when I run " R CMD check ". an error message, "/usr/bin/ld: cannot find -lfrtbegin " occurs. could you tell me what is the problem? the detailed message is as follows: [EMAIL PROTECTED] ~/src]$ R CMD check var * checking for working

[Rd] How to use a C code in R

2005-01-20 Thread xt_wang
hello, I have a c code which uses clapack. I want to integrate R with this code. It said that I create a R package including my c code. Then build it with putting PKG_LIBS = $(LAPACK_LIBS). I want to know the interface LAPACK_LIBS is Fortran or C? If it is written in Fortran, how can I build them

[Rd] How to connect R with a C code which includes Atlas

2005-01-05 Thread xt_wang
If it is possible to link a C code with Atlas into R. Is it possible to link a C code with Matlab into R? On Wed, 5 Jan 2005 [EMAIL PROTECTED] wrote: > Hello, everybody, > > Happy New Year! > > I am a graduate student from Concordia University. I meet a problem when > I am working on my thesis.

[Rd] How to connect R with a C code which includes Atlas

2005-01-04 Thread xt_wang
Hello, everybody, Happy New Year! I am a graduate student from Concordia University. I meet a problem when I am working on my thesis. I hope I will get help from you. I have a mathematical model which was already implemented by using R language. However, part of this model includes fixed point