Re: [Rd] [R] Passing character strings from C code to R

2005-07-15 Thread Tuszynski, Jaroslaw W.
Thanks, That fixed the problem. Jarek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 11:11 AM To: Tuszynski, Jaroslaw W. Cc: r-devel@stat.math.ethz.ch Subject: Re: [R] Passing character strings from C code to R Reading the posting guid

Re: [Rd] [R] Passing character strings from C code to R

2005-07-15 Thread Prof Brian Ripley
Reading the posting guide would have shown you that R-help was quite inappropriate, so I have moved this to R-devel. allocString does not allocate a character vector, which is what you want to set as an attribute (not a 'string', whatever that is). (It creates a CHARSXP, a type that should not