Displaying 20 results from an estimated 84 matches for "rpy2".
Did you mean:
rpy
2017 Jul 20
2
Installing rpy2 on Red Hat 6
I need to install rpy2 on RHEL6. The version of R in the 6 repos is
3.0, and rpy2 does not work with that version. I installed R 3.3.3
following the directions here:
https://oguya.ch/posts/2017-03-18-building-R-on-rhel-6/. But even with
3.3.3 it's still failing. Using pip it fails with:
/usr/local/lib64/R/lib/libR.a...
2011 May 05
1
problem with location of libraries 64-bit (opensuse)
Dear list,
there seems to be a problem with the standard location of R?s 64-bit libs
at least under openSUSE.
I had two user questions regarding the compilation of rpy2 for 64-bit systems.
Personally I don`t know rpy2 but maybe someone on this list can decide if
the mistake lies on R`s side or on rpy2?s side or in between.
R-devel is installed in these cases, I asked. Latest R-base or R-patched is used.
The following problem occurs (user report):
--------------...
2013 Feb 10
1
rpy2 (Python <--> R)
Hi - I am having trouble installing rpy2. I have already compiled R as a
shared library, but I do not have admin privileges on so I am trying to
install rpy2 with:
pip install -user rpy2
but I am getting the following error:
========================================
./rpy/rinterface/_rinterface.c:86:31: fatal error: readline/readline.h:...
2017 Jul 20
0
Installing rpy2 on Red Hat 6
> On Jul 20, 2017, at 7:53 AM, Larry Martell <larry.martell at gmail.com> wrote:
>
> I need to install rpy2 on RHEL6. The version of R in the 6 repos is
> 3.0, and rpy2 does not work with that version. I installed R 3.3.3
> following the directions here:
> https://oguya.ch/posts/2017-03-18-building-R-on-rhel-6/. But even with
> 3.3.3 it's still failing. Using pip it fails with:
>
>...
2009 Apr 06
1
Possible bug: How does libR.so find RHOME?
Hi
While installing RPy2, I had curious problems which, if I traced them
back correctly, have their root in the way that libR.so find the R
installation directory. I wonder if this might be a subtle bug that only
causes problems when one has several versions of R on one system but
then can be very annoying and cause very s...
2015 Apr 20
2
Dependency problem with "python-rpy2" package
Hello,
I have a problem with package "python-rpy2" with Debian Wheezy repository.
I use this repo :
deb http://cran.r-project.org/bin/linux/debian wheezy-cran3/
This package depends on "python-singledispatch" but it doesn't exist in official Debian repo...
Could you help me to fix this issue ?
Thanks a lot,
2010 Oct 20
0
[Rpy] "lapack routines cannot be loaded" in Ubuntu Linux 9.10
...read about current (ie R 2.12.0) versions for all Ubuntu releases. This
is based on builds from the package sources of my (always current) Debian
packages. They work great -- I use them myself at work.
I know that Vincent and Michael also provide builds of rpy; if you ask nicely
they also rebuild rpy2 whenever I update it in Debian (which is essentially
whenever Laurent releases).
I'll CC the r-sig-debian list which both of them read.
Cheers, Dirk
| Thanks,
| Aman
|
| On Tue, Oct 19, 2010 at 5:26 PM, Laurent Gautier <lgautier at gmail.com> wrote:
|
| > On 19/10/10 23:09, Am...
2013 May 01
1
rpy2 postgres qgis problem
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130501/294047df/attachment.pl>
2010 May 13
2
Compiling R with --enable-R-shlib for rpy2 error
Hi,
I am trying to compile R with the command below in order to install rpy2.
./configure --prefix=/usr/local/R/R-2.9.2 --with-gnu-ld --with-cairo
--with-x --enable-R-shlib
However, error the I have gotten was:
/usr/bin/ld: CConverters.o: relocation R_X86_64_32S against `R_FunTab' can
not be used when making a shared object; recompile with -fPIC
CConverters.o: could...
2009 Nov 11
1
fisher.test negative value error
Hi all,
I am new to python, R and rpy2. I having few errors when I am using
'fisher.test' function where I am struck now. Please help to fix these bugs.
My code for fisher.test goes this way
*from rpy2 import *
import rpy2.robjects as robjects
def fisherExact(a,b,c,d):
v = [a,b,c,d]
m = robjects.r['matrix'](v,2,2)...
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
(I asked an earlier question on the rpy2 installation
to the rpy2 list, the solution there was to
edit the setup.py script, but this looks beyond what I can do unless
someone tells me exactly what to modify).
I have R 2.8.1 on 2 machines running ubuntu 8.04
(packages R-base and R-base-dev, among others, installed using Synaptic)
and whi...
2011 Aug 16
1
windows directory structure
Hi,
I have some trouble to get the Python bindings RPy2 running with
the latest release of R. I'm using Windows.
The reason is, that RPy2 looks at certain places for R.dll,
as $R_HOME/bin and $R_HOME/lib, but not at $R_HOME/bin/i386
where the dll is located on my machine.
So I suspect that the directory structure has changed and the
RPy2 team did...
2015 May 04
2
C-API: check whether R has been initialized ?
rPython appears to provide an interface from R to Python by embedding
Python and I'd think that it can safely assume that R has been initialized,
but might not be the point here.
The issue is that a Python package embedding itself R (here rpy2) appears
to have no way to know that earlier in the life of the process R was
initialized.
2015-05-03 19:48 GMT-04:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> On 03/05/2015 7:02 PM, Laurent Gautier wrote:
> > Beside the possible argumentation that with an API elegance and
&g...
2009 Nov 19
3
Issue when calling deparse(substitute(x)) from C with "anonymous" R vectors ?
...the vector [2]
and can be traced to the use of deparse(substitute(x)) and
deparse(substitute(y)) in the R code.
What seems to be happening is that the deparse(substitute(x)) call
gives a character vector of length > 1 as soon as x is "not so small".
To demonstrate this, I am using rpy2 (as the problem was found when using it
http://sourceforge.net/mailarchive/forum.php?thread_name=4B043CA1.9050500%40salilab.org&forum_name=rpy-list
), but it will likely be present in other bridges to R as well.
#using R-2.10 and rpy2-2.1.dev
>>> import rpy2.robjects as robjects
&...
2011 Mar 22
1
enable shlib for RPy2- where is source file?
...he instalation?
I think then that, once I have the source, I just run:
apt-get source r-base
again and then:
./configure ./configure --enable-R-shlib
(I already have X11 installed)
Sound correct?
Thanks a million!
--
View this message in context: http://r.789695.n4.nabble.com/enable-shlib-for-RPy2-where-is-source-file-tp3395836p3395836.html
Sent from the R help mailing list archive at Nabble.com.
2010 May 19
1
Why does my RPy2 program run faster on Windows?
...me taken by R:0:00:05.572084
Total time elapsed:0:00:05.596288
On Windows
Time taken by DB:0:00:00.112000
Time taken by R:0:00:02.355000
Total time elapsed:0:00:02.467000
Why is there such a huge difference in the time taken by R on the two
platforms? Am I doing something wrong? It's my first Rpy2 code so I guess
it's badly written.
I'm loading the following libraries:
'PerformanceAnalytics','timeSeries','fPortfolio','fPortfolioBacktest'
I'm using Rpy2 2.1.0 and R 2.11
Regards
Abhijit Bera
[[alternative HTML version deleted]]
2016 Dec 27
3
Definition of uintptr_t in Rinterface.h
...f __intptr_t_defined
typedef int intptr_t;
# define __intptr_t_defined
# endif
typedef unsigned int uintptr_t;
#endif
)
Is this expected ? Shouldn't R rely on the definition in stdint.h
rather than define its own ?
(report for the issue:
https://bitbucket.org/rpy2/rpy2/issues/389/failed-to-compile-with-python-360-on-32
)
Laurent
[[alternative HTML version deleted]]
2015 May 03
2
C-API: check whether R has been initialized ?
...enience
might sometimes be superior to necessity, the suggested pattern ("every
program, including R itself, keeping its own flag") does no work too well
when the nested embedding of R is involved.
A concrete example is:
```
$ R -q
> library('rPython'); python.exec('import rpy2.robjects')
R is already initialized
```
https://bitbucket.org/rpy2/rpy2/issue/278/r-in-python-via-rpy2-in-r-via-rpython#comment-17843761
2015-05-03 18:12 GMT-04:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> On 03/05/2015 4:34 PM, Laurent Gautier wrote:
> > Hi,
> >
&...
2011 Oct 17
0
rpy2 pie chart
I am trying to create a pie chart using rpy2 of the following data
Pathway Occurrences
A 10%
B 50%
C 20%
E 10%
filename = './testing.png'
grdevices = importr('grDevices')
rdevices.png(file=filename, width=1200, height=800)
dataf = Robjects.DataFrame({'pathwa...
2009 Nov 30
1
:Re: PROTECT and OCaml GC.
..._to_common_lisp_translator/
>
> I haven't found a binding for Haskell. Nor for Scheme.
>
> Do you know of any bindings of R to functional languages?
It does not have to be a functional language.
To see it in use within a some-language-to-R bridge, you can check the
source in JRI, rpy2.
I can mostly speak for rpy2, and the way it is done there relies on both
R and Python's GC. Creating a anonymous R object presented to the Python
world is first "R_preserved" (from garbage collection from R) then using
Python's reference counting mechanism, calling an "R_...