From dusa.adrian at unibuc.ro  Tue Jun 27 17:39:19 2017
From: dusa.adrian at unibuc.ro (=?UTF-8?B?QWRyaWFuIER1yJlh?=)
Date: Tue, 27 Jun 2017 18:39:19 +0300
Subject: [Rd] paste strings in C
In-Reply-To: <CAOQ5Nyfe4jd+-4Go1g909+TbpMn5owWYuutA--Rpuh_p0EWtMg@mail.gmail.com>
References: <CAJ=0CtDyApiXruO12J-Mecxqkg6jBuJr0b2O-mLX_QAmxvpybw@mail.gmail.com>
 <CAOQ5Nyfe4jd+-4Go1g909+TbpMn5owWYuutA--Rpuh_p0EWtMg@mail.gmail.com>
Message-ID: <CAJ=0CtD152fQmqGntNVJ3BnTZkmR3CWiONysj5zaQfx4vZks5w@mail.gmail.com>

Hi Michael,

On Tue, Jun 27, 2017 at 5:31 PM, Michael Lawrence <lawrence.michael at gene.com>
wrote:
>
> To do this in C, it would probably be easier and faster to just do the
> string manipulation directly. Luckily, there are already packages that
> have done this for you. See an example below using the S4Vectors
> package.

Thank you for your reply.
The goal is to obtain those strings in C, not in R...

The result is returned to R just for printing purposes, but I need the
strings in C.
And if at all possible, using C functions directly rather than calling R
functions from C.

My first instinct is to try using the do_paste() C function in the
src/main/ directory from the R sources, but I haven't been successful so
far.
Adrian

--
Adrian Dusa
University of Bucharest
Romanian Social Data Archive
Soseaua Panduri nr. 90-92
050663 Bucharest sector 5
Romania

	[[alternative HTML version deleted]]



[Rd] paste strings in C
=?UTF-8?B?QWRyaWFuIER1yJlh?=