similar to: Problem with RSPython

Displaying 20 results from an estimated 1000 matches similar to: "Problem with RSPython"

2009 Feb 11
1
RSPython
Hi all, I try to utilize RSPython to invoke Python from R. For me it works pretty fine for basic applications, but I have 3 problems that may be related. (1) I can't load other packages but "standard" ones also when I adjust the PythonPath: > importPythonModule('sys', all=T) NULL > importPythonModule('numpy', all=T) Error in
2004 Jun 08
1
Nested shared library calls in Linux
Hi, I have an interface from R to the wxPython GUI toolkit which works under Windows: http://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Python call:
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I get the error messages below. Also below are some cryptic warnings I get on R boot (in case these are pertinent) and my sessionInfo(). Any help is appreciated. Thanks, Mark Warning messages: 1: In .updateMethodsInTable(fdef, where, attach) : Couldn't find methods table for "conditional", package
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
2009 Sep 08
0
RSPython can't find module
Hi Folks, After seeing some tips on the web, I managed to get RSPython-0.7-1 installed with R 2.9.0 (on Ubuntu 8.04). I had to get rid of the extra comma in the PythonPath function in Python.S: .PythonPath <- function(path=NULL, merge = TRUE) { dirSep <- ifelse(R.version$os == "Win32", ";", ":",) (remove last comma before bracket) and I had to manually
2011 Dec 07
1
RSPython installation
Does anyone know if Is there a way to manually install RSPython? I get this error when I try to run the script from my DOS prompt. V:\>R CMD INSTALL -c C:/Users/gene.leynes/Downloads/RSPython_0.7-1.tar.gz * installing to library 'C:/Users/gene.leynes/Documents/R/win-library/2.13' * installing *source* package 'RSPython' ... **********************************************
2003 Sep 16
0
RSPython crashes (using R 1.7.1 under Solaris 5.9)
Hello. I tried to install RSPython on Solaris 5.9. After compiling R with --enable-R-shlib, I try to install RSPython using "R INSTALL --clean RSPython". This led to an error complaining about missing "libutil", wich seems not to exist on Solaris. Therefore I just removed the "-lutil" entry in "configure" and tried to install again. The installation worked
2010 May 20
1
RSpython Ubuntu
Dear List, I'd like to call pyhton function from within R. I tried installing the latest version of RSPython: wget http://www.omegahat.org/RSPython/RSPython_0.7-1.tar.gz R CMD INSTALL --clean RSPython_0.7-1.tar.gz I get a compile error (posted below). Did anyone else run against this ? Is there a solution ? checking for python... /usr/bin/python Python version 2.6 Using threads checking
2005 Mar 18
2
RSPython
Hi, where is the latest version of the RSPython library? Is it compatible with the current stable release of R? Thanks, Darren
2001 Jul 23
2
Installing RSPython with R 1.3.0
To get RSPython installed on my debian test box, I had to make a couple of changes not listed in ftp://www.omegahat.org/pub/Omega/RSPython/FAQ.html 1) I had to change $R_HOME/src/modules/X11 : $(R_X11_la): $(R_X11_la_OBJECTS) $(R_X11_la_DEPENDENCIES) $(SHLIB_LINK) -o $@ $(R_X11_la_LDFLAGS) $(R_X11_la_OBJECTS) $(R_X11_la_LIBADD) $(LIBS) to $(R_X11_la): $(R_X11_la_OBJECTS)
2004 Sep 30
1
Rpy vs RSPython
Hi, I'm planning to write some code in Python using R functions. I'm aware of the two R<->Python packages - Rpy and RSPython. Rpy seems easier to get up and running with, but does anybody have any comments regarding which would be a better system to work with in the long run? Thanks, ------------------------------------------------------------------- Rajarshi Guha <rxg218 at
2002 Jan 24
0
RSPython for Windows: was driving R from Python (calldll?)
Just a note to complete this thread regarding the RSPython package. A binary version for this package is now available for Windows, compiled against R-1.4.0 and Python 2.2. Also makefiles and instructions are provided for compiling it oneself. It currently works only for one direction, namely embedding Python within R. As time permits, I'll add the embedding of R in Python to make it the same
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
Estimados Sobre como obtener la geolocalización, aparte de lo aportado por Rubén Casal, también existe el api de Microsoft, lo que yo descartaría es tomar una base de datos con geolocalización, teóricamente andarían pero si uno por casualidad conoce la geografía real, se da cuenta de errores, salvo que en España los datos estén correctos. Javier Rubén Marcuzzi El mié., 15 may. 2019 a las 8:50,
2007 Dec 01
0
mock feed
Hello generous coders, I''m having difficulty getting a couple of tests to pass. I have an address model which takes an address and with a callback on save and update passes the address to google''s geocoding service. The returned XML is parsed and saved to the address object: protected def geocode_address key = "mykey" url =
2008 Jun 16
1
Fix for IE6 bug in geocoding
Hi, I was trying to use the geocoding stuff in Mapstraction and found a bug with IE6. I couldn''t find a way of submitting it on Trac, so here it is. Change line 110 of mapstraction-geocode.js from: place = response.Placemark[0]; to: var place = response.Placemark[0]; Otherwise IE6 doesn''t declare the variable properly and things break in obscure ways. Cheers, Tom
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola. Tengo algún tipo de problema con las tildes, a la hora de trabajar en R o en RStudio, que no sé resolver. Intentando reproducir en dos PCs distintos, ambos con Windows 7, uno de los últimos ejercicios que ha publicado Carlos Gil Bellosta en su blog ( https://www.datanalytics.com/2016/06/20/6602-767-km-alrededor-de-espana-para-visitar-todas-sus-capitales-de-provincia/), me ocurre que al
2010 May 20
0
best practices for calling a web service (like geocode)
Guys, I have a Customer class which creates an instance of an Address class, and the user can then go into the show method of the Customer class and associate other addresses with that Customer (sites). As soon as an Address instance is created, I want to call geocoding to get the latitude and longitude of that address so that I can later render a map of all the sites. now, I suspect that a
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos. A mí también me resulta raro, porque no me pasa siempre. Es un poco aleatorio. Imagino que habrá alguna razón, y que el código de la página estará relacionado, claro, pero no consigo averiguar a qué se debe. Además las pruebas que hago me dejan todavía más perplejo. Esto Encoding(capitales) me dice que el encoding es "unknow", pero luego esto validUTF8(capitales) me
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos. Pues, efectivamente, me ha ayudado. Sobre la utilización de la función geocode con ciudades con tilde, me dio Carlos Gil Bellosta anteriormente la idea de utilizar iconv para transformar la cadena de búsqueda a UTF-8, y yo lo utilicé para intentar transformar el output de html_table sin resultado: capitales <- read_html("
2006 Jul 14
2
RESTful thinking - Need some guidance.
This is my first time working with REST and XML. My goal is to access Google''s geocoding service using HTTP. Here''s the code I have so far: require ''open-uri'' require ''rexml/document'' include REXML url=''http://maps.google.com/maps/geo?'' address = ''q=1600 Amphitheatre Parkway Mountin View,CA'' address1 =