search for: compilingdl

Displaying 19 results from an estimated 19 matches for "compilingdl".

Did you mean: compiling
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,
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
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
2009 Apr 03
1
Problem building DLL under Windows
...involved in shared libraries. I get the impression however that I'm missing something about Windows DLLs. Compulsory version information: OS: Windows XP SP2 R: 2.8.1 GCC: 4.2.1-sjlj (mingw32-2) (From Rtools29.exe) For the record, I've read http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/readme.packages.txt which hints at some requirement for DLLs to use _cdecl. I've started exploring along this line, but there's a lot of documentation to trawl through to make sense of it all and I don't want to go off chasing a red herring if I just need to pass a special --make-it-w...
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 Apr 03
1
Calling Fortran routines
Hi, 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: .Fortran("GTEST",a=as.integer(1),b=as.integer(3),c=as.integer(-10),d=as.inte ger(0),e=as.integer(0)) The
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.
2004 Apr 07
1
loading c code in windows ambient
Dear all, I'm studing how to include .c code in my .r functions . In the R-exts.pdf manual I have found the following code. At one point the author write "called from R by"... How can I load a .c file on R? ( I am using a xp windows as so.) Thank you ale void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *nb - 1; for(i = 0; i < nab; i++)
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
2003 May 22
2
help for calling a c program in the windows version R
Hi, all: I want to call a c program in the windows version R, so I compiled it in VC to get the dll file and use the command ?dyn.load? to call it in R. There is no error appeared for this command, but when I use the command ? is.loaded? to check, it shows that dll file isn?t be loaded. Does anyone have same experience or know the correct way to do it? Best wishes, Guan Xing 5/22/03
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
2014 Jul 18
1
request of information about creating DLL from R to be used in other languages/programs
Hello My question is the following. I have tried to find a similar subject in archives but not found (perhaps bad search!) and I tried R-help and I was advised that R-devel would perhaps better for my question So I wonder if it is possible to create a dll from a R code to use it in another language/program. Indeed, one of my colleague wrote a R code combining some R functions to create a
2003 Jun 06
2
Query about C Function Interface
Sir/Madam, I am a graduate student in Petroleum Engineering. I have a problem in using R and hope that you could help in solving that. I have a code in C, which displays orthogonal arrays when I give number of rows and number of columns to it. I have another code in R that calls this C code. I am very new to R. I downloaded the R and loaded packages base and mva. I also kept my C code .exe
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
2005 Sep 30
3
.C help
Hi, I am hoping some one can help me. I am learning to use C and would like to learn how to call c code in R. I have look at Writing R Extensions and I tried to copy the example on page 38 void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *nb - 1; for(i = 0; i < nab; i++) ab[i] = 0.0; for(i = 0; i < *na; i++) for(j = 0; j <
2005 Dec 09
3
external pointers
I have some C data I want to pass back to R opaquely, and then back to C. I understand external pointers are the way to do so. I'm trying to find how they interact with garbage collection and object lifetime, and what I need to do so that the memory lives until the calling R process ends. Could anyone give me some pointers? I haven't found much documentation. An earlier message
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
2004 Feb 10
4
The ttest.c example in R under MS Windows
We are trying to compile and run the ttest.c example that comes with R (in C:\Program Files\R\rw1081\src\library\windlgs\src\ttest.c). After compiling it with MS Visual C++ we load the DLL with dyn.load. So far it seems good, but when we try to call it from R (after running C:\Program Files\R\rw1081\src\library\windlgs\R\windlgs.R) R crashes. We have tried changing the exports from DLL but have
2004 Jul 12
0
Where does R search when source() ?
...collection), and make sure it really is a DLL file? | > | > Once you work out what is necessary to produce a DLL | > that works, | > please write up a short description and send it to | > me to include on my | > page | > | > | http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/ | > | > I don't think there's anything there now that would | > help you, but you | > might browse it for inspiration... | > | > Duncan Murdoch | > | > > | > > | > >Then in R I used | > > | > >> dyn.load("sample.dll") | >...