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

Re: [Rd] Which functions are there to parse a NAMESPACE file (without installing the package)

2014-01-21 Thread Markus Müller
Cool It works ;-) Thanks a lot. 2014/1/21 Peter Meilstrup > Try the function parseNamespaceFile in base. Not documented but its > output should be understandable. > > Peter > > On Tue, Jan 21, 2014 at 5:41 AM, Markus Müller > wrote: > > For the purpose of automatic documentation, I want to pa

Re: [Rd] Which functions are there to parse a NAMESPACE file (without installing the package)

2014-01-21 Thread Peter Meilstrup
Try the function parseNamespaceFile in base. Not documented but its output should be understandable. Peter On Tue, Jan 21, 2014 at 5:41 AM, Markus Müller wrote: > For the purpose of automatic documentation, I want to parse a NAMESPACE > file of the package to be documented. > > I want to know th

[Rd] Which functions are there to parse a NAMESPACE file (without installing the package)

2014-01-21 Thread Markus Müller
For the purpose of automatic documentation, I want to parse a NAMESPACE file of the package to be documented. I want to know the contents: exportedClasses , exportedMethods and so on to be able to hide the part of the documentation not exposed in the NAMESPACE file. Up to now I am parsing the fi