[R] dll problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 14 20:54:42 CEST 2008


This question has already been answered on R-devel.

In any case, the correct procedure is discussed in the 'R Installation and 
Administration Manual', and does not involve 'cygwin'.

On Mon, 14 Jul 2008, stephenb wrote:

>
> 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list