[R] Writing R package that call Fortran codes

Berend Hasselman bhh at xs4all.nl
Thu Jun 16 20:50:24 CEST 2016


> 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



More information about the R-help mailing list