[R] dll problem

From: stephenb <stenka1_at_go.com>
Date: Mon, 14 Jul 2008 09:49:27 -0700 (PDT)

I am trying to load a dll compiled with the latest cygwin into R 2.7.0 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.

-- 
View this message in context: http://www.nabble.com/dll-problem-tp18448005p18448005.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 14 Jul 2008 - 18:09:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jul 2008 - 19:31:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive