Displaying 20 results from an estimated 7000 matches similar to: "R's --enable-threads does nothing?; gdb needs -lpthread"
2008 Sep 04
1
Erlang-style message-passing in R: Rmpi, Snow, NetWorkSpaces, etc.
I see about 7 different R packages for multi-process parallel
programming. Which do you think is the best, most complete, and most
robust to pick for general purpose Erlang-style message-passing
programming in R, and why?
First here's my use case, and then my analysis so far. I often have
code whose basic organization looks something like this:
1. Fetch step: For each date, gather up or
2007 Oct 24
2
R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)
On Linux x86-64 (Ubuntu 6.06), the latest R sources from the
Subversion trunk fail to build with the following "recompile with
-fPIC" error:
$ ./configure --with-x=yes --prefix=$inst_dir --enable-R-shlib --with-tcltk=/usr/lib/tcl8.4 --with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh
$ make
/usr/bin/ld: ../appl/approx.o: relocation R_X86_64_32 against `a local symbol' can not be
2009 Jun 12
1
Rprof loses all system() time
Rprof seems to ignore all time spent inside system() calls. E.g.,
this simple example actually takes about 10 seconds, but Rprof thinks
the total time is only 0.12 seconds:
> Rprof("sleep-system.out") ; system.time(system(command="sleep 10")) ; Rprof(NULL)
user system elapsed
0.000 0.004 10.015
> summaryRprof("sleep-system.out")$by.total
2010 Jan 20
0
R CMD INSTALL configure.args and CC customization
Hi, everybody.
I hope the new year is treating you well.
In a Rocks Cluster Linux system (that's Centos 5.2 based), I have
built R-2.10 and it runs well.
While fiddling with MPI libraries and R packages, I've noticed a few
little wrinkles.
This comes as no surprise to the veteran R programmers, but let me
share to the new guys the following gem:
There is a difference between . and -
2006 Oct 09
2
Installing Rmpi on 64-bit Linux Athlon
Hello,
We have recently added a 64-bit 2 x Dual-Core Athlon server running Red
Hat Enterprise Linux AS release 3 to allow for processing of large data
sets (>4GB) in R. To integrate this server into our Linux cluster, I
have been trying (unsuccessfully) to use Rmpi/lam-mpi to parallel
process some of our scripts. While I have successfully compiled R 2.4.0
and lam-mpi 7.1.2 on this server using
2005 Oct 09
3
[ subscripting sometimes loses names (PR#8192)
--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
R, like recent versions of S-Plus, sometimes - but not always - loses
names when subscripting objects with "[". (Earlier versions of S and
S-Plus had the correct, name-preserving behavior.) This seems bad, it
would be better to remove names only by explicit request, not as an
accidental
2011 Mar 07
1
Rmpi fails to install
I try to install Rmpi as root with install.packages("Rmpi").
It fails with:
...
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to accept ISO
C89... none needed
I am here /usr and it is OpenMPI
Trying to find mpi.h ...
Found in /usr/include
Trying to find libmpi.so or libmpich.a ...
Found libmpi in /usr/lib
checking for openpty in -lutil... yes
checking for main in -lpthread...
2011 Sep 09
1
R CMD INSTALL configure.args and CC customization
I am running into the following issue that has been previously
reported on the R-devel mailing list. The short version is that I'm
writing a package for MPI, and I'd like to change CC and SHLIB_LD to
"mpicc". Trying to change them in Makevars.in has no effect, because
the values are clobbered by /etc/R/Makeconf. Will the following
changes to Makeconf.in introduce any problems?
2005 Jun 17
0
Rmpi installation over MPICH
This is a rather obscure question, I realize. I have written to the
package author but have not heard back as of yet. I have read the
README in the package, as well, but it didn't give me enough detail to
diagnose the problems that I am having. (I did edit out the LAM-MPI
check in zzz.R.in.)
I am working to install Rmpi on top of MPICH on a beowulf cluster.
Below is the output of the
2012 Oct 10
1
Rmpi installation trouble
Dear R People:
I'm trying to install Rmpi (latest version) on Ubuntu.
However, I'm getting the following error:
erin at erin-Y480:~$ R
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are
2007 Oct 08
0
shared object for Rmpi
Dear R yet again!
I finally got the Rmpi package to install! Yay!.
However, when I go into R to use it, there is an error with the dyn.load
file.
This should be simple (allegedly).
Please help.
Thanks,
Sincerely,
Erin
mailto: hodgess at gator.uhd.edu
/home/faculty/hodgess/R-2.6.0/bin
[hodgess at gator bin]$ ./R CMD INSTALL Rmpi_0.5-4.tar.gz
2014 Apr 24
2
palette() can hang and fail due to X11
For many years, when my R process starts up I've been automatically
setting my preferred default plot colors, basically like so:
my.colors <-
c("black" ,"red" ,"gold" ,"sky blue" ,"green" ,"blue" ,"orange"
,"grey" ,"hot pink" ,"brown" ,"sea green" ,"cyan"
2008 Sep 05
2
typo in cov()? var() fails on NA in R 2.7.2 but not R 2.6.1
I recently started using R 2.7.2, and noticed a surprising change in
the behavior of var() on NA data:
R 2.6.1 (Patched), 2007-11-26, svn.rev 43541, x86_64-unknown-linux-gnu:
> stdev(rep(NA,3), na.rm=F)
[1] NA
> stdev(rep(NA,3), na.rm=T)
[1] NA
> var(rep(NA,3), na.rm=T, use="complete.obs")
[1] NA
R 2.7.2 (Patched), 2008-09-02, svn.rev 46491,
2012 Aug 29
2
Problem installing Rmpi with Open MPI
Hi guys,
I've spent a few days trying to install Rmpi with no luck. I originally
tried using mpich, moved on to mpich2, and then to openmpi. I've gotten
the furthest with openmpi, though am still running into this problem and
can't figure it out. Can someone help!? Thanks so much in advanced.
I'm using an HP Envy laptop with Ubuntu 12.04. Output is below, with the
error at the
2013 Sep 30
1
how to interpose my own "[" function?
I want to create my own "[" function (for use on vectors, matrices,
arrays, etc.), which calls the stock R "[", does some additional work,
and then finally returns the modified result.
But, how do I properly call the stock R "[" function? It takes a
varying number of positional arguments, and its R-level closure is
just: .Primitive("[") It's
2010 Oct 27
2
must .Call C functions return SEXP?
For using R's .Call interface to C functions, all the examples I've
seen have the C function return type SEXP. Why? What does R actually
do with this return type? What happens if I *don't* return a SEXP?
Reason I ask, is I've written some R code which allocates two long
lists, and then calls a C function with .Call. My C code writes to
those two pre-allocated lists, thus, I
2011 Mar 14
1
Installing Rmpi on hpc
Hi,
I was trying to install the package Rmpi on a hpc cluster running SGE. The
command, and the sessionInfo() is as follows:
===========================================
> install.packages("Rmpi",dependencies=TRUE)
also installing the dependency ‘rsprng’
trying URL '
http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib/rsprng_1.0.tar.gz'
Content type
2014 Apr 21
1
read.table() code fails outside of the utils package
One of the great things about R is how readable and re-usable much of
its own implementation is. If an R function doesn't do quite what you
want but is close, it is usually very easy to read its code and start
adapting that as the base for a modified version.
In the 2.x versions of R, that was the case with read.table(). It was
easy to experiment with its source code, as it all worked just
2007 Jul 23
1
Rmpi installation error
Hello everybody,
I am trying to install Rmpi on 64-bit HP-Proliant server. I am facing the
following error:
* Installing *source* package 'Rmpi' ...
Try to find mpi.h ...
Found in /usr/local/mpich-1.2.7p1/include
Try to find libmpi or libmpich ...
Found libmpich in /usr/local/mpich-1.2.7p1/lib
Try to find liblam ...
checking for main in -llam... no
liblam not found. Probably not LAM-MPI
2009 Feb 06
2
Rmpi Segmentation fault
Dear all,
I have used the Rmpi package many times before however this time I've
installed it as I always do with openMPI tar.gz file direct from the
website. I'm installing on my ubuntu 8.10.
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
All i get is:
> library(Rmpi)
Segmentation fault
:~$
Which dumps me back into the shell, and doens't give me much