Skip to content
Back to formatted view

Raw Message

Message-ID: <200402041139360466.08D0C17B@harry.molgen.mpg.de>
Date: 2004-02-04T10:39:36Z
From: Wolski
Subject: Returnin char back through the .Call interface

Hi!

My results or error messages are copied in a string and than have to be passed back through the .Call interface togheter with numeric results
What is the best way to allocate storage to a character? (R_alloc?)
And how to add it to a list? (e.g. allocVector(VECSXP, 9))


Help are highly appreciated.

Eryk



Ps.
I tried a with mkChar
and with
PROTECT(ral1 = NEW_CHARACTER(1));