Displaying 20 results from an estimated 2000 matches similar to: "About creating an import library"
2004 May 28
1
How could I find R.exp?
Hi all,
I try to create an import library for using dll. Following the
instruction in the readme.package, I used the command “lib /def:R.exp
/out:Rdll.lib”, however, the error message showed “Cannot open file
R.exp”. I downloaded the source code R-1.9.0.tgz, but I can not find
R.exp. Thanks!
Rui
Phone: (403)220-4501
Email: rwang@math.ucalgary.ca
Department of Mathematics and Statistics
2004 Jun 07
1
Load a dll
Hi folks,
I have a question about how to load a dll.
First, I use the command
> dyn.load("lassofu.dll");
then, I got the message below
“NULL
Warning message:
DLL attempted to change FPU control word from 9001f to 90003”;
After I tried to use this dll in one of s functions, I got the message
below
“Error in .Fortran("lasso", as.double(x), as.double(y), as.double(b),
2004 Jun 10
2
Questions about Preserving registers
Hi folks,
I tried to use Mirosoft Fortran Powerstation 4.0 to create a dll file.
However, when I used the command dyn.load(“test.dll”), I got the
following message:
NULL
Warning message:
DLL attempted to change FPU control word from 9001f to 90003
I read the instruction on Duncan Murdoch’s website about preserving
registers, but I still don’t understand it. For example,
1. On first entry
2004 May 11
1
How to use c routines in the exiting package?
Hi all,
I want to know some details about the c routine “lasso” in the functions
of “gl1ce()” . However, I have following troubles. First, I can not
find the routine in the local directories of this function (or package).
Second, if I found the routine, could I call it just like this way, say,
fit <- .C("lasso", …,PACKAGE = "lasso2") in my own functions. My system
is
2004 Jun 10
1
Everything was ok, but I failed to get .o file in g77
Hi folks,
I tried to compile a FORTRAN routine using the command “g77 –o2 –c
all.f”, it seems everything is fine, there is no error message at all,
but finally I can not get the file all.o. Therefore, I can not move on
to the next step using “g77 –shared –c all.dll all.o” to get the file
all.dll. The following is what happened on my screen:
> g77 –o2 –c all.f
>
Could anyone help me? Thanks
2004 Jun 09
1
About dll from c++ routine
Hi folks,
My system is Windows98 + R1.9.0.
The path for my system is c:\perl\bin; c:\mingw\bin; c:\rtools;
c:\windows; c:\windows\command; c:\rw1090\bin.
I created three files followed the examples in “Writing R extensions” in
the directory c:\temp:
// X.hh
class X {
public: X (); ~X ();
};
class Y {
public: Y (); ~Y ();
};
// X.cc
#include <iostream>
#include "X.hh"
static
2010 Oct 19
2
Creating a Windows import lib from R.dll (x64)?
Hello,
The procedure for creating an import library (Rdll.lib) that is documented
in gnuwin32/README.packages works fine using the i386 architecture, but
it doesn't seem to work under x64.
Specifically, the procedure is:
pexports R.dll > R.exp
lib /def:R.exp /out:Rdll.lib /machine:X86 R.dll
There are two issues under x64:
1. Older version of pexports crash when applied to an x64 R.dll.
2011 Apr 27
3
Speed up plotting to MSWindows graphics window
Hello,
I am working on a project analysing the performance of motor-vehicles
through messages logged over a CAN bus.
I am using R 2.12 on Windows XP and 7
I am currently plotting the data in R, overlaying 5 or more plots of
data, logged at 1kHz, (using plot.ts() and par(new = TRUE)).
The aim is to be able to pan, zoom in and out and get values from the
plotted graph using a custom Qt
2004 May 07
1
Error compiling ROracle on Windows 2000
Hello,
I am trying to compile ROracle _0.5-4 under R 1.9.0 without much success. I am running Windows 2000 SP4, Visual C++ 6.0 SP6, and Oracle client 9.2.0.1.0. I was able to run the pre-compiled version of ROracle_0.5-2 under R 1.7.1, but does not work on R 1.8.1 or R 1.9.0. Here is the output from nmake:
C:\Program Files\R\rw1090\library\ROracle\src>nmake
Microsoft (R) Program
2007 Nov 09
1
Building Rdll.lib with Visual C++
>From the R-2.6.0/doc/README.packages it says:
Using Visual C++
================
You may if you prefer use Visual C++ to make the DLLs (unless they use
Fortran source!). The notes here were tested with VC++6.
First build the import library Rdll.lib by
make R.exp
...
In the installation (R-2.6.0-win32.exe) there is no Makefile with an
R.exp target that I could find and I get
2003 Apr 17
1
C function and Windows XP
Hi dear R developer, we are trying to build DLL files using Microsoft Visua=
l C++. As stated in readme.packages we have to build first the import libra=
ry Rdll.lib with the command: lib(def:R.exp/out:Rdll.lib. However, this com=
mand gives 2155 errors due to unresolved external symbols (ATTRIB to zlibVe=
rsion) in R.exp.Could anybody tell me if something is missing in the comman=
d line or
2007 Mar 29
1
Using functions in LAPACK in a C program
Hi,
I wonder where I can find an example of using a function in LAPACK library in a user's own C code. I wrote a C program which will be compiled and linked to produce a DLL file and then loaded into R. I hope to use a function from LAPACK library, for example, dgesdd, in the program. Following R manual, I call the function by F77_CALL(dgesdd) in the program. The program can be compiled
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
Full_Name: Venkatesh Mysore
Version: R-1.7.0
OS: WindowsXP
Submission from: (NULL) (216.165.110.10)
While accessing Rproxy.dll repeatedly (using the code from the (D)COM example in
the R website) causes a failure in the 24th iteration. R-1.6.2 does NOT give
this error. This seems to be a memory management error, that might be linked to
the huge leakage difference between R-1.7.0 and R-1.6.2
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
2010 Dec 02
1
Strange problems with compiling dll
Dear sir\madam!
I'm trying to speed up my R code by writing quite simple dll's in C. But I
faced some problems, and I cannot determine their source.
#include <Rinternals.h>
SEXP mycombin(SEXP N, SEXP k){
int i, *j, *l, c;
j = INTEGER(k);l = INTEGER(N);
c = 1;
if(j[0] > 0 && j[0] < l[0]){
if(j[0] <= l[0] - j[0]){
for(i =
2008 Apr 29
1
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi,
I am new to R. I need to communicate with Oracle from R program in windows
xp. So I am planning to use ROracle. I downloaded the ROracle src from the
site below:
http://cran.r-project.org/web/packages/ROracle/index.html
I am using R version 2.6.2 and Oracle 10g. I followed the instructions to
build ROracle. When I try to compile the source src/Makefile.win I get the
following error:
2010 Dec 03
1
Strange problems with compiling dll
Dear sir\madam!
I'm trying to speed up my R code by writing quite simple dll's in C. But I
faced some problems, and I cannot determine their source.
#include <Rinternals.h>
SEXP mycombin(SEXP N, SEXP k){
int i, *j, *l, c;
j = INTEGER(k);l = INTEGER(N);
c = 1;
if(j[0] > 0 && j[0] < l[0]){
if(j[0] <= l[0] - j[0]){
2014 Jul 19
1
patch about mingwbuild 4.9.1
recently I used gcc 4.9.1 (http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/)on windows to build R,but failed when link R.dll ,it report linker status 5.
after some digging, I found when use gcc 4.9.1 64 bit on windows there are lots of .refptr.*(* is r function name) in R.def, which lead build fail.so I add a simple path to
2003 Apr 18
0
Compiling with Microsoft Visual C++
Dear R developer,
we are trying to build DLL files using Microsoft Visual C++. As stated in readme.packages, we have to build first the import library Rdll.lib with the command: lib /def:R.exp /out:Rdll.lib. However, this command gives 2155 errors due to unresolved external symbols (ATTRIB to zlibversion) in Rexp.
Could anybody tell me if something is missing in the command line or suggest any
2019 Jul 14
0
[External] Mitigating Stalls Caused by Call Deparse on Error
This is probably best viewed in the context of other issue with
displaying calls, such as issues arising from calls constructed in
non-standard evaluation contexts. Might be good to move to a wishlist
item in bugzilla.
Best,
luke
On Sat, 13 Jul 2019, brodie gaslam via R-devel wrote:
> When large calls cause errors R may stall for extended periods.? This
> is particularly likely to happen