Skip to content
Back to formatted view

Raw Message

Message-ID: <354D2AA1-368E-4CDD-8801-66DC1CB3EBBA@xs4all.nl>
Date: 2016-06-16T18:50:24Z
From: Berend Hasselman
Subject: Writing R package that call Fortran codes
In-Reply-To: <F1F56050-0E51-4764-897D-C415BBFC954B@gmail.com>

> On 16 Jun 2016, at 20:02, Eduardo M. A. M.Mendes <emammendes at gmail.com> wrote:
> 
> Thanks  Bill for pointing this out.  I haven?t noticed it.
> 
> Vineetha, try as.double(rep(0,n)) or as.matrix(rep(0,n)),
> 

Why not simply numeric(n)?

Berend Hasselman