erin clausing | 19 Jun 2013 04:28
Picon

fixed rmagic in IPython Notebook

I think I finally got Rmagic to work.  I gave the versions of all the stuff I installed in case it matters but one might be able to skip to step 5 if you have rpy2 working in Ipython but are still having problems with Rmagic.  It appears to be working correctly although the cell showing the [correct] results of the %R cell is unusually large for some reason.  Haven't tracked down why yet.


1.  I installed Python(x,y)-2.7.5.0.exe
2.  I had already installed R-2.15.3-win.exe
3.  I installed Rtools.  Exact filename: Rtools30.exe
4.  I installed rpy2-2.3.0dev.win32-py2.7.exe which I got from


following the instructions here for setting up Rhome, Ruser, and path variable changes

I tried the regular non dev version of rpy2 but it didn't work for me.

5. Then I went to my IPython extention folder which for me is:  C:\Python27\Lib\site-packages\IPython\extensions
and opened rmagic.py for editing.  Found the line

self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd, png_args))

and replaced it with the line:

self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd.replace('\\', '/'), png_args))

The reason you do this is described here:


Supposedly this issue was fixed.  See here:


So I'm not quite sure why my Rmagic.py still had the problem.


6.  Put %load_ext rmagic in first cell and run it before trying %R


Hope this helps someone,

Erin

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Sylvain Corlay | 19 Jun 2013 00:26
Picon
Gravatar

Cannot launch guiqwt-tests.exe, although, I can launch the dialog from spyder

Hello, 

On a fresh install of python(x,y) 2.7.5, I cannot launch the guiqwt-tests  executable. Although, it does work from spyder's (Tools > External tools).
Thanks, 
Sylvain

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
erin clausing | 18 Jun 2013 16:23
Picon

rmagic in ipython notebook

I can't get the rmagic to work in Ipython Notebook. The problem has something to do with a slash being interpreted as an escape character in a file that was written for unix systems as described here:
 
 
There is a fix outlined here:
 
 
and here
 
 
that requires changing this line
 
self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd, png_args))
 
to this line
 
self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd.replace('\\', '/'), png_args))
 
in the file rmagic.py
 
 
The trouble is I can't find rmagic.py or something like it to change.
 
Has anyone successfully used rmagic in Python x,y?
 
Thanks

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Artyom Topchyan | 13 Jun 2013 22:17
Picon

Latest Python (x,y) not working

Hello,

So i have a Win 8 machine with some previous version of python installed.I uninstantiated all but one of them and cleaned all the things i could find in the registry.But when i install i cannot launch spyder.It tell me that pyzmq version is wrong.And the python(xy) launcher complains about qt version.I just kept Python 2.6 ,because i am using it for a package that only supports 2.6.It has some stuff in the python path and thats all really.

Also when i start the installation it tells me i have python 2.7 still installed ,but its nowhere to be found.

So any help would be great this is driving me crazy as it works on my laptop even without installing an existing Python 2.7 install.

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Carlos Francisco Miranda | 13 Jun 2013 15:43
Picon

pythonxy@... - 3 Messages in 2 Topics

Dear

I need information about IDE windows for python

best regards

Carlos


2013/6/13 <pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Group: http://groups.google.com/group/pythonxy/topics

    Artyom Topchyan <artiomtopchyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Jun 13 03:01AM -0700  

    Hi,
     
    So i have an installation of python 2.6 running .I am using this for
    Openrave on windows .It took me a while to get the bloody thing working
    ,but now i want to use some packages for 2.7 so i was thinking of
    installing python(x,y) ,because its really nice with spyder etc.I have
    other installations of python on the machine ,but i dont really care much
    for their existence at this point.
     
    So i was wondering if installing the latest pythonxy would break my 2.6
    setup or i can go just go ahead?

     

You received this message because you are subscribed to the Google Group pythonxy.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Artyom Topchyan | 13 Jun 2013 12:01
Picon

Installing alongside a Python 2.6 installation

Hi,

So i have an installation of python 2.6 running .I am using this for Openrave on windows .It took me a while to get the bloody thing working ,but now i want to use some packages for 2.7 so i was thinking of installing python(x,y) ,because its really nice with spyder etc.I have other installations of python on the machine ,but i dont really care much for their existence at this point.

So i was wondering if installing the latest pythonxy would break my 2.6 setup or i can go just go ahead? 

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Sylvain Corlay | 10 Jun 2013 23:16
Picon
Gravatar

Python(x,y) 2.7.5

Starting ipython notebook with windows XP and a fresh python(x,y) 2.7.5 install, we get

"The procedure entry point InitializeCriticalSectionEx" could not be located in the dymamic link library KERNEL32.dll 

Maybe there is a cross-compilation problem like python(x,y) being build under Win7 with Visual Studio 2012.

    http://stackoverflow.com/questions/16118748/compile-mfc-program-with-vs-2012-running-on-windows-xp

Cheers, 
Sylvain



--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
dirkjot | 4 Jun 2013 13:03
Picon

updating to pandas 0.10.1-5 in pythonxy 2.7.3.1

Hi All,

I see from some earlier posts that upgrading pandas can be problematic.  I really need pandas 0.10 for my project. 

I therefore removed my old pythonxy install and went for the latest update.  However, when I then installed the plugin update 0.10.1-5 for pandas, I get errors:

1. when spyder starts, the ipython console shows this error: no module named dateutil.rrule
2. when I start an normal python shell and import pandas, I get: no module named dateutil.parser

Clearly, I do not have some dependencies, mainly dateutil.  But which ones do I need beside dateutil (if any), and which version of dateutil should I install?  Should I just used pip to update to latest dateutil?

thanks in advance,
Dirk

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Marslo Jiao | 31 May 2013 13:44
Picon

How to customize the CursoeSize in PythonXY

Hi,

I'v customized the CursorSize for Windows Command Line in Regedit.
And it will be reset after run Python in command line.

Is everyone knows how to customize the CursorSize?
Thanks.

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Ravish Bapna | 28 May 2013 08:19
Picon

Book "Participatory Geospatial Development Using Python"

The book contains discussion on raster and vector data processing using Python binding of GDAL/OGR library. Also, different approaches of representing spatial reference system are enumerated. There is a discussion on LIDAR data processing using Python binding of libLAS library. Apart from processing geospatial data, the book also covers plotting of geospatial data. The last chapter deals with freely available geospatial data, such as ASTER GDEM, SRTM data etc.
 
 
 

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Ravish Bapna | 28 May 2013 08:13
Picon

GDAL 1.10 package

When will Python(x,y) will update GDAL to version 1.10??

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gmane