[R] Getting the list of lines evaluated in a function call

2012-02-06 Thread Francois Rousseu
st.lines(foo)[1] 1 3 4 5 6 or: > foo("hello")Error in x + 100 : non-numeric argument to binary operator list.lines(foo)[1] 1 2 Is there already a function in R doing something similar or anybody has any hints for functions that I could use to create such a fun

Re: [R] tcltk window freezes when using locator( )

2011-11-06 Thread Francois Rousseu
n,text="test",command=ff) tkpack(button) Francois Rousseu > From: francoisrous...@hotmail.com > To: r-help@r-project.org > Date: Sun, 6 Nov 2011 21:55:58 -0500 > Subject: [R] tcltk window freezes when using locator( ) > > > Hello useRs > > Using the foll

[R] tcltk window freezes when using locator( )

2011-11-06 Thread Francois Rousseu
attached base packages: [1] tcltk stats graphics grDevices utils datasets methods base Am I doing something wrong or more likely is this a bug? Thanks, Francois Rousseu [[alterna

Re: [R] Error installing packages

2011-10-28 Thread Francois Rousseu
Cheers, Francois Rousseu > Date: Fri, 28 Oct 2011 02:11:24 -0700 > From: han...@picoquant.com > To: r-help@r-project.org > Subject: Re: [R] Error installing packages > > Thanks for the tip, but I am not on win 7, I am on win xp. > > -- > View this message in con

Re: [R] Building package/DESCRIPTION file not existing?

2011-10-26 Thread Francois Rousseu
ny warning about using non-english Windows in the Writng R Extensions manual, but I may have missed it. Anyway, I realize now that using non-english Windows is probably a really bad idea in general. Cheers, Francois Rousseu > From: maech...@stat.math.ethz.ch > Date: Wed, 26 Oct 20

[R] Building package/DESCRIPTION file not existing?

2011-10-24 Thread Francois Rousseu
nInfo() at bottom of message) or something about temporary directories, but I really can't find the problem. I've looked into the cygwin warning, but it didn't seemed to be the problem, though I may be wrong. Any hints? Below is the complete sequence with errors. Thanks, Franc

Re: [R] calculating distance inland from coastline

2011-07-14 Thread Francois Rousseu
Hires database. Cheers, Francois Rousseu > Date: Thu, 14 Jul 2011 05:43:23 -0700 > From: s.j.good...@leeds.ac.uk > To: r-help@r-project.org > Subject: [R] calculating distance inland from coastline > > Hi All, > > Does anybody know of any existing functions that will calcu

[R] Retrieving call sequence leading to a plot / Zooming in maps

2011-04-28 Thread Francois Rousseu
functions, but none of them do exactly what I want. The zoomInPlot function comes close, but it seems to be limited to simple plots. Thanks Francois Rousseu [[alternative HTML version deleted]] __ R-hel

Re: [R] Coordinates of the text region

2011-03-26 Thread Francois Rousseu
ies. I'm working on a function using multiple lines and boxes where text of varying length has to be written. Francois > > On Mar 26, 2011, at 8:39 PM, Francois Rousseu wrote: > > > > > Hello R people > > > > Is there a way to get the coordinates of the te

[R] Coordinates of the text region

2011-03-26 Thread Francois Rousseu
in a graphic so that they don't overlap with the text. Thanks Francois Rousseu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] naming vectors

2011-02-21 Thread Francois Rousseu
erved data and a vector of theoritical data to see if the stages match on same dates. A data frame could also be used for this task, but I thought that vectors are a bit simpler and faster to create. Francois Rousseu > Date: Mon, 21 Feb 2011 15:58:36 +0100 > From: ivan.calan...@uni

[R] naming vectors

2011-02-21 Thread Francois Rousseu
Hello R users I was trying to find a less annoying way of naming vectors than: x<-1:10 names(x)[1:length(x)]<-"A" So I tried: x<-1:10 names(x)<-"A" #but this gave only the first element named (as described in the help files) and x<-1:10 names(x)[]<-"A" #but this gave all element

[R] Testing for empty result of which

2011-02-15 Thread Francois Rousseu
nks Francois Rousseu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/post

Re: [R] Cumulative percentage by unit of time

2010-12-15 Thread Francois Rousseu
ou say cumulative percentage active, do you mean nests active on a given date or do you also want to include nests that have been active? Cheers, Francois Rousseu Date: Wed, 15 Dec 2010 14:34:04 -0500 From: sebastien.ri...@gmail.com To: r-help@r-project.org Subject: [R] Cumulative percent