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.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to