From jonathan.zhou at utoronto.ca  Fri Aug 10 22:46:52 2007
From: jonathan.zhou at utoronto.ca (Jonathan Zhou)
Date: Fri, 10 Aug 2007 13:46:52 -0700 (PDT)
Subject: [Rd] Convert multiple C strings into an R character vector
In-Reply-To: <m2fy2rclvc.fsf@fhcrc.org>
References: <12095059.post@talk.nabble.com> <m2fy2rclvc.fsf@fhcrc.org>
Message-ID: <12098792.post@talk.nabble.com>


Thanks Seth I got the code to work.  I've actually got a followup question.   

The strings were created from reading a file where an R object was placed in
using "dput", meaning the strings hold R objects in character string format. 
My original intention for doing this was so that the character vector that
is passed back to the R code could be parsed back into the original R
object.  Is this possible without bypassing through a temporary file? I'm
not aware of a function or set of functions to do so.

I know the above seems a little twisted in object conversion but I needed to
do this as the original R object was created on a remote host and I'm trying
to transfer the object from the remote host to the local host.  

Best Regards, 
Jon
-- 
View this message in context: http://www.nabble.com/Convert-multiple-C-strings-into-an-R-character-vector-tf4249882.html#a12098792
Sent from the R devel mailing list archive at Nabble.com.



[Rd] Convert multiple C strings into an R character vector
Jonathan Zhou