help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: equivalent for C-style init: structname varname[] = {...} ?


From: Yury T.
Subject: Re: equivalent for C-style init: structname varname[] = {...} ?
Date: Mon, 12 Nov 2012 13:14:25 -0800 (PST)

Jordi Gutiérrez Hermoso-2 wrote
>> Well, thanks, but I was trying to move away from R and its pecularities,
>> powerful as they might be.
> 
> Oh, I think R is far better suited than Octave to handle data. The
> following complaints are about Matlab, but they apply to Octave too:

Oh yes, R is a universe in itself and frankly, often it's one language too
much. I don't use it often (mostly to generate complex plots) and always I
spend too much time trying to remember how to do the simplest things. It's a
boon if you may use just one language, even so special as R.

And I might have to abandon my moves away from it, for a while, as no
*equivalent* solution presents itself. 

But possibly Sergei will be so kind to adapt my example to that
consistent_struct function he posted before. The 'cell structs' do not make
good solution as they have no identifications for the individiual fields, as
you pointed out, in fact. Or do they? Can those indices like in "[1,1] =
file1.dat" be used without complex conversions?

And complaints about text files (CSVs, in fact)? Mighty OpenOffice balks at
quite the simple CSV. CSV isn't easy.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/equivalent-for-C-style-init-structname-varname-tp4646460p4646519.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]