From b.rowlingson at lancaster.ac.uk  Tue Sep 30 14:39:59 2014
From: b.rowlingson at lancaster.ac.uk (Barry Rowlingson)
Date: Tue, 30 Sep 2014 13:39:59 +0100
Subject: [Rd] Intel Fortran compiler returns a -1 TRUE value
In-Reply-To: <d78ed9a7be1e4540a70714bf81af0cd6@EX-0-HT0.lancs.local>
References: <CANVKczM_RkKjX_8U62Zb4BG=afNin3t=bjMb+CJKLEv6O2U-DQ@mail.gmail.com>
	<d78ed9a7be1e4540a70714bf81af0cd6@EX-0-HT0.lancs.local>
Message-ID: <CANVKczNY2JtHkf=0bcwdZOstwSBPaWCYVRWRkq3wOS7d33cjMA@mail.gmail.com>

On Tue, Sep 30, 2014 at 12:53 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:

>
> This appears to be user error.  According to Writing R Extensions, the
> Fortran type corresponding to R logical is INTEGER, not LOGICAL.
>

Oh yes, a very old and long-standing user error. I assume the CRAN checks
don't check this. Has it ever been okay to pass logicals to Fortran?

 I shall inform the package maintainer....

Thanks

Barry

	[[alternative HTML version deleted]]



[Rd] Intel Fortran compiler returns a -1 TRUE value
Barry Rowlingson