Re: [R] unexpected behaviour of an extended time series (using packages spuRs and xts)

2016-01-25 Thread Olivier ETERRADOSSI
Thank you Joshua for your valuable help, It just works fine now ! Regards, O. Olivier ETERRADOSSI Maître-Assistant HDR Ingénierie de l’aspect visuel et tactile C2MA – Pôle R.I.M.E. (site de Pau) Ecole des mines d’Alès Technopole Hélioparc 2 av. P. Angot 64053 PAU Cedex 9 France -Message

[R] unexpected behaviour of an extended time series (using packages spuRs and xts)

2016-01-14 Thread Olivier ETERRADOSSI
> plot (kew.xts['1978/1980/']) > plot(kew.xts['1977/1982/']) > plot(kew.xts['1977-01/1982-12']) # and so on� I�m puzzled ! I have probably missed a trivial point� Can someone tell ? Thanks a lot list, regards, Olivier -- Olivier ETERRADOSSI Ma�tre-Ass

[R] behaviour of rows and colomns suppression in a matrix

2014-03-13 Thread Olivier ETERRADOSSI
Hi  List, while running a script on a set of matrices I came into a case I would not have guessed to arrive. Below is  a small toy example to illustrate the case. Of course there is a simple workaround (using a simple test), but why does this occur, and shouldn’t it be corrected ? More probably I

Re: [R] behaviour of rows and colomns suppression in a matrix

2014-03-13 Thread Olivier ETERRADOSSI
 : Olivier ETERRADOSSI Cc : r-help Objet : Re: [R] behaviour of rows and colomns suppression in a matrix Hi, Your basic problem seems to be that you expect R to take TM2[0, ] as meaning not to subset anything, rather than to take only row 0, which doesn't exist: R TM2[0,] [,1] [,2] [,3

Re: [R] behaviour of rows and colomns suppression in a matrix

2014-03-13 Thread Olivier ETERRADOSSI
-Message d'origine- De : arun [mailto:smartpink...@yahoo.com] Envoyé : jeudi 13 mars 2014 16:13 À : r-help@r-project.org Cc : Olivier ETERRADOSSI Objet : Re: [R] behaviour of rows and colomns suppression in a matrix Hi, You could use: TM2[!margin.Rows =thresh,!margin.Cols =thresh] # [,1

Re: [R] behaviour of rows and colomns suppression in a matrix

2014-03-13 Thread Olivier ETERRADOSSI
. -Message d'origine- De : Sarah Goslee [mailto:sarah.gos...@gmail.com] Envoyé : jeudi 13 mars 2014 16:59 À : Olivier ETERRADOSSI Cc : r-help Objet : Re: [R] behaviour of rows and colomns suppression in a matrix On Thu, Mar 13, 2014 at 11:51 AM, Olivier ETERRADOSSI olivier.eterrado...@mines

[R] problem with ecdf : missing C_R_approxfun message

2013-10-24 Thread Olivier Eterradossi
again ! Regards, Olivier -- Olivier ETERRADOSSI Maître-Assistant, HDR Ecole des Mines d'Alès (C2MA, site de Pau) Ingénierie de l'aspect visuel et tactile des matériaux Pôle « Recherche sur les Interactions des Matériaux avec leur Environnement » (RIME) Hélioparc, 2 av. P

[R] TR: problem with ecdf : missing C_R_approxfun message

2013-10-24 Thread Olivier Eterradossi
the problem. Is changing the call attribute the thing to do, but done in a wrong way ? If yes, what is the good way ? If not, what can be done ? Thanks again, Olivier De : Olivier Eterradossi Envoyé : jeudi 24 octobre 2013 08:54 À : 'r-help@r-project.org' Objet : problem with ecdf : missing

[R] behaviour of read.xls (gdata package) when worksheet usesuser-defined cells formats

2013-10-11 Thread Olivier Eterradossi
(I'm afraid this post didn't reach the list on last Wednesday, here it is again ) hi R-list, And sorry for my frenglish ! I am running R Good Sport release ( i386-w64-mingw32/i386 (32-bit) ) ) under Windows 7 Professional, Service Pack 1. My perl executable is ActivePerl build 817 [257965]

Re: [R] time zones from longitude, latitude, and date

2013-09-23 Thread Olivier Eterradossi
carlisle thacker carlisle.thacker at gmail.com writes: I have data that provide longitude, latitude, and local date and time but no information about the corresponding time zone. How to identify the time zone so they can be converted to a common date/time? Thanks, Carlisle

[R] differents behaviour of packages depending on rJava under 32 and 64 bit versions of R 2.14.2

2012-04-17 Thread Olivier Eterradossi
I suppose this is not strictly related to R but rather to the R - Java communication, but I can't figure what is happening, as it is working under the 32-bit configuration. Can someone here help ? Thanks by advance, all the best, Olivier -- Olivier ETERRADOSSI Maître

Re: [R] differents behaviour of packages depending on rJava under32 and 64 bit versions of R 2.14.2

2012-04-17 Thread Olivier Eterradossi
Thank you Prof., As always, simple things need to thing carefully :-( I have missed that point, and also the existence of rJava forums. ATB, Olivier -Message d'origine- De : Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Envoyé : mardi 17 avril 2012 15:32 À : Olivier Eterradossi Cc

[R] plot method for rasters and layout

2012-03-19 Thread Olivier Eterradossi
, thanks as always for all the work done here ! Olivier -- Olivier ETERRADOSSI Maître-Assistant, HDR Ecole des Mines d’Alès (CMGD, site de Pau) Pôle Matériaux Polymères Avancés (MPA) Hélioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 Tel : 05 59 30 90 35 (direct) - 05

Re: [R] plot method for rasters and layout

2012-03-19 Thread Olivier Eterradossi
that it is posterior to the fix. I'll update to 2.14 asap. Thank you. Olivier -Message d'origine- De : Michael Sumner [mailto:mdsum...@gmail.com] Envoyé : lundi 19 mars 2012 13:23 À : Olivier Eterradossi Cc : r-help@r-project.org Objet : Re: [R] plot method for rasters and layout

[R] problem with rJava : same as message from wwreith on Mon, 27 Jun 2011

2011-06-28 Thread Olivier ETERRADOSSI
? Thanks, all the best to everybody. Olivier -- Olivier ETERRADOSSI Maître-Assistant animateur du groupe Sensomines (Institut Carnot M.I.N.E.S) - CMGD Pôle Matériaux Polymères Avancés axe Propriétés Psycho-Sensorielles des Matériaux

Re: [R] Saving objects inside a list

2011-01-04 Thread Olivier ETERRADOSSI
it's the same with you : names(as.list(.GlobalEnv))[6] is the name of the 6th variable FROM THE END of ls(). Regards. Olivier -- Olivier ETERRADOSSI Maître-Assistant animateur du groupe Sensomines (Institut Carnot M.I.N.E.S) - CMGD

[R] behaviour of xls2sep when running read.xls (package gdata) sinceupgrade of R

2010-04-07 Thread Olivier ETERRADOSSI
help, or at least couldn't understand it... Can someone help, and please excuse me if the answer is obvious... maybe I lack some stronger coffee this morning ! Very best regards to all of you. Olivier -- Olivier ETERRADOSSI Maître-Assistant animateur du groupe Sensomines (Institut Carnot

Re: [R] behaviour of xls2sep when running read.xls (package gdata) sinceupgrade of R

2010-04-07 Thread Olivier ETERRADOSSI
of gdata. There are workarounds posted in the gdata section of this R wiki page: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows On Wed, Apr 7, 2010 at 4:46 AM, Olivier ETERRADOSSI olivier.eterrado...@mines-ales.fr wrote: Hello eveRybody (and probably special regards to Gabor G

Re: [R] I might be dumb : a simple question about foreach

2009-07-21 Thread Olivier ETERRADOSSI
on the Revolutions blog ( http://bit.ly/FKP2I ), and my best guess is that it's an (unintended!) effect of using locales. The developers in New Haven are looking at it, and I expect they'll be able to post an update to CRAN soon. # David Smith On Mon, Jul 20, 2009 at 5:48 AM, Olivier ETERRADOSSI

[R] I might be dumb : a simple question about foreach

2009-07-20 Thread Olivier ETERRADOSSI
)) : indice hors limites Probably I didn't drink enough coffee this morning and I'm still asleep : it is obvious that I miss a point... but I am unable to see which one. Any help appreciated ! Many thanks, and very best regards Olivier -- Olivier ETERRADOSSI Maître-Assistant CMGD / Equipe Propriétés

Re: [R] I might be dumb : a simple question about foreach

2009-07-20 Thread Olivier ETERRADOSSI
Thanks Michael I already tried the curly brackets before my first post... no hope, it didn't change anything. Turning %do% into %dopar% didn't work as well... Do you suggest some Windows related behaviour ? regards, Olivier Michael Knudsen-2 wrote: On Mon, Jul 20, 2009 at 2:48 PM, Olivier

Re: [R] I might be dumb : a simple question about foreach

2009-07-20 Thread Olivier ETERRADOSSI
[[3]] [1] 1.732051 Are you on Vista , maybe ? Robert Kinley Michael Knudsen micknud...@gmail.com Sent by: r-help-boun...@r-project.org 20/07/2009 14:23 To Olivier ETERRADOSSI olivier.eterrado...@ema.fr cc r-help@r-project.org Subject Re: [R] I might

Re: [R] converting numeric into character strings

2009-05-13 Thread Olivier ETERRADOSSI
Hi Melissa unless I miss a point, you should get what you want with (for example) y-paste(b,collapse=,) Hope this helps. Olivier Melissa2k9 wrote: Hi, Im trying to put some numbers into a dataframe , I have a list of numbers (change points in a time series) like such [1] 2 11 12 20

Re: [R] 3d Scatterplot using rgl

2009-05-11 Thread Olivier ETERRADOSSI
Hi Zoé, try plot3d(swadt[,1],swadt[,2],swadt[,3],radius=swadt[,4],type=s) Hope this helps. regards. Olivier Zoe Hoare wrote: Hi, I am trying to plot a 3d scatter plot using the rgl package but am having trouble. I have a matrix containing x, y and z co-ordinates and a fourth element

Re: [R] Bubble Plot Over a Map

2009-05-07 Thread Olivier ETERRADOSSI
Hi Rodrigo, did you consider having a look at package ggplot2 (thanks to Hadley Wickham). I guess you'll find something very close to your need (functions ggplot, geom_point,...) Hope this helps. regards. Olivier Rodrigo Aluizio wrote: Hi everybody, Well here is another doubt! I’m

Re: [R] How do I sample cases within a matrix?

2009-04-30 Thread Olivier ETERRADOSSI
Hi Silvia, excuse me if I'm missing something but sampling the row numbers should make it : let M be your matrix, and spM a sample with n rows : spM - M[sample(seq(1,dim(M)[1],by=1), n),] Regards, Olivier Silvia Lomascolo wrote: Hi R community, I am trying to obtain a sample from a matrix

Re: [R] How do I sample cases within a matrix?

2009-04-30 Thread Olivier ETERRADOSSI
Well Silvia, I understand that I didn't read your post carefully. Forget about my previous (unrelevant) post. regards. olivier Olivier ETERRADOSSI wrote: Hi Silvia, excuse me if I'm missing something but sampling the row numbers should make it : let M be your matrix, and spM a sample

Re: [R] How do I sample cases within a matrix?

2009-04-30 Thread Olivier ETERRADOSSI
Hi again Silvia (last time... ?), now : do I understand : you want 1) to randomly select some intersections between rows and columns 2) randomly select a number of cases for each intersection (being = the number of initial cases ? if yes, here is my solution, using your example : # select

[R] Re : legend with small colored boxes

2009-04-29 Thread Olivier ETERRADOSSI
Hi Christophe, just try : legend(top,leg=c(a,b),fill=c(black,blue)) instead of your : legend(top,leg=c(a,b),col=c(black,blue), fill=TRUE) Regards, Olivier -- Olivier ETERRADOSSI Maître-Assistant CMGD / Equipe Propriétés Psycho-Sensorielles des Matériaux Ecole des Mines d'Alès Hélioparc, 2

[R] Re : Taylor diagram

2008-12-08 Thread Olivier ETERRADOSSI
-- Olivier ETERRADOSSI Maître-Assistant CMGD / Equipe Propriétés Psycho-Sensorielles des Matériaux Ecole des Mines d'Alès Hélioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0)5.59.30.90.35 fax: +33 (0)5.59.30.63.68 http://www.ema.fr

Re: [R] R - how to measure the distance?

2008-12-08 Thread Olivier ETERRADOSSI
Hi, I'm not sure that I fully understand your problem, so forgive me if my suggestion is irrelevant : maybe you should have a look to function geod.dist , in the oce package. Hope this helps. Olivier porzycka wrote: Hello, I have been worked with R for 3 weeks. I have one problem. I could

[R] Re : Dataframe help

2008-11-06 Thread Olivier ETERRADOSSI
is there anything i am missing.Kindly suggest me the way to do it. Regards Ramya -- Olivier ETERRADOSSI Maître-Assistant CMGD / Equipe Propriétés Psycho-Sensorielles des Matériaux Ecole des Mines d'Alès Hélioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0

Re: [R] adimpro package : R does not seem to find my ImageMagickinstallation

2008-03-19 Thread Olivier ETERRADOSSI
Thank you Professor, yes it is (unfortunately...), or at least it seems to be ;-) c:\program files\imagemagick-6.3.0-q16;C:\Program Files\MiKTeX 2.6\miktex\bin; ...8..(snip).. Regards, Olivier Prof Brian Ripley a écrit : On Wed, 19 Mar 2008, Olivier ETERRADOSSI wrote: Dear