s-news
[Top] [All Lists]

export a list to an array in C/C++

To: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Subject: export a list to an array in C/C++
From: Yingfu Xie <Yingfu.Xie@sekon.slu.se>
Date: Mon, 26 Apr 2004 10:25:03 +0200
Hello, Dear users,

I have a list in S-plus 6.1 under Win2000, each element of which is a matrix
with different dimension; and I want to use it in C. The only way I can do
now is to unlist it to a vector, export to an ASCII file and read it again.
But it takes time and is error prone. Does anyone have better ideas, ideally
exporting this list (or after converting to an array in S-plus then
exporting) to a 3-dimension array[][][] in C?

A lot of thanks in advance!

Regards,

Yingfu
###########################################

This message has been scanned by F-Secure 
Anti-Virus for Microsoft Exchange.

###########################################



<Prev in Thread] Current Thread [Next in Thread>
  • export a list to an array in C/C++, Yingfu Xie <=