similar to: link my own C library using Rcmd SHLIB

Displaying 20 results from an estimated 3000 matches similar to: "link my own C library using Rcmd SHLIB"

2012 Jun 24
2
Win 64 package build - ERROR: loading failed for 'x64'
I have developed an R package that works under Win32, but when I attempt to build it on Win64, I get ERROR: loading failed for 'x64' More precisely, I developed and tested the package under Win32 and it works. But when I move to a 64 bit Windows 7 (Home Premium) system, and attempt to build both 32 bit and 64 bit packages, the 32 bit package seems to build, but the 64 bit build
2007 Dec 03
1
linking C/C++ external libraries.
Hi Everyone, I'm trying to load some C++ code using dyn.load but I'm getting unresolved symbols associated with some external libraries (CSparse). I gather this is something to do with linking as the the code compiles fine. However, I've passed -L/home/jarrod/My_Programs/SuiteSparse/CSparse/Lib -lcsparse to the complier (g++), either directly using R CMD SHLIB or as
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
Dear R-devel, I am converting some stand-alone programs (mixed C and F77) to R functions. I've run into two issues that I haven't been able to resolve. I've looked at the R-exts manual and Readme files, but haven't found answers. (1) Can I link to a (Win32) static library? Is there some option to RCMD SHLIB that allows this? I've tried RCMD SHLIB myprog.c -l
2007 Jan 26
1
Makevars PKG_LIBS ignored by SHLIB (PR#9473)
Full_Name: Rick Sayre Version: 2.4.0 OS: Windows Submission from: (NULL) (138.72.27.164) PKG_LIBS works fine on *nix on windows, it seems to be ignored by the "SHLIB" script so, R CMD SHLIB blah properly uses PKG_CPPFLAGS and PKG_CFLAGS from Makevars, but PKG_LIBS is ignored
2004 Sep 09
1
Adding GSL library path to SHLIB
Dear R-list people, I asked a similar question a few hours before. I will try to be more specific. We like to add the GSL library to the file SHLIB in order to make it possible to run the C code using GSL functions from R. We read that the path to the libgsl.a should be added to the line shlib_libadd=' ' in the file SHLIB but it does not work on our system. Dyn.load fails with error
2004 Jun 11
2
question about Rcmd SHLIB
Dear R People: I'm trying to use the Rcmd SHLIB to produce a dll. Rcmd SHLIB -o test2.dll test2.f make[1]: *** [libR.a] Error 255 make: *** [libR] Error 2 Where do I go to find out about the "make" errors, please? I suspect that I might be missing something. I have the tools for creating new packages, but maybe I left out something. This is for R version 1.9.0 on Windows.
2003 Jun 13
1
Problem with Rcmd SHLIB
Dear R-helpers, i am trying to make a shared library from a Fortran subroutine, and i therefore used (after reading the documentation): Rcmd SHLIB forfile.f #(R1.70, Win2000) And the error is: " 'perl' is not recognized as an internal or external command,operable program or batch file." So i went ahead and tried to install Perl (from the suggested website in
2003 Jun 25
0
Rcmd SHLIB on Windows
Hi all, I would like to preform an autologistic regression analysis on my thesis data. This is a form of logistic regression that accounts for spatial autocorrelation within and between predictor variables. To this end I have received some script from Dr. Fred Huffer which will allow for the analysis in R. It consists of an R script (autolog.R) that calls a compiled Fortran script (combo.o).
2004 Feb 29
1
Rcmd SHLIB
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check? When I use "Rcmd SHLIB <filename>" I get: C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R. exp --output-lib libR.a, ...) failed. make (e=2): The system cannot find the file
2014 Oct 08
1
RCMD SHLIB problem in 64 bits
I am trying to build a dll writen in C to be called by R. Interestingly, when I set the global environment variable PATH to be "c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*i386*;" and I typed "RCMD SHLIB Permutation.c" in Cygwin, the dll was compiled and I can sucessfully call functions after I had loaded it into 32 bits R via .Call. However, now I want
2002 Sep 30
2
"Rcmd SHLIB" does not work
R-users E-mail: r-help at stat.math.ethz.ch Hi! I would like to produce DLL files to be linked to R objects on Windows98SE. The source files are written in Fortran77. I input the command below on R console. Rcmd SHLIB aaa.f The result is: Error: syntax error Does this mean that "Rcmd SHLIB aaa.f" contains symtax error, or "aaa.f" contains it? Or do I need to do
2001 Oct 19
0
Rcmd SHLIB: another problem
Well, having made the same installation of Rtools for rw1031 in a Win98 box (the former one was my Win95 labtop) to get advantage of significantly more RAM, I try C:\alobo\Rseg>Rcmd SHLIB test.c make: /bin/sh.exe: Command not found make: *** [libR] Error 127 despite the fact that I made a C:\bin directory and copied sh.exe there. Actually, if I just type sh in the MS-DOS window, it works
2001 Dec 12
0
RE: [R] Rcmd SHLIB problem
Prof. Ripley, Seems like mine is 629: c:\home>perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 629 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 12:27:04 Aug 20 2001 Will try a newer build and see. Regards, Andy > -----Original Message----- >
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c. There appears to be a missing / between etc and i386 in the path. I am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16 r53864) and just downloaded Rtools 2.12 today. Is this a bug in R? How can I resolve this? C:\tmp2>Rcmd SHLIB myprog.c cygwin warning: MS-DOS style path detected:
2001 Dec 12
0
Re: [R] Rcmd SHLIB problem
> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk] > > The answer seems to be: make sure you are using the tools in a current > tools.zip. Neither Andy nor Uwe were. Both the version of > make.exe and > cygwin1.dll are critical. > > It's also wise to have a fairly recent version of Perl (628 > or later), as > some earlier ones made errors in calls to
2008 Apr 14
0
Incorrect @INC: Rcmd SHLIB error under Windows (2.6.2, 44383) (PR#11165)
Has your environment variable path been set correctly? It's been a while that I'm not using R under windows but remember had experienced the same error. I remember that I had to put many paths as environment variable to build R packages properly. Best, Mathieu wolpert at stat.duke.edu a ?crit : > Hi, R team. > > I'm trying to build a dll from a c program to be invoked
2002 Aug 13
1
Rcmd SHLIB under NT
Hello: I'm trying to use Rcmd SHLIB to compile a single file, sann.c, to get sann.dll. I was able to get make libR.a to work, after going into MkRules and changing the line DLLTOOL=$(BINPREF)dlltool -k --as $(AS) to read DLLTOOL=C:/MINGW-1.1/bin/dlltool -k --as $(AS) But now I get: C:\rw1051\src\gnuwin32>Rcmd SHLIB sann.c make: make: Command not found make: *** [libR] Error 127
2002 Oct 02
0
Re: Rcmd SHLIB" does not work
R users E-mail: r-help at stat.math.ethz.ch I really appreciate information from Dr. Ligges and Dr. Wang. I managed to create DLL files by MinGW and use them as subroutines on R. Thank you very much again. ******** E-mail: takezawa at affrc.go.jp ******** ***** http://cse.naro.affrc.go.jp/takezawa/patent-e.html *****
2008 Apr 14
0
(PR#11161) Incorrect @INC: Rcmd SHLIB error under Windows
The bug is yours: you are using Cygwin Perl, not a Windows Perl. This is specifically warned about in the manual: @strong{Beware}: you do need a @emph{Windows} port and not the Cygwin one. Users of 64-bit Windows can use a Win64 Perl (such as that from ActiveState) if they prefer. You can't expect to use tools from a different operating system (Cygwin is effectively a guest OS)
2010 Mar 11
2
Problem with rcmd SHLIB
Hi all, I am trying to call a C function from R (version 2.10.1) on a windows machine. The C code is in a .c file, I have pasted the code below although I'm very confident that it does not contain any errors (it is not my code), but also, the problem that I have occurs with every .c file that I have tried this with. I have installed Rtools and included: C:\Rtools\bin; C:\Rtools\perl;