Re: [Rd] Using unicode from C interface of R

2014-01-21 Thread Sandip Nandi
Thank you Prof Brian , Duncan . Let me try that out, Thanks, Sandip On Tue, Jan 21, 2014 at 9:14 PM, Prof Brian Ripley wrote: > On 22/01/2014 00:08, Duncan Murdoch wrote: > >> On 14-01-21 5:41 PM, Sandip Nandi wrote: >> >>> Hi , >>> >>> I am using C interface of R . If a unicode string is read

Re: [Rd] Using unicode from C interface of R

2014-01-21 Thread Prof Brian Ripley
On 22/01/2014 00:08, Duncan Murdoch wrote: On 14-01-21 5:41 PM, Sandip Nandi wrote: Hi , I am using C interface of R . If a unicode string is read , in what format I could pass it back to R ? I was trying to use the following tpStr = ( char *)val; SET_STRING_ELT(innerList , 0, mkChar(tpSt

Re: [Rd] Using unicode from C interface of R

2014-01-21 Thread Duncan Murdoch
On 14-01-21 5:41 PM, Sandip Nandi wrote: Hi , I am using C interface of R . If a unicode string is read , in what format I could pass it back to R ? I was trying to use the following tpStr = ( char *)val; SET_STRING_ELT(innerList , 0, mkChar(tpStr)); It does not work . If I pass it back

[Rd] Using unicode from C interface of R

2014-01-21 Thread Sandip Nandi
Hi , I am using C interface of R . If a unicode string is read , in what format I could pass it back to R ? I was trying to use the following tpStr = ( char *)val; SET_STRING_ELT(innerList , 0, mkChar(tpStr)); It does not work . If I pass it back from as RAW format to R , what package is the