Displaying 20 results from an estimated 1000 matches similar to: "executable script"
2010 Oct 20
0
[Rpy] "lapack routines cannot be loaded" in Ubuntu Linux 9.10
On 20 October 2010 at 09:57, Aman Thakral wrote:
| Thanks for your reply. I just created a link to
| /usr/local/lib/R/lib/libRlapack.so in /usr/local/lib. It works now.
| I'm just curious, is this the "right" way to do it? Is there a better way?
I am coming to this a little late but ... it is a band aid to a self-inflicted wound.
You only have libRlapack because you built R
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)
s = robjects.r['fisher.test'](m)
return s
*
2010 May 19
1
Why does my RPy2 program run faster on Windows?
Hi
This is my function. It serves an HTML page after the calculations. I'm
connecting to a MSSQL DB using pyodbc.
def CAPM(self,client):
r=self.r
cds="1590"
bm="20559"
d1 = []
v1 = []
v2 = []
print"Parsing GET Params"
params=client.g[1].split("&")
for items in
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
2009 Nov 19
3
Issue when calling deparse(substitute(x)) from C with "anonymous" R vectors ?
Dear list,
When calling R from C, what appears like a spurious error can be
triggered during the execution of chisq.test(x, y).
This is happening when the following conditions are met:
- x and y are "anonymous" C-level R vectors (they do not have a symbol),
but they are protected from garbage collection
- x and y are "not too small" (it was experienced as soon as they are
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 strange behaviour.
It seems to me that libR.so asks the Unix shell to
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({'pathways':Robjects.StrVector(Pathways),
2015 May 03
2
C-API: check whether R has been initialized ?
Beside the possible argumentation that with an API elegance and convenience
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
2015 May 04
0
C-API: check whether R has been initialized ?
Laurent,
On May 3, 2015, at 8:07 PM, Laurent Gautier <lgautier at gmail.com> wrote:
> 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
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
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
I am having a strange problem. I have been using python + rpy2 on my Mac
for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and
that's when the problem began.
Now, when I try to load some R packages (like zoo) using robjects.r, python
crashes with seg fault 11. Here's an example below:
>> import rpy2.robjects as ro
>> ro.r(''' library(zoo)
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
I am having a strange problem. I have been using python + rpy2 on my Mac
for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and
that's when the problem began.
Now, when I try to load some R packages (like zoo) using robjects.r, python
crashes with seg fault 11. Here's an example below:
>> import rpy2.robjects as ro
>> ro.r(''' library(zoo)
2015 May 03
0
C-API: check whether R has been initialized ?
On 03/05/2015 7:02 PM, Laurent Gautier wrote:
> Beside the possible argumentation that with an API elegance and
> convenience 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
2011 Jan 05
2
R not recognized in command line
Hello all,
I recently installed rpy2 so that I could use R through Python.
However, R was not recognized in the command line.
So I decided to add it to the PATH variables. But it just doesnt work....
And what I mean by it doesnt work is : No matter what I type at the prompt
in DOS- be it R, Rcmd, R CMD, Rscript- it is not recognized as a command.
Path variables used :
1. %R_HOME% -->
2013 Oct 31
1
an rpy2, R cgi type question
Hi again.
I'm putting together a little project with R, python, and a website. So I
have an HTML file, a py file, an R file.
Here is the HTML file:
<form action="/cgi-bin/radio4.py" method="post" target="_blank">
<input type="radio" name="subject" value="Integrate" /> Integrate
<input type="radio"
2014 Dec 21
0
yum upgrade not working
On 21/12/14 02:25, Tim Dunphy wrote:
> Hey all,
>
> I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10.
>
> But when I try the yum update command I get this response:
>
> --> Finished Dependency Resolution
> python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems
> --> Missing Dependency: libyaml-0.so.1()(64bit) is needed by
2012 Feb 09
2
python26-memcached on centOS 5.5
Hi,
Is anyone here running memcached + python2.6 + django setup on a CentOS 5.5?? Am trying to set one up here and have trouble with the python26-memcached installation.
So far i have installed (via yum):
1.python26
2. python26-memcached
3. libevent
4. memcached-devel
Now when i try to run `import memcache` from the python2.6 shell i get an ImportError: No module
2014 Dec 22
0
yum upgrade not working
Removing that libyaml package allowed me to upgrade!
Thanks for the tip!
Tim
On Sat, Dec 20, 2014 at 9:25 PM, Tim Dunphy <bluethundr at gmail.com> wrote:
> Hey all,
>
> I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10.
>
> But when I try the yum update command I get this response:
>
> --> Finished Dependency Resolution
>
2014 Dec 21
4
yum upgrade not working
Hey all,
I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10.
But when I try the yum update command I get this response:
--> Finished Dependency Resolution
python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems
--> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package
python26-PyYAML-3.08-5.el5.x86_64 (installed)
--> Running transaction
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>