similar to: Calling Fortran routines

Displaying 20 results from an estimated 1200 matches similar to: "Calling Fortran routines"

2003 Apr 04
0
R crashes on calling a Fortran routine (PR#2728)
Full_Name: martyn byng Version: 1.6.2 OS: windows 2000 (professional) Submission from: (NULL) (62.231.145.253) I am having problems calling a fortran routine from within R. When the routine is called, R exits with an application error: "The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory could not be written". The R code used to call the routine is:
2003 Oct 01
1
Acces violation ???
Dear R-listers, I have created a "dll" and I call it from a R function. However R stops and shows the message: "Unhandled exception in Rgui.exe (R.DLL): 0xC0000005: Access Violation" I get this error in other situations and I solved it verifying that all parameters are called fine. (e.g., double precision -> as.double, integer -> as.integer,...). I have verify this.
2005 Jul 25
1
Fortran function name not in load table
Using R 2.0.1 on Windows XP, I am getting an error msg: Error in .Fortran("conic", nxy = nxy, npt = npt, CP = cp, EP1 = ep1, EP2 = ep2, : Fortran function name not in load table I am wondering if there is a way to see what function names are in the load table? Maybe the function name has been altered? The first thing I do in my analysis script is to load a DLL, conic.dll,
2004 Aug 19
2
(no subject)
Hi, there, I have a number of F90 codes wish to be linked into R under Windows XP OS. Do anyone know how to do it and give some advice? Many thanks. Hanson
2008 Aug 24
1
problem running dll in R
Hi everyone, I've created a dll for a fortran subroutine, and when I call the subroutine in R (via a wrapped function) a standard program shutdown windows error prompt immediately pops up: the program has encountered a problem and needs to be shut down... send message / don't send message to MS... etc. When I click "Don't send", the R consol does not then shut down, and
2003 Oct 27
3
(PR#4806)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C39C9F.B5DABBD0 Content-Type: text/plain; charset="iso-8859-1" # Your mailer is set to "none" (default on Windows), # hence we cannot send the bug report directly from R. # Please copy the bug report (after finishing
2005 Sep 21
2
cdecl and stdcall
Hi, I'm trying to load a dynamic link library and it seems to work (is.loaded -> TRUE). When I run the function, which calls the .Fortran subroutine, R crashes! I'v tried the same in S-Plus 2000 and it worked. Therefore I suppose that the dll has been compiled with the stdcall calling convention (and not cdecl). But the problem is that I don't have access to the source code,
2008 Apr 01
1
[LLVMdev] Calling Conventions
I'm trying to understand the LLVM calling conventions. Coming from a Windows C++ background, I'm familiar with three calling conventions: cdecl, stdcall, and fastcall. It looks like cdecl corresponds to ccc in LLVM, but I'm not sure about the other two. Best Regards, Jon
2009 Dec 03
4
[LLVMdev] Win64 Calling Convention problem
Hi! I have discovered a problem with LLVM's interpretation of the Win64 calling convention w.r.t. passing of aggregates as arguments. The following code is part of my host application that is compiled with Visual Studio 2005 in 64-bit debug mode. noise4 expects a structure of four floats as its first and only argument, which is - in accordance with the specs of the Win64 calling convention -
2005 Aug 03
7
call fortran in R
Hello, I used a mac G5, R.2.1.1, and G77 3.4.4 and I would like to use and call a fortran subroutine. The trouble is that it seems I am not able to correctly load the compiled code. Here is what I have done: In the terminal this how I compiled my fortran code: R CMD SHLIB ~/Desktop/Fortan_kmeans/kmeans3.f There is the wrapper I have paste inside de kmeans3.f file: c
2003 Jun 18
2
dyn.load() function problem help!
Hi! I would like to call a Fortran subroutine within R. For doing this, I first built a shared library for loading into R under Unix and it was successful. But when I tried to load a shared library using dyn.load() function for use in .Fortran(), I got an error message. The command I input below in R is: >dyn.load("aaa.so") The reslut is: error in
2016 Mar 07
0
ALLOCATE in a FORTRAN subroutine
Hi, "we can, once we know how to do it, 'drive' R from within FORTRAN" I am not sure I understand what you mean by this ... You can call routines written in Fortran or C from within R - how easy this is depends on the interfaces to those routines. You can call (some) R functionality from C (see for example
2005 Jan 19
4
how to call R in delphi?
Dear All: Now I am writing program in delphi , found it is very convenience to do anova, T-test, F-Test, etc in R , how to call R in delphi? Thsnks. Best Regards YiYao Jiang Product Division/ product Testing Department Semiconductor Manufacturing International Corporation ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203 Tel:86-21-5080-2000 Ext. 15173
2004 Feb 11
3
RGui (Windows) crashes after use of a Salford Fortran DLL
Anybody out there successfully using the Salford Fortran compilers with R? I have created a DLL using the Salford FTN95 compiler and it works in as far I can dyn.load it, run the routines and get the right answers back. Unfortunately subsequently, sometime later, the Rgui crashes (access violation I think from the DrWatson log). The crashes depend on whether or not I paste the code as one
1999 Jul 07
1
Calling S-Plus routines from C or Fortran
I am told it is common practice to call C/Fortran routines from one's S-PLUS/R. However is it possible to call S-Plus routines into C and Fortran programs using them as executable functions/subroutines ? Grateful for any answers to this. Regards Ray P.S. Please direct emails directly to rayg at csc.liv.ac.uk as I am not on the mailing list.
2017 May 09
0
registering Fortran routines in R packages
> On 9 May 2017, at 13:44, Christophe Dutang <dutangc at gmail.com> wrote: > > Dear list, > > I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. > > Reading
2002 Mar 13
1
writing fortran routines
Are there more detailed documentations for writing fortran routines than "doc/manual/R-exts.html", or some examples of such routines available? Thanks in advance for any help/pointers. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2006 Oct 24
0
X2R: R-compatible output routines from C, ADMB, Fortran to R
We announce the availability of three related software libraries: C2R, ADMB2R, and For2R (together, X2R). Each contains output routines to simplify transfer of complicated data structures from models written in a compiled language to R. The user's data can be written as a structured ASCII file which, when read by R (note 1) with a single dget() function call, will become an R data object
2006 Oct 24
0
X2R: R-compatible output routines from C, ADMB, Fortran to R
We announce the availability of three related software libraries: C2R, ADMB2R, and For2R (together, X2R). Each contains output routines to simplify transfer of complicated data structures from models written in a compiled language to R. The user's data can be written as a structured ASCII file which, when read by R (note 1) with a single dget() function call, will become an R data object
2001 Aug 23
1
Fortran routines from LINPACK in S+ but not R
Dear R Developers, I should have had the Design library running in R by now but have kept putting off changing some calls to LINPACK routines to use those builtin to R. Specifically I call dqrsl1 and dqr. Would it be an easy task to put those in the next release of R? If not I'll finally bite the bullet and get back into reading LINPACK documentation (which I have but haven't examined