[Rd] Suggestion: Adding quick rowMin and rowMax functions to base package

2010-03-29 Thread Sebastian Kranz
Hi, I wonder whether similarly to the very quick rowSums and colSums functions in the base package, one could add quick functions that calculate the min or max over rows / cols in a matrix. While apply(x,1,min) works, I found out by profiling a program of mine that it is rather slow for matri

Re: [Rd] Small typo in abline.R

2010-03-29 Thread Prof Brian Ripley
On Mon, 29 Mar 2010, Stephen Weigand wrote: I found a small typo in abline.R where the line: warning("only using the first two of ",p, "regression coefficients") should have a space before the word 'regression'. Thank you, but this should really be (for translation purposes) warning(gette

[Rd] Small typo in abline.R

2010-03-29 Thread Stephen Weigand
I found a small typo in abline.R where the line: warning("only using the first two of ",p, "regression coefficients") should have a space before the word 'regression'. Thanks, Stephen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mail

Re: [Rd] Using SVN + SSH on windows

2010-03-29 Thread Tobias Verbeke
Paul Gilbert wrote: ... I try several things: if I do 'svn://christo...@svn.r-forge.r-project.org/svnroot/kml3d', I do manage to download the project. But then, I do not manage to upload some modification. All looks ok, but I think you are using the wrong protocol. It should be 'svn+ssh' fo

Re: [Rd] Using SVN + SSH on windows

2010-03-29 Thread Paul Gilbert
... >> I try several things: if I do >> 'svn://christo...@svn.r-forge.r-project.org/svnroot/kml3d', I do >manage to >> download the project. But then, I do not manage to upload some >modification. > >All looks ok, but I think you are using the wrong protocol. It should >be 'svn+ssh' for *commits*,

Re: [Rd] .Call and .C arguments

2010-03-29 Thread Petr Savicky
On Mon, Mar 29, 2010 at 01:56:14PM +0200, Roger Bergande wrote: ... > The passed values are not the same in C. I 'm calling a function in C > with the argument as.double(1204.245) but in the debug mode in C the > value has changed to 1204.2449. I do not see this value printed in the e

Re: [Rd] .Call and .C arguments

2010-03-29 Thread Roger Bergande
Thank you Ducan I'm sorry I wasen't thinking about floating point arithmetic. My problem has nothing to do with the interface. Same rounding in R directly.. Thanks for the hint. Roger __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/li

Re: [Rd] .Call and .C arguments

2010-03-29 Thread Duncan Murdoch
On 29/03/2010 7:56 AM, Roger Bergande wrote: -- Forwarded message -- From: roger.berga...@swisslife.ch Date: Mon, 29 Mar 2010 13:51:12 +0200 Subject: .Call and .C arguments To: berga...@gmail.com Dear List My question is about .C and .Call I was experimenting with the .C an

[Rd] .Call and .C arguments

2010-03-29 Thread Roger Bergande
-- Forwarded message -- From: roger.berga...@swisslife.ch Date: Mon, 29 Mar 2010 13:51:12 +0200 Subject: .Call and .C arguments To: berga...@gmail.com Dear List My question is about .C and .Call I was experimenting with the .C and .Call interface as I came across the followin

Re: [Rd] Using SVN + SSH on windows

2010-03-29 Thread Henrik Bengtsson
Christophe, if you want to solve your problem, please see if you first can do it *without* ssh-keys. *Only* when that is working, worry about the ssh keys. For detailed information on both cases, see by Thread '[Rd] Setting up TortoiseSVN and PuTTY on Windows for r-forge.r-project.org' on 2010-03

Re: [Rd] Possible improvements/clarifications for R-forge (Was: Re: Using SVN + SSH on windows)

2010-03-29 Thread Henrik Bengtsson
On Mon, Mar 29, 2010 at 12:15 PM, wrote: > >> Getting back to the original poster who may have been forgotten in all >> this, alternatives are switching to Linux and using R-Forge with that >> (if such a switch in platforms is feasible) or using googlecode >> (that's the largest repository of R p

Re: [Rd] Possible improvements/clarifications for R-forge (Was: Re: Using SVN + SSH on windows)

2010-03-29 Thread cgenolin
Getting back to the original poster who may have been forgotten in all this, alternatives are switching to Linux and using R-Forge with that (if such a switch in platforms is feasible) or using googlecode (that's the largest repository of R projects outside of CRAN with 237 R projects listed --