I am sorry, I forgot to change the topic... (see my problem below, please)
Thanks,
Gabi

From: Csima, Gabriella [mailto:gabriella.cs...@metoffice.gov.uk]
Sent: 10 March 2017 14:51
To: RPy list
Subject: Re: [Rpy] rpy2 release 2.8.5 is out and on pypi.

Hi Everyone,

I am running a python program that calls an R function to plot a reliability 
diagram in a loop (naturally all of the lines with different colour, but) on 
the same plot.
When I used the plot function all the times with the help of “par(new=TRUE)” 
everything was fine, except for the fact, that the plot was very ugly, as you 
could see that they are not one line (i.e. the x and y lines and the grid 
lines, etc.), but several on top of each other.

On the other hand, if I would like to use “lines” from the second calling, 
naturally, it does not find the “plot” function calling from the second 
calling. Although, I have not use dev.off inside the loop , and I just use 
grdevices.png(file="Reliability.png", width=512, height=512) before and 
grdevices.dev_off() after the loop, it does not understand that I need to plot 
the lines on the same plot.

(I have tried not to call this from python in a loop, so solve the problem 
inside the loop, but the conversion of the big numpy arrays (obs and fc) was 
not correct, so I just could not  get the same set of obs and fc that I could 
arrange in python. )

Could you suggest something to solve this problem?

Thank you very much,
Gabi

--
Gabriella Csima     Verification scientist

Met Office   FitzRoy Road   Exeter   EX1 3PB   United Kingdom
Tel: +44 (0)1392 886398
E-mail: 
gabriella.cs...@metoffice.gov.uk<mailto:marion.mitterma...@metoffice.gov.uk>

From: Laurent Gautier [mailto:lgaut...@gmail.com]
Sent: 21 December 2016 22:13
To: RPy list
Subject: [Rpy] rpy2 release 2.8.5 is out and on pypi.

Hi,

The latest bugfix release in the 2.8.x series is available on pypi.
The next major release (rpy2-2.9.0) is currently likely going to only official 
support Python >= 3.5.
Best,
Laurent
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to