[Rd] matrix/array types, extending R API?

2006-10-30 Thread Na Li
In writing R packages, I need some rudimentary support for matrix/array in C code and I would also like to use Blas/Lapack functions. Previously I just rolled out my own (simple) C++ classes. But it becomes troublesome for multiple packages (having duplicated files and needing to keep them in sy

[Rd] C API to R connections?

2006-06-26 Thread Na Li
Is it a public C API to R connection? I couldn't find any. Can I use the *Rconnection in user C code? Instead of straight fopen, I would like the ability to read in compressed file (gz, bz2), remote file, etc, using the implementation that R already has, with a uniformed interface. Also it wou

[Rd] unexported symbols in libR.so of r-devel

2006-01-24 Thread Na Li
Thanks to Matthias Burger, I came to know that in r-devel, a lot of symbols are no longer exported in libR.so, which breaks the package rpvm since it calls these functions in serialize.c. R_InitInPStream R_InitOutPStream Since the change is fairly recent (earlier this month), I guess the core te