Thanks Ben, that fixed the display within R. However, even after changing
the display settings, the matrix elements still appear to be exported in
single precision. The matrix object is being passed into my C routines as
an SEXP Numeric type, and somewhere along the way, some of the digits are
g
On 12/5/07, Jeff Delmerico <[EMAIL PROTECTED]> wrote:
> Does anyone know if there is a way to change the display or storage settings
> so that the values will be displayed to their full precision? Or does
> rnorm only produce values to single precision?
>
> Any assistance would be greatly appreci
Jeff Delmerico wrote:
>
> Thanks Ben, that fixed the display within R. However, even after changing
> the display settings, the matrix elements still appear to be exported in
> single precision. The matrix object is being passed into my C routines as
> an SEXP Numeric type, and somewhere alon
I'm working on a shared library of C functions for use with R, and I want to
create a matrix in R and pass it to the C routines. I know R computes and
supposedly stores numerics in double precision, but when I create a matrix
of random numerics using rnorm(), the values are displayed in single
pr
Jeff Delmerico wrote:
>
> I'm working on a shared library of C functions for use with R, and I want
> to create a matrix in R and pass it to the C routines. I know R computes
> and supposedly stores numerics in double precision, but when I create a
> matrix of random numerics using rnorm(), th
5 matches
Mail list logo