Re: [Bioc-devel] Getting pointers to data inside XStringSet object

2012-12-14 Thread Hervé Pagès
Hi Ulrich, A C interface is provided in the Biostrings package for accessing the string data stored in an XString or XStringSet object. This interface serves 2 purposes: (1) Make it easy to access the string data from C code without having any knowledge of the internal representation of

[Bioc-devel] Getting pointers to data inside XStringSet object

2012-12-14 Thread Ulrich Bodenhofer
Hi, Some colleagues and I are currently developing some R packages with the aim to integrate some existing C/C++ libraries into R. The algorithms we are trying to integrate, not too surprisingly, expect sequences as "char *" objects. Of course, we would like our packages to be nicely interope