Description Usage Arguments Details Value Author(s) See Also
readBinMatrix
reads a binary file containing dimension information,
and the result is wrapped into a matrix.
1 | readBinMatrix(name, what = "double", ncol = 1e+06, ...)
|
name |
A |
what |
A |
ncol |
An |
... |
Additional optional arguments. |
readBinMatrix
reads a binary file containing dimension information and wrap
the data into a matrix. The first element in the input file name
must be an integer n
, determining the length of dimensionality.
The following n
elements must also be integers, specifying
the actual dimensionality, followed by data elements. Only the first dimension will
used to determine the number of rows. This function needs user-defined ncol
(the number of columns). If ncol is unknown, a pre-defined upper limit (1000000)
will be used.
returns a logical indicating whether the importing was successful or not.
Y. Alex Chen <ychen@insightful.com>
readBin, importBin2Sqlite
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.