R have a native class of objects of class 'matrix':
they can only be squared
They are atomic vectors with 'dimension' attribute (2 coordinates)
Since R is an object-oriented language,
a user can specify as many new classes of data as she wants
Matrix package has many additional classes of "matrices"
It's unreal to have gretl native interface to much
classes defined in packages (about 10^4 packages in cran only)
It's more realistic to coerce some "matrix"
to a native (i. e. defined in r-base) class of objects
and only then export them
Oleh
21 жовтня 2016, 18:05:38, від "Sven Schreiber" < svetosch(a)gmx.net >:
Am 21.10.2016 um 17:03 schrieb Allin Cottrell:
On Fri, 21 Oct 2016, Sven Schreiber wrote:
>> m1
>> [,1]
>> [1,] 0.8048351
>> [2,] -0.9528827
>> [3,] 1.42894
>> [4,] ?
>> </R>
>
>
> Well but that seems to stem from "glueing" together the two matrices
> with non-matching dimensions.
Yes: that doesn't provoke an error in R, but it's not clear to me what
the result really is.
One of the reasons to stick with gretl!
Hehe,
Sven
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel