search for: rpython

Displaying 20 results from an estimated 23 matches for "rpython".

Did you mean: python
2013 Jun 27
1
unable to install rPython
Hello everyone, I try without success to install the package rPython I get the message ----------------------------------------------------------------------- * installing *source* package ‘rPython’ ... could not locate python-config ERROR: configuration failed for package ‘rPython’ * removing ‘/home/armel/R/x86_64-pc-linux-gnu-library/2.14/rPython’ The downloaded...
2011 May 24
4
"Alpha testers" para el paquete rPython
Hola, ¿qué tal? Estoy buscando "alpha testers" para mi paquete rPython. El paquete es la evolución natural de rJython, un paquete de R que permite llamar a Jython, el dialecto de Python que corre sobre la máquina virtual de Java, desde R. rPython permite llamar al verdadero Python. Funciona perfectamente en mi máquina, pero necesito ver qué problemas de instalación y...
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 o...
2015 May 03
2
C-API: check whether R has been initialized ?
...tion 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 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 Gaut...
2012 Apr 23
0
[LLVMdev] Rpython to LLVM
First test of Rpython to LLVM JIT.  Test results show Rpython-to-LLVM is 4x faster than PyPy, 200x faster than Python2, and 260x faster than Python3. http://pyppet.blogspot.com/2012/04/rpython-to-llvm.html Thanks to Mahadevan for making PyLLVM, and the PyPy team for making Rpython. -brett- -------------- next part ---...
2001 Jul 31
0
Problems with RPython when stdin is not a terminal
Hi, I've been trying to work with the RPython interface and noticed a strange problem. When stdin is not a terminal the R part of the RPython interface complains. EG, $ python RPython.py Initialized R-Python interface package. works fine, but $ python < RPython.py This particular strangeness isn't a problem in this context,...
2012 Apr 21
3
Llamar una función de python.-
Hola. Me gustaría saber si alguno de ustedes sabe cómo llamar una función de python desde R. Antes usaba felizmente rpython pero desde la última versión de R he tenido este mensaje > install.packages("rPython", repos="http://R-Forge.R-project.org") Installing package(s) into ‘/home/vate01/R/x86_64-unknown-linux-gnu-library/2.15’ (as ‘lib’ is unspecified) Mensajes de aviso perdidos package ‘rPytho...
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 know t...
2015 May 03
0
C-API: check whether R has been initialized ?
...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 initialized > ``` I don't know rPython at all, but surely this is an rPython bug. When the package is loaded by "library('rPython')", R is obviously initialized. You don't need to query it to ask th...
2013 Jul 31
0
[LLVMdev] New ideas about how to improve garbage collection support
Hi, I currently write a LLVM backend for RPython, a programming language and toolchain to write dynamic language interpreters. For example, this toolchain powers PyPy, a fast Python interpreter. In the moment the implementation uses a shadowstack to manage garbage collection stack roots. To improve performance, I experimented with LLVM's gar...
2002 Dec 23
4
calling R from python (fwd)
A question for a (experienced) user of the RPython package on linux. I'm trying to call R from python on a linux (Suse 7.3) box. After installing R CMD INSTALL -c RSPython_0.5-2.tar.gz I start python and do: >>> import sys >>> sys.path.append('/usr/local/lib/R/library/RSPython') >>> sys.path.append('/...
2015 May 03
2
C-API: check whether R has been initialized ?
Hi, There appear to be no way to check whether R has already been initialized. Could a function like "Rf_isinitialized" be added to the API ? Best, Laurent [[alternative HTML version deleted]]
2013 Sep 12
1
problem with rJython and modules
Dear R People: I have been experimenting with rPython, rSymPy, and rJython. Here is my latest snag: > library(rJython) Loading required package: rJava Loading required package: rjson > library(rSymPy) > rJython <- rJython() > x <- "x" > y <- "y" > rJython$exec("from sympy import *") Error in ....
2017 Aug 01
1
How automatic Y on install y/n prompts?
...icFS"," > >> RWeka","ordinalNet","xgboost","mlr","caret","MLmetrics"," > bartMachine","spikeslab","party","rqPen","monomvn"," > foba","logicFS","rPython","qrnn","randomGLM","msaenet"," > Rborist","relaxo","ordinalNet","rrf","frbs","extraTrees"," > ipred","elasticnet","bst","brnn","Boruta","arm&q...
2005 Jan 17
1
problem installing RSPython
Hi, I'm trying to install RSPython v0.5-4 on a debian machine (woody, testing) but am having the following problem. $R CMD INSTALL -c --library=/usr/lib/R/library RSPython_0.5-4.tar.gz 2>err But then... $python >> import RS Error in .PythonInit() : Error in Python call: values Error in library("RSPython") : .First.lib failed for 'RSPython' Traceback (most recent
2010 May 20
1
RSpython Ubuntu
...ether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed R version 2 Looking for libR.so in lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makevars config.status: creating cleanup config.status: creating inst/scripts/RPython.csh config.status: creating inst/scripts/RPython.bsh ** libs gcc -std=gnu99 -I/usr/share/R/include -I../inst/include -I/usr/include/python2.6 -D_R_=1 -DUSE_R=1 -fpic -g -O2 -c GeneralConverters.c -o GeneralConverters.o In file included from ../inst/include/UserConverters.h:4,...
2007 Mar 27
0
[LLVMdev] PyPy 1.0: JIT compilers for free and more
...years of research, engineering, management and sprinting efforts, concluding the 28 months phase of EU co-funding! Although still not mature enough for general use, PyPy 1.0 materializes for the first time the full extent of our original vision: - A flexible Python interpreter, written in "RPython": - Mostly unaware of threading, memory and lower-level target platform aspects. - Showcasing advanced interpreter features and prototypes. - Passing core CPython regression tests, translatable to C, LLVM and .NET. - An advanced framework to translate such interpreters and programs...
2015 Apr 23
3
Usar una matriz sparse desde python a R
...la sparse (también por mi supina ignorancia de los apply y de su versión paralela mcmapply; o la que sea) y tengo prisa. Me pregunto si es posible pasar más o menos directamente de python a R (nada de pasar a texto el objeto, porque eso me lleva al mismo punto de llenar la sparse en R). He probado rPython (gracias Carlos Gil por esta librería!) pero suelta este error raise TypeError(repr(o) + " is not JSON serializable") TypeError: <138493x26744 sparse matrix of type '<type 'numpy.int64'>' with 19761138 stored elements in LInked List format> is not JSON...
2018 Mar 07
2
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
...ain-specific languages - Language design - Compilers and interpreters - Type systems and program logics - Language interoperability - Parallelism, distribution, and concurrency Virtual Machines ---------------- - Managed runtime systems (e.g., JVM, Dalvik VM, Android Runtime (ART), LLVM, .NET CLR, RPython, etc.) - VM design and optimization - VMs for mobile and embedded devices - VMs for real-time applications - Memory management - Hardware/software co-design Techniques, Tools, and Applications ----------------------------------- - Static and dynamic program analysis - Testing and debugging - Refac...
2017 Aug 01
0
How automatic Y on install y/n prompts?
...quot; >> >> RWeka","ordinalNet","xgboost","mlr","caret","MLmetrics"," >> bartMachine","spikeslab","party","rqPen","monomvn"," >> foba","logicFS","rPython","qrnn","randomGLM","msaenet"," >> Rborist","relaxo","ordinalNet","rrf","frbs","extraTrees"," >> ipred","elasticnet","bst","brnn","Boruta",&qu...