search for: shlib

Displaying 20 results from an estimated 1167 matches for "shlib".

2012 Feb 14
2
R CMD SHLIB in Windows XP - No output at all
Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C:\Trading\R\R-2.14.1\bin\i386;C:\WINDO...
2001 Feb 23
1
a couple of minor points about SHLIB
Dear People, 1) When I use the R search engine to find SHLIB (the text says "You can search for keywords, function and data names and text in help page titles. Usage: Enter a string in the text field below and hit RETURN"), I get "no matches for "SHLIB" have been found!" On the other hand, when I do >help(SHLIB) at the...
2010 Jul 07
1
xls.getshlib() error in xlsReadWrite package under W7
Dear all, I installed xlsReadWrite package under Windows 7, and got error when trying to run xls.getshlib(). Please, see the errors below: > require(xlsReadWrite) Loading required package: xlsReadWrite xlsReadWrite version (cran shlib) Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland. !! Your installation contains the cran placeholder shlib (dll/so). Please get the regular shlib (420 KB)...
2006 Jul 26
1
R CMD SHLIB flags
How can one specify multiple extra flags to R CMD SHLIB? The example in R-exts section 5.5 MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c works for a single flag, but when I try MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c only the first flag is used and the rest seem to be ignored (version 2.3.1, Mac OS X) -thomas Thomas L...
2004 Oct 17
3
question about Rcmd SHLIB
Dear R-people: I tried to create a shared library in Windows XP. However I got error messages which attached below: C:\lasso>Rcmd SHLIB all.f cox.f gcc all.o libR makeMakedeps all.dll -o all gcc.exe: libR: No such file or directory gcc.exe: makeMakedeps: No such file or directory make: *** [all] Error 1 I have created shard libraries successfully before. Also for the same fortran files: all.f cox.f, I can create the object al...
2010 Dec 14
1
How to specify compiler options when using R CMD SHLIB
...Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. >From what I've read, it looks like I should use the subroutines DBLEPR, INTPR and REALPR to print to the R console rather than using Fortran standard I/O and that if I use the command R CMD SHLIB source.f that these subroutines will automatically be found (Please correct me if I'm wrong about any of this). The problem is that I have to specify the gfortran compiler option -fno-range-check in order for my code to compile. I've tried setting PKG_FCFLAGS=-fno-range-check in a file...
2009 Oct 20
1
Changing options in R CMD SHLIB
Dear, When trying to use directive OpenMP in my code, I observed that the directive ones were being considered as commentaries. Compiling with command R CMD SHLIB xxx.f95 - fopenmp and calling the function in the R verified that threads was not being considered. I was to observe the options of the compiler R CMD SHLIB --help Usage: R CMD SHLIB [options] files | linker options Build a shared library for dynamic loading from the specified source or object...
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
Dear developeRs, I'm trying to build R (2.7.1, on an x86_64 running Linux, but I believe I have observed this on x86 and with earlier versions of R as well) using external BLAS and LAPACK libraries _and_ generating libR.so, libRblas.so and libRlapack.so. Without --enable-BLAS-shlib, configure is able to find and use the external LAPACK library: ./configure \ --with-blas="-L/site/intel/cmkl/8.1/lib/em64t -lmkl -lvml -lguide -lpthread" \ --with-lapack="-L/site/intel/cmkl/8.1/lib/em64t -lmkl_lapack64 -lmkl" \ --enable-R-shlib [...] External libraries...
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help, I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4: C:\TEMP>Rcmd SHLIB tryf.o make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. C:\TEMP>Rcmd SHLIB tryf.f make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed...
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help, I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4: C:\TEMP>Rcmd SHLIB tryf.o make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. C:\TEMP>Rcmd SHLIB tryf.f make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed...
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People, I want to run gcc with optimisation turned on (-O2), and with -Wall (all warnings) enabled, when using R CMD SHLIB. When I do make, which is R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm in this case, I get faheem ~/research/cftp>make R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm make[1]: Entering directory `/home/faheem/research/cftp' gcc -I/usr/lib/R/include -I/usr/local/include -mieee-...
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
Yes, changing line 67 of SHLIB as Uwe suggested worked: C:\TEMP>Rcmd SHLIB tryf.f make[1]: `libR.a' is up to date. rm -f -f tryf.a ar cr tryf.a *.o ranlib tryf.a ------- Building tryf.dll from tryf.a -------- echo LIBRARY tryf > tryf.def echo EXPORTS >> tryf.def nm tryf.a > Defs sed -n '/^........ [BCDRT]...
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...
2011 Mar 22
1
enable shlib for RPy2- where is source file?
Hi, Have installed Ubuntu packages for R by adding: deb http:///bin/linux/ubuntu hardy/ to my /etc/apt/sources.list file and using: sudo apt-get update sudo apt-get install r-base I understand that to enable shlib I need to download source files to my home directory. When I run apt-get source r-base I get the message: You must put some 'source' URIs in your sources.list Fair enough! Does anyone out there know how I can do this (what are the URI's)? Dont they come with the instalation? I thin...
2012 Apr 13
1
Question with R CMD SHLIB in 64 bit R
Hi, I have some C++ code that I compiled into a dll for use in 32 bit R and would like to recompile for use in 64bit R. I thought it would be as easy as going to R-2.15.0\bib\x64 and running R CMD SHLIB mfregRF.c but that doesn't do anything. It doesn't give me any error messages, but it also doesn't create a shared (so) file. I just get the command prompt back. I also tried \bin\x64 R CMD SHLIB - help, and again got nothing but the command prompt back. Just to check, I ran R CMD...
2002 Jun 13
1
using MAKEFLAGS in compiling C code as a shared library using R CMD SHLIB
Dear R People, in the R FAQ (in the R Programming section) it says ********************************************************************** How can I change compilation flags? =================================== Suppose you have C code file for dynloading into R, but you want to use `R CMD SHLIB' with compilation flags other than the default ones (which were determined when R was built). You could change the file ``R_HOME'/etc/Makeconf' to reflect your preferences. If you are a Bourne shell user, you can also pass the desired flags to Make (which is used for controlling compi...
2010 Mar 11
2
Problem with rcmd SHLIB
...d this with. I have installed Rtools and included: C:\Rtools\bin; C:\Rtools\perl; C:\Rtools\MinGW\bin;"C:\Program Files\R\R-2.10.1\bin" in my path from My Computer. I would like to create a .dll file in order to load it in R and call the C function. In the command prompt I type: rcmd SHLIB C:\...\filename.c     (or R CMD SHLIB C:\...\filename.c) and I get the message: make: nothing to be done for 'all' I understand that this message means that the particular file has already been compiled and no changes have been made and so the .dll file must already exist. The problem is t...
2009 Jul 28
1
R --vannilla for install/remove/shlib(Re: R 2.8->2.9 change that breaks some upgrade scenarios)
...emoving add-on packages -R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --no-restore --slave --args $@ +R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --vanilla --slave --args $@ diff --git a/src/scripts/SHLIB b/src/scripts/SHLIB index d0ab9a0..ab62369 100644 --- a/src/scripts/SHLIB +++ b/src/scripts/SHLIB @@ -1,5 +1,5 @@ # # ${R_HOME}/bin/SHLIB -echo 'tools:::.SHLIB()' | R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" --no-restore --slave --no-site-file --no-init-file --args $@ +echo ...
2001 Nov 17
2
choosing g/g++ compiler executable in R CMD SHLIB
Dear People, After considerable effort, I managed to install gcc-3.0 on my Debian system. However, Debian keeps gcc-2.95 around as the default compiler, and gcc, g++ point to the 2.95 version. The 3.0 versions need to be explicitly invoked as gcc-3.0, g++-3.0 etc. How can I get R CMD SHLIB to invoke gcc-3.0 instead of gcc and g++-3.0 instead of g++? I would like this to be done by default but only for R. That is, I would like everything except R CMD SHLIB to call the 2.95 versions by default, but have R CMD SHLIB to call the 3.0 versions by default. I didn't see this issue addre...
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 to run the same function in 64 bits R. I changed the global environment variable PATH to be "c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Progr...