Re: [R] [off-topic] crossword

2024-12-13 Thread Olivier Crouzet
amples of the usage contexts considered here in which someone would "write"? This would then make perfect sense to me for the proposed answer: "codes". Yours. Olivier. On Fri, 13 Dec 2024 08:02:32 + CALUM POLWART wrote: > Well to complicate things, I don't think RU

Re: [R] Remove all box around a plot except bottom line (base graphics)

2024-11-28 Thread Olivier Crouzet
Dear Michael, Isn't the axis() function what you're looking for? plot(rnorm(10), rnorm(10), axes=FALSE) axis(1) see help(axis) Yours. Olivier. On Thu, 28 Nov 2024 13:36:21 + Michael Dewey wrote: > To make the plot clearer I have removed the axes but I wish to remove

Re: [R] R Processing dataframe by group - equivalent to SAS by group processing with a first. and retain statments

2024-11-27 Thread Olivier Crouzet
1 8 1 4 1 9 1 5 1 10 1 5 1 11 2 5 5 12 2 5 5 13 2 5 5 14 2 6 5 15 2 6 5 16 2 6 5 17 31010 18 31010 I think it does what you need Olivier. Tom Woolman wro

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-18 Thread Olivier Crouzet
And indeed again (I did not understand your previous question exactly at first), the 'hard-coded' definition of a landscape a4 sheet would therefore be: paperwidth=29.7cm, paperheight=21cm Olivier. On Sat, 18 Nov 2023 13:20:49 +0530 Ashim Kapoor wrote: > Dear Olivier, > &

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-18 Thread Olivier Crouzet
er=a4paper' argument, but that in your situation this setup will be replaced with specific dimensions (the paper argument only accepts predefined names defining conventional dimensions, while the paperwidth and paperheight arguments let you define arbitrary dimensions). Yours. Olivier. On Sat, 18

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Olivier Crouzet
d up trying multiplying 16x9cm by a factor of 1.5, which gave me 24x13.5cm and I found it was ok. - But one may vary these sizes arbitrary (even using smaller steps and ratios differing from 16/9) depending on the aims to be reached. - It is also possible to specify different units (pt = points, in

Re: [R] Can someone please have a look at this query on stackoverflow?

2023-11-17 Thread Olivier Crouzet
ons and it will impact the relative font sizes. I've tested it and it generates what you want. Yours. Olivier. On Tue, 14 Nov 2023 10:03:23 +0530 Ashim Kapoor wrote: > Dear all, > > I have posted a query which has received a response but that is not > working on my compute

Re: [R] Rmarkdown code rendering as LaTeX, not executing?

2023-06-13 Thread Olivier Crouzet
ut both are possible and relatively simple (either from within RStudio or using any other editor). Hope this helps for a first approach. Olivier. On Tue, 13 Jun 2023 16:29:57 + Kevin Zembower via R-help wrote: > Hi, all, > > I'm trying to compose an Rmarkdown document and r

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Olivier Crouzet
rg/posting-guide.html). Yours. Olivier. On Tue, 2 May 2023 14:27:24 +0530 Upananda Pani wrote: > Dear All, > > I have a dataset which contains date and 12 other countries data. I > have extracted the data as xts object. > > I am not able to recall all the series in the

Re: [R] UTF-8 to the console

2022-06-23 Thread Olivier Crouzet
-support-on-windows/ This may provide directions to solving your issue. Yours. Olivier. On Thu, 23 Jun 2022 12:26:23 +0200 Helmut Schütz wrote: > Dear all, > > I want to send UTF-8 characters to the console. Font in the > GUI-Preference 'Lucida Console', supporti

Re: [R] empty data frame and POSIXct data types

2021-06-24 Thread Olivier Crouzet
using (e.g) rep(). (here I use 10 rows as an example) mydf <- data.frame(data_POSIX=rep(as.POSIXct(NA), 10), value=as.numeric(NA)) Olivier. On Thu, 24 Jun 2021 13:34:31 + Stefano Sofia wrote: > Dear R users, > I know that this question is silly (I am not a R newby) but I already

Re: [R] How to use R0 package?

2020-05-22 Thread Olivier Crouzet
th your reference dates should do the job. Yours. Olivier. On Fri, 22 May 2020 14:31:48 +0200 Luigi Marongiu wrote: > In theory, it works > ``` > > R0 = estimate.R(x1, t=d1, GT=mGT, begin=1, end=117, > methods="EG",pop.size=pop, nsim=N) > >R0 &g

Re: [R] Read Unicode text (*.txt)

2019-07-02 Thread Olivier Crouzet
. Olivier. On Tue, 2 Jul 2019 07:56:07 +0430 javad bayat wrote: > Dear all; > I use your suggestion but I gave the same warning messages. I changed > the file name (Data.csv). > " > d4<-read.csv("./Data.csv",sep=";",header=TRUE,encoding="UTF-16")

Re: [R] Mac/PC differences in lmer results

2019-06-05 Thread Olivier Crouzet
based computers. No guarantee though, just suggestions... Olivier. On Wed, 5 Jun 2019 12:15:53 +0200 Nicolas Schuck wrote: > bert: you are right, sorry for not cc-ing the list. thanks also for > the hint. > > I wanted to bring this up here again, emphasising that we do find in >

Re: [R] Genuine relative paths with R

2018-10-19 Thread Olivier GIVAUDAN
#x27;m not deciding on that unfortunately...​ ​ That would be for me the ideal solution.​ ​ Best regards,​ ​ Olivier De : Fritsch, Katharina (NNL) Envoyé : vendredi 19 octobre 2018 08:08 À : Olivier GIVAUDAN Cc : r-help@r-project.org Objet : RE: [R] Genuine relative pa

Re: [R] Genuine relative paths with R

2018-10-18 Thread Olivier GIVAUDAN
Sorry, I forgot: The only regret I have is the title of this thread which is somehow misleading: a more correct one would be "How to set automatically / dynamically the working directory in R?" De : Olivier GIVAUDAN Envoyé : vendredi 19 octobre 20

Re: [R] Genuine relative paths with R

2018-10-18 Thread Olivier GIVAUDAN
ks to Jeff Newmiller for his patience and for having shared this "trick" with .RData file. Best regards, Olivier De : Michael Friendly Envoyé : jeudi 11 octobre 2018 13:08 À : Olivier GIVAUDAN; Duncan Murdoch; Jeff Newmiller Cc : r-help@r-project.org

Re: [R] Genuine relative paths with R

2018-10-18 Thread Olivier GIVAUDAN
(only local). Best regards, Olivier ​[1] https://shiny.rstudio.com/articles/deployment-local.html De : Fritsch, Katharina (NNL) Envoyé : jeudi 11 octobre 2018 08:22 À : Olivier GIVAUDAN; Peter Claussen Cc : r-help@r-project.org Objet : RE: [R] Genuine relative paths

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
eassuring). Come on guys, creating a package... It's like using a hammer to kill a fly... De : Duncan Murdoch Envoy� : mercredi 10 octobre 2018 20:54 � : Olivier GIVAUDAN; Jeff Newmiller Cc : r-help@r-project.org Objet : Re: [R] Genuine relative paths with R

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
y calling it through a terminal for instance. De : R-help de la part de Olivier GIVAUDAN Envoyé : mercredi 10 octobre 2018 20:42 À : Duncan Murdoch; Jeff Newmiller Cc : r-help@r-project.org Objet : Re: [R] Genuine relative paths with R Why are you not simpl

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
Why are you not simply double-clicking on 'TestPWD' and choosing to execute the file (don't add anything)? Are you executing the file from a terminal? De : Duncan Murdoch Envoyé : mercredi 10 octobre 2018 20:17 À : Olivier GIVAUDAN; Jeff Newmille

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
Thank you, Luke. Unfortunately I don't use Rscript (it is not allowed to run shell scripts on my professional computer). Best regards, Olivier De : Tierney, Luke Envoy� : mercredi 10 octobre 2018 15:48 � : Olivier GIVAUDAN Cc : Eik Vettorazzi; r-h

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
To be able to change easily, cleanly and automatically the working directory and thus to work with relative paths in the close neighbourhood of your R files. De : William Dunlap Envoyé : mercredi 10 octobre 2018 15:25 À : Olivier GIVAUDAN Cc : Duncan Murdoch

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
Well, no idea... I just created a file 'TestPWD', made it executable, inserted in it these lines and moved the file in various places: #!/bin/bash echo $PWD read -p "" De : Duncan Murdoch Envoyé : mercredi 10 octobre 2018 15:20 À : Ol

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
ing on the last version of Ubuntu)... Best regards, Olivier De : Duncan Murdoch Envoyé : mercredi 10 octobre 2018 14:51 À : Olivier GIVAUDAN; Jeff Newmiller Cc : r-help@r-project.org Objet : Re: [R] Genuine relative paths with R On 10/10/2018 10:37 AM, Olivier

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
inherited from > the current working directory of the shell. Yes, I found a similar but more user-friendly (in my opinion) way via .Rproj (with RStudio) and .RData (with R GUI). > No additional packages are necessary in order to manage R's working directory > simply and effectively.

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
s 'When a project is opened within RStudio the following actions are taken: [...] The current working directory is set to the project directory.', as stated on this page: https://support.rstudio.com/hc/en-us/articles/200526207-Using-Projects. So 'getwd()' returns exactly the sa

Re: [R] Genuine relative paths with R

2018-10-10 Thread Olivier GIVAUDAN
on in this .Rprofile file? An absolute path to the project's root? Plus I don't want the users to choose their working directory: this technicality should be kept hidden from them and be automatic.​ Best regards,​ ​ Olivier De : Gabor Grothendieck Envoyé : s

Re: [R] Genuine relative paths with R

2018-10-06 Thread Olivier GIVAUDAN
Hi Jeff, Thanks for sharing your workaround. I guess my last answer to Ista answers your question as well. To me this function (an equivalent of 'cd', say) should be platform-independent. Best regards, Olivier De : Jeff Newmiller Envoy� : samedi

[R] Genuine relative paths with R

2018-10-06 Thread Olivier GIVAUDAN
s the reasoning for not having it already? Do you know other workarounds? Best regards, Olivier [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Question

2018-04-19 Thread Olivier Crouzet
Hi, I think he's talking about how much a statistical estimator is influenced by extreme datapoints, e.g. https://en.m.wikipedia.org/wiki/Robust_statistics#Breakdown_point Olivier -- Olivier Crouzet Assistant Professor @LLING UMR6310 - Université de Nantes / CNRS Guest Scientist

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Olivier Crouzet
it looks like it can interact with plotly when using 3d plots). Olivier. On Mon, 30 Oct 2017 23:56:02 + Alex Restrepo wrote: > Hi, > > I would like to rotate the x axis tick labels by 45 degrees. Using > the code below, could someone please provide an example? Many > T

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread Olivier Crouzet
t;- read_file('file.txt') You can then process the string that is contained in the temp variable as you wish to. Olivier. > My actual string is quite lengthy, so changing it manually may not be > possible. I am aware of gsub() function, however not sure I can apply > it direct

Re: [R] display double dot over character in plotmath?

2017-05-15 Thread Olivier Crouzet
hat is used. Also note that in order to export the graph to pdf, you'd need to use cairo_pdf() in order to get the character displayed correctly. Olivier. On Sun, 14 May 2017 10:43:40 -0500 Ranjan Maitra wrote: > Thanks, Duncan! > > This works for the particular case and is, to m

Re: [R] display UTF8 characters in pdf

2017-03-10 Thread Olivier CROUZET
at. You just have to declare a specific device ("cairo_pdf"). For example, in an RMarkdown document: ```{r ipaunicode, echo=TRUE, dev='cairo_pdf'} plot(1, 1, pch = "\u254") ``` and in a LaTeX / knitr document as well: <>= plot(1, 1, pch = "\u251") @ H

Re: [R] use of Encoding()?

2017-02-03 Thread Olivier Crouzet
OP's request as there's no reason why "16-03-02" should be represented as anything else than "unknown" according to this information (all characters are in the ASCII set). Olivier. > > > On Feb 3, 2017, at 10:12 AM, Olivier Crouzet > > wrote: > &g

Re: [R] use of Encoding()?

2017-02-03 Thread Olivier Crouzet
trying the preceding option, encoding= (to specifically declare the file encoding if you know it but R does not detect it). Olivier. On Fri, 3 Feb 2017 17:29:20 +0100 Tilmann Faul wrote: > Hey, > > this is my first question here, so forgive me if i my be clumsy. > > I want to us

Re: [R] Chi2 algorithm - R

2016-11-23 Thread Olivier Crouzet
tware "at your own risk"... This is the case for any GPL licensed software, even for base-R... so this is no surprise! Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes UMR 6310 CNRS / Université de Nantes -Original Message- From: Luke Skywalker Sende

[R] Memory not release when an environment is created

2016-09-22 Thread Olivier Merle
Dear, When I use big data for a temporary use it seems that the memory is not released when a function/environement is created nearby. Here the reproducible exemple: test<-function(){ x=matrix(0,5,1) y=function(nb) nb^2 return(y) } xx=test() # 3 Go of Ram is used gc() # Memory is not rele

Re: [R] difference between successive values

2016-03-04 Thread Olivier Crouzet
Hi, (1) You should provide a minimal working example; (2) But anyway, does... x = sample(10) c(x[1],diff(x)) ... do what you want? Olivier. On Fri, 4 Mar 2016 13:22:07 +0200 catalin roibu wrote: > Dear all! > > I want to calculate difference between successive values (cumulative

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

Re: [R] Block Triangular Matirx

2016-01-24 Thread Olivier Crouzet
Hi, I think this page will help, https://stat.ethz.ch/R-manual/R-devel/library/base/html/lower.tri.html Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes - EA3827 Université de Nantes -Original Message- From: Amina Shahzadi Shahzadi Sender: "R-help"

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

2016-01-14 Thread Olivier ETERRADOSSI
1979-01/1980/']) # OK ! And so are : > 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,

Re: [R] cut - strange NA as output

2015-10-06 Thread Olivier Crouzet
r seq(0, max(x), by = 1) creating a sequence that will stop BEFORE your decimal max (x)... Therefore the element of x which equals 1355.888 is not part of the allowed outputs of cut(). Are you sure you would not rather use either round (x) or ceiling (x)? Not sure however what you really wan

Re: [R] Read text file

2015-06-17 Thread Olivier Crouzet
Hi, I think that you need scan() but you should at least give us an example of your text data. Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes - EA3827 Université de Nantes -Original Message- From: Steven Yen Sender: "R-help" Date: Thu, 18 Jun 201

Re: [R] Impute time-series data, perhaps with a Kalman filter - do you know of any R code?

2015-02-11 Thread Olivier Crouzet
Hi, searching for "kalman filter R" gives this paper that was published in JSS. It may help. @article{Tusell:2010:JSSOBK:v39i02, author = "Fernando Tusell", title = "Kalman Filtering in R", journal = "Journal of Statistical Software", volume = "39", number = "2"

Re: [R] save structure to be accesible later

2015-02-05 Thread Olivier Crouzet
Hi, have a look at save() and load(). You can save part of your workspace to a file (save()) and load it from this file (load()). Of course the file format is R specific (but its specifications are free) You may easily share the file with other R users. Olivier. -- Olivier Crouzet LLING

Re: [R] abline?

2015-01-22 Thread Olivier Crouzet
> > > > plot(r2,d) > > res = lm(r2~d) > > > Mixing up your x and y coordinate. Do: > > plot(d,r2) ... or use: plot(r2 ~ d) so that res <- lm(r2 ~ d) uses exactly the same pattern... Olivier. -- Olivier Crouzet, PhD Laboratoire de Linguistique -- EA

[R] Help for x axis

2014-11-17 Thread Olivier
d below a data.frame you could use to explain me. Thank you for your response, Olivier set.seed(3) sampleData <- data.frame(id = 1:100,gender = sample(c("0", "1"), 100, replace = TRUE), smoke = sample (c("0","1"), 100, replace=TRUE), age = rnorm(100

Re: [R] How to speed up list access in R?

2014-10-30 Thread Olivier Crouzet
Hi, perhaps pre-generating the list before processing would speed it up significantly. Though it may still be slower than python. e.g. try something like: d = as.list(rep(NA,length(numbers))) rather than: d = list() Olivier. On Thu, 30 Oct 2014 11:17:59 -0400 Thomas Nyberg wrote: > He

Re: [R] how to calculate a numeric's digits count?

2014-10-24 Thread Olivier Crouzet
lly R stores many more digits that what you think there are and that your "0" in "1.340" for example is, really not single... except when it is basically a string. Olivier. > > But when i  find(1.340)  i get 2 not 3. find(1.3400) will also get 2 > not 4. So,my

Re: [R] Need help with R in Boston area this Friday-Sunday paid gig

2014-09-23 Thread Olivier Crouzet
This list is not here to do your homework... Even if you plan to pay ! Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes - EA3827 Université de Nantes -Original Message- From: Richard Lerner Sender: r-help-bounces@r-project.orgDate: Tue, 23 Sep 2014 22:20:07 To

Re: [R] multiple groups anova

2014-06-12 Thread Olivier Crouzet
y relevant anovas on such data. Essentially, you need to read an introduction to R. Olivier. -- Olivier Crouzet LLING - Laboratoire de Linguistique de Nantes - EA3827 Université de Nantes -Original Message- From: Dragana Stanley Sender: r-help-bounces@r-project.orgDate: Thu, 12 Jun 2014 14:2

[R] Help with arrays

2014-05-29 Thread Olivier Charansonney
78.0 [2,] 13.24184 13.24184 13.24184 13.24184 13.24184 13.24184 13.24184 16.19418 15.47089 15.47089 > valinit<-max(W[2,]) > valinit [1] 16.19418 How to obtain ‘119’ Thanks, Dr Olivier Charansonney Cardiologue Centre Hospitalier Sud-Francilien, Corbeil-Essonnes, Franc

[R] naming files or lists

2014-03-17 Thread Olivier Charansonney
Hello, I would like to name files (.txt, .pdf or lists (or dataframes) with names composed from subjects' IDs, dates, and times e.g. 003DE, 03 17 2014 and 16:02:30 gives a file named 003DE-031714-160230.txt. How can I do that? Thanks for your help. [[alternative HTML version deleted

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

2014-03-13 Thread Olivier ETERRADOSSI
10 times the basics...) ;-) O. -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 ET

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

2014-03-13 Thread Olivier ETERRADOSSI
ector instead of NOT with a logical. Olivier -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[!ma

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

2014-03-13 Thread Olivier ETERRADOSSI
Thank you Sarah, But no, I was not expecting this. For me integer(0) is not 0. That's why I finally tested length(unused.rows), which is 0 when unused.rows is integer(0). Olivier -Message d'origine- De : Sarah Goslee [mailto:sarah.gos...@gmail.com] Envoyé : jeudi 13 mars 20

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

2014-03-13 Thread Olivier ETERRADOSSI
miss a point, but which one ? Is this behavior obtained on purpose and why ? Sorry if it’s a FAQ… I didn’t find my way to it. (And sorry for multiple posting if any : I got a warning from r-bounce but did not understand it). Thanks, Olivier # # toy

Re: [R] International phonetic symbols in R.

2013-12-03 Thread Olivier Crouzet
lutions are the main reason of these issues... Of course someone on the list may be more optimistic than I am. Anyway, once the student has come back with either SAMPA or unicode encoding, I would happily provide advice to working with IPA characters within R. Yours sincerely. Olivier. --

Re: [R] International phonetic symbols in R.

2013-12-03 Thread Olivier Crouzet
t; in R. I use these fonts regularly within R so I'll help you as much as I can and obviously you do not need to upgrade your distrib. Olivier. -- Olivier Crouzet, PhD Laboratoire de Linguistique -- EA3827 Université de Nantes Chemin de la Censive du Tertre - BP 81227 4431

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

2013-10-24 Thread Olivier Eterradossi
[1]]$size.ecdf,"call")<-ecdf(first.list[[1]]$true.varname[,"m.pxs"]) Does not fix 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 : Olivie

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

2013-10-23 Thread Olivier Eterradossi
ul parameters in June (such as environment parameters) ? Or anything else I cannot guess ? Thanks for helping, I'm stuck and I would prefer not to calculate all my "old" ecdfs again ! Regards, Olivier -- Olivier ETERRADOSSI Maître-Assistant, HDR Ecole des

Re: [R] colour code areas of a plot

2013-10-22 Thread Olivier Crouzet
scheme$t[1:99], ybottom = -1, xright = color_scheme$t [2:100], ytop = 1, col=bg_colors, lwd=0) Olivier. > Hi, > > I would like to colour different areas of a plot. > But I don't know how to do this efficiently. > > As an example; > > lets say three stimuli were pres

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

2013-10-11 Thread Olivier Eterradossi
foo.data$the.variable [2]*1e10 [1] 1.2e+09 Is this normal behavior ? Is this related to how I chose the read.xls arguments ? How should I specify the arguments to recover the full, "true" values directly from the files (without changing the format manually to "standard", of cours

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

2013-09-23 Thread Olivier Eterradossi
anks, > > Carlisle > > [[alternative HTML version deleted]] > > Hi list, maybe I didn't read the post carefully enough, but what about using the GNtimezone in Barry Rowlinson's "geonames" package ? Olivier ___

Re: [R] Subcripting matrix

2013-09-20 Thread Olivier Crouzet
Hi, it seems the following works as needed... Mat[,colnames(Mat)=="a"] Olivier. On Fri, 20 Sep 2013 16:22:37 +0530 Christofer Bogaso wrote: > Hello again, > > I have one question on subscripting matrix. Let say I have following > matrix: > > > Mat <- mat

[R] Needing help for excluding vector elements

2013-07-12 Thread Olivier Charansonney
Hello, R for Dummies. How can I exclude the first 1000 values of a vector (length 12000)? More generally all the values up to the ith? Thanks for your help, Dr Olivier Charansonney Cardiologue Centre Hospitalier Sud-Francilien, Corbeil-Essonnes, France [[alternative HTML

[R] [R-pkgs] Probabilistic neural network (PNN)

2013-05-18 Thread Pierre-Olivier Chasset
. It is delivered with four functions - learn, smooth, perf and guess - and a dataset. The functions are documented with examples and provided with unit tests. Continue reading at http://flow.chasset.net/r-pnn/ Have a good week-end, Pierre-Olivier Chasset

[R] Fwd: Bug in VGAM z value and coefficient ?

2013-04-21 Thread Olivier Merle
Dear, I dont see my topic in the daily summary : Thanks -- Forwarded message -- From: Olivier Merle Date: 2013/4/17 Subject: Bug in VGAM z value and coefficient ? To: r-help@r-project.org Dear, When i multiply the y of a regression by 10, I would expect that the coefficient

[R] Bug in VGAM z value and coefficient ?

2013-04-17 Thread Olivier Merle
data$y1=tdata$y1*100 fit2 <- vglm(y1 ~ x2, studentt, tdata, trace = TRUE) coef(fit1, matrix = TRUE) coef(fit2, matrix = TRUE) I also feel that often VGAM package (vglm function) dont converge and just stops. Do you know a reliable package with a lot of available distribution ? Thanks, Oliv

Re: [R] Difference between R and SAS in Corcordance index in ordinal logistic regression

2013-01-28 Thread Olivier Collignon
erstand. I just discover that Enterprise Guide did not take into account these changes, whereas SAS did it. This enabled me to found the correct results thanks to your advice. Thank you again for you help, With best wishes, Olivier > Date: Thu, 24 Jan 2013 13:09:46 -0600 > From: f.harr...@van

Re: [R] Difference between R and SAS in Corcordance index in ordinal logistic regression

2013-01-24 Thread Olivier Collignon
Dear Dr Harrell, Thank you very much for your answer. Actually I also tried to found the C index by hand on these data using the mean probabilities and I found 0.968, as you just showed. I understand now why I had a slight difference with the outpout of lrm. I am thus convinced that this result

Re: [R] Error in lmer: asMethod(object) : matrix is not symmetric [1, 2]

2012-10-09 Thread olivier
Yes, that was what I was trying to do. Thank you very much for your reply! Olivier -- View this message in context: http://r.789695.n4.nabble.com/Error-in-lmer-asMethod-object-matrix-is-not-symmetric-1-2-tp4645133p4645537.html Sent from the R help mailing list archive at Nabble.com

[R] Error in lmer: asMethod(object) : matrix is not symmetric [1, 2]

2012-10-05 Thread Olivier Blaser
no+(1|fam),data=dat,family=binomial) but I keep getting this error: asMethod(object) : matrix is not symmetric [1,2] Does someone have an idea where the error might come from? Thank you very much in advance! Olivier Sex-chromosome turnovers induced by deleterious mutation load [[altern

[R] OpenStreetMap Library

2012-05-14 Thread Pierre-Olivier Chasset
t or on the command line Have you got any idea in order to get it works? Best regards, Pierre-Olivier [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

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 Eterrados

[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
-- Because of the JAVA_HOME and Registry problem 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,

Re: [R] plot method for rasters and layout

2012-03-19 Thread Olivier Eterradossi
understand it. Last tiume I updated R December 2011 from CRAN, so it seems 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 Eterradoss

[R] plot method for rasters and layout

2012-03-19 Thread Olivier Eterradossi
something, and can anybody help ? All the best to all of you, 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. Ang

[R] embed a bitmap by link reference into a SVG image

2012-02-25 Thread Olivier Delrieu
I would like, in R, to embed a bitmap image /by link reference/ into a SVG plot image. Images may be included in an SVG by http://www.w3.org/TR/SVG/struct.html#ImageElementHrefAttribute link reference , or even http://en.wikipedia.org/wiki/Data_Uri data , for example: My objective is to redu

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

2011-06-28 Thread Olivier ETERRADOSSI
same as wwreith. Can somebody help ? 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

Re: [R] Error Installing or Updating Packages (Maybe because of a proxy)

2011-06-09 Thread Olivier Crouzet
Le Thu, 9 Jun 2011 12:14:55 +0200, Olivier Crouzet a écrit : Back again again, actually, the big difference between the two computers is in the library path. On the computer where package installation works, .libPaths() returns: > .libPaths() [1] "/usr/local/lib/R/site-library" &qu

Re: [R] Error Installing or Updating Packages (Maybe because of a proxy)

2011-06-09 Thread Olivier Crouzet
Majid, did you locate the source of your problem ? Thanks. Olivier. -Le Wed, 8 Jun 2011 17:32:36 +0200, Olivier Crouzet a écrit : > Dear all, > > I receive the very same error message on a Debian computer (testing) > with R 2.13.0 also. > > > install.packages('emu

Re: [R] Error Installing or Updating Packages (Maybe because of a proxy)

2011-06-08 Thread Olivier Crouzet
Dear all, I receive the very same error message on a Debian computer (testing) with R 2.13.0 also. > install.packages('emu') Installing package(s) into ‘/home/olivier/R/i486-pc-linux-gnu-library/2.13’ (as ‘lib’ is unspecified) Error in ret[i, ] <- c(pkgs[i], lib, desc) : nu

[R] recursive function

2011-05-19 Thread Tremblay, Pierre-Olivier
nyone could point me in the right direction as on how to code conditional events in R that would be much appreciated. many thanks in advance Pierre-Olivier [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread Pierre-Olivier Chasset
The corrected code: library(ggplot2) for (i in 1:2) { png(file=paste('test ',i,'.png',sep='')) print(qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i)) dev.off() } Thanks Le 14/01/2011 02:17, Pierre-Olivier Chasset a é

Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread Pierre-Olivier Chasset
David, I haven't found any FAQs for ggplot. Do you mean the http://cran.r-project.org/faqs.html? In this one, no subject seems to be linked with my problem about qplot in a loop. Best regards, Pierre-Olivier Le 14/01/2011 05:43, David Winsemius a écrit : On Jan 13, 2011, at 8:17 PM, P

[R] bug in qplot (library ggplot2)

2011-01-13 Thread Pierre-Olivier Chasset
wing code doesn't make any file: /library(ggplot2) for (i in 1:2) { png(file=paste('test ',i,'.png',sep='')) qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i) dev.off() } / Have you got any idea? Have I made someth

Re: [R] Saving objects inside a list

2011-01-04 Thread Olivier ETERRADOSSI
iable FROM THE END of ls(). Regards. 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 "Prop

Re: [R] search and replace in a list of strings

2010-07-26 Thread Olivier Coupiac
It works, thanks a lot! Cheers -Original Message- From: jim holtman [mailto:jholt...@gmail.com] Sent: Monday, July 26, 2010 4:04 PM To: Olivier Coupiac Cc: r-help@r-project.org Subject: Re: [R] search and replace in a list of strings The most "usable" form is to convert it

[R] search and replace in a list of strings

2010-07-26 Thread Olivier Coupiac
ed a function able to look for defined patterns in a list, like aa:bb:cc and evaluate aa+bb/60+cc/3600. Anyone has a idea? Thanks a lot! Cheers Olivier Coupiac [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https:/

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

2010-04-07 Thread Olivier ETERRADOSSI
Thanks Gabor for the tip, you're right as always : older gdata (2.6.1) works as usual. So it was not the R-2.9 -> R-2.10 upgrade which was responsible, but the gdata one... Regards, Olivier Gabor Grothendieck a écrit : There are some known problems with reading Excel files in the CRAN

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

2010-04-07 Thread Olivier ETERRADOSSI
some changes were dealing with xls2sep... but couldn't find some 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 ETERRAD

Re: [R] Replacing NAs with 0 for variables with the same ending

2010-01-15 Thread Olivier CROUZET
n, not necessarily only at the last one would be selected, as well. To refine my example (sorry for having been so imprecise before...): Replacing "x" with "x$" in grep calls should do the job... Olivier. __ R-help@r-project.org mail

[R] Logical function

2010-01-14 Thread Olivier Deckmyn
x27;t flame :p), with apply functions and derivatives, with a logical set, etc Can you help me find the "R" way, please ? Cheers, -- Olivier Deckmyn | oliv...@deckmyn.org | 06 73 40 89 88 [[alternative HTML version deleted]] __ R-hel

Re: [R] spectrogram

2010-01-04 Thread Olivier Crouzet
ntation: http://sueur.jerome.perso.neuf.fr/seewave.html Olivier. -- Olivier Crouzet, PhD Laboratoire de Linguistique -- EA3827 Département de Sciences du Langage UFR Lettres et Langages Université de Nantes Chemin de la Censive du Tertre - BP 81227 44312 Nantes cedex 3 France phon

Re: [R] speech spectogram

2009-11-13 Thread Olivier Crouzet
Le Mon, 19 Oct 2009 12:00:16 +0530, rajesh j a écrit : > Hi, > > I need to plot a spectogram for a speech signal. Is there a package > that can do this? > Late answer, but you should have a look at seewave package on CRAN. The function spectro() is what you need. Olivier.

[R] Sort an array

2009-09-07 Thread OLIVIER REGNIER-COUDERT (0509785)
Hi, Would anybody know how to sort an array in order? I basically store the results from an analysis in an array and would like to organise it at the end of my loop with the lowest result at the index 1 and the highest result at the last index. Thanks. [[alternative HTML version dele

[R] Multinomial and Ordinal Logistic Regression - Probability calculation

2009-09-04 Thread OLIVIER REGNIER-COUDERT (0509785)
the Design package and reached the same result without being able to explain the probability calculation process. Would anyone be able to help? Thanks, Olivier [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

  1   2   >