Displaying 20 results from an estimated 20000 matches similar to: "Provide both shlib and standard versions of R?"
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!
2005 Jun 14
1
problem installing packages with compiled-from-source R.app on Mac OS X - Tiger
Hello all,
This may be aimed for r-devel, but I encountered this as an R-user
and not an R-developer so I start here (having said that, please
direct me to R-devel if you think this is appropriate. I am not cross-
posting, as I believe this is bad netiquette).
I am a recent, but extremely happy R-user (especially after getting
my own copy of MASS 2002). My adventures started when I wanted
2011 Dec 08
2
Compilation error of R-2.14.0 on Mac OS 10.7.2
Dear R gurus,
I attempt to install the latest version of R from source on my MacBook Pro, using latest versions of Xcode and gfortran for Lion and configure options:
./configure --with-libintl-prefix=/sw --enable-R-shlib (this last option necessary to further install the Rpy Python package)
I got the following unreduced compilation error:
gcc -std=gnu99 -dynamiclib
2009 Jul 16
2
Renviron.in error when compiling R 2.9.1 under Debian.
Dear all,
I'm trying to compile R 2.9.1 on my home directory under debian,
and as I need to play with RPy, I tryed compile R using:
./configure --enable-R-shlib
But, during the compilation, I get the error below:
-------------------------------------
using as R_SHELL for scripts ... /bin/sh
configure: creating ./config.status
config.status: creating Makeconf
config.status: creating Makefile
2007 Jun 24
1
errors in compiling R-2.5.0 and R-2.4.0[sec=unclassified]
Dear all,
I have encountered errors in compiling R-2.5.0 and R-2.4.0 in a linux
machine (power-pc). I can successfully build it from the source code if
I do not use the '--enable-R-shlib' option while executing the
'./configure' command as mentioned in rpy documentation. Using the
`--enable-R-shlib' option the configure step is executed properly but
the `make' crashes
2003 Sep 08
2
No joy installing R with shared libs.
Hello,
My platform is SuSE 8.1. After downloading and unpacking R version 1.7 I
tried building with shared libs enabled. (./configure --enabl-R-shlib). My
goal is to use RSPython but I am now in my own private segmentation fault
hell.
The R build worked fine: make, make check, make install cool.
The RSPython build worked fine.
Thinking I'm good to go, I run python. But when I import RS
2003 Mar 16
1
R CMD SHLIB uses foo.c instead of foo.cc if both are present (PR#2644)
Full_Name: Faheem Mitha
Version: 1.6.2
OS: Debian GNU/Linux
Submission from: (NULL) (209.42.199.193)
Suppose you are making a shared library using
R CMD SHLIB foo.cc
If there is a file called foo.c in the same directory, then it will be used
instead.
faheem ~/scratch/r-base>R CMD SHLIB foo.cc
gcc-3.0 -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2
-c foo.c -o foo.o
2006 Jan 09
3
R plot display problem under windows when using python rpy module.
Dear list,
Rpy is a python module that provides python interface to R. The
following simple commands
>>> from rpy import *
>>> r.plot(0)
is supposed to create a window that displays the result of plot(0).
However, we observe that
1. Under *nix, rpy+R+python work as expected
2. Under windows, python + pythonWin32 (a python GUI provided by the
pywin32 module), work as expected
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 R command line, the help page 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:\WINDOWS\system32;%OTHER_PATHS%
But when I try R CMD
2003 Mar 16
1
R CMD SHLIB uses foo.c instead of foo.cc if both are present (PR#2645)
On Sun, 16 Mar 2003, Duncan Temple Lang wrote:
> The "fix" is relatively simple. One can change the order of the
> suffixes listed in $R_HOME/etc/Makeconf (i.e. the Makeconf.in version)
> to alter the precedence. If one changes the line
>
> .SUFFIXES: .c .cc .cpp .C .d .f .lo .o
>
> to place the '.c' after the '.cc', your example will work as you
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 Lumley Assoc. Professor, Biostatistics
2010 Dec 14
1
How to specify compiler options when using R CMD SHLIB
Hi
I've built a dll using Fortran code and can call it by either R or
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
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
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
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 \
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
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).
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
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.