From murdoch at stats.uwo.ca  Mon Jul 14 19:18:05 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 14 Jul 2008 13:18:05 -0400
Subject: [Rd] dll problem
In-Reply-To: <18443925.post@talk.nabble.com>
References: <18443925.post@talk.nabble.com>
Message-ID: <487B8A4D.7050809@stats.uwo.ca>

On 7/14/2008 9:30 AM, stephenb wrote:
> I am trying to load a dll compiled with the latest cygwin into R 2.7.0

We don't support Cygwin in R.  I'd suggest using the MinGW tools we 
provide (see www.murdoch-sutherland.com/Rtools).

Duncan Murdoch

> R version 2.7.0 (2008-04-22)
> Copyright (C) 2008 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> 
> I have:
> Sys.getenv("Path")
>                                                                                                                                                          
> Path
> "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program
> Files\\MBTrading\\MBT Navigator;C:\\Program
> Files\\R\\R-2.7.0\\bin;C:\\cygwin\\bin"
> 
> the source is:
> !!!     f1.f
>        SUBROUTINE f1(a)
> 
>       INTEGER :: a, i
>       a=2
> 
>       RETURN
> 
>       END SUBROUTINE f1
> 
> compiled by
> 
> g77 -shared -o f1.dll f1.f
> 
> R freezes and I have to kill it with task manager
> when I try:
> dyn.load("f1.dll")
> 
> Please, help.



[Rd] dll problem
Duncan Murdoch