[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 team
will be making further changes.  In any case, please add these two to the
exported list.

Thanks,

Michael

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[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 would be nice to open the file/connect in R and handle any
exceptions/errors in R but do the actually reading in C (I'm dealing
with a binary format).

Thanks,

Michael

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[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 sync, etc.)

I found that the src/library/stats/src/mAR.c defined struct Array and
some utility functions, which would be useful.

Since I think some simple matrix support is widely needed, I wonder if
the core team would consider include this (or similar things, such as
the C++ classes in package Matrix, with more intuitive interface to
Blas/Lapack for 'casual' users) in R public API?

Thanks,

Michael

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel