[Rd] by "infelicity"

2008-04-03 Thread Tobias Verbeke
Dear list, Please find below an example of odd behaviour of the by function. It occurs both under GNU/Linux R 2.6.2 and Windows R 2.7.0alpha. Respective sessionInfo()'s are given below. I hope I do not overlook anything. testFactor <- factor(sample(LETTERS[1:6], size = 42, replace = TRUE)) tes

Re: [Rd] by "infelicity"

2008-04-03 Thread Peter Dalgaard
Tobias Verbeke wrote: > Dear list, > > Please find below an example of odd > behaviour of the by function. > > It occurs both under GNU/Linux R 2.6.2 > and Windows R 2.7.0alpha. Respective > sessionInfo()'s are given below. > > I hope I do not overlook anything. > > testFactor <- factor(sample(LET

Re: [Rd] by

2008-04-03 Thread Tobias Verbeke
>- Oorspronkelijk bericht - >Van: Peter Dalgaard [mailto:[EMAIL PROTECTED] >Verzonden: donderdag, april 3, 2008 02:16 PM >Aan: 'Tobias Verbeke' >CC: r-devel@r-project.org >Onderwerp: Re: [Rd] by "infelicity" > >Tobias Verbeke wrote: >> Dear list, >> >> Please find below an example of odd >

[Rd] R-uthreads?

2008-04-03 Thread Andrew Piskorski
On Wed, Apr 02, 2008 at 11:58:34AM -0500, Luke Tierney wrote: > Subject: Re: [Rd] callCC in 2.7.0 > Some of us worked on something along these lines a while back in a > branch called R-uthreads, but the cost of converting to that > approach and the overhead of maintaining it seemed too high for th

[Rd] .shp

2008-04-03 Thread Renata Grigorio
I'm trying to do an application thatread a file.shp in a server by Rserve, but I didn´t. Can you give me asugestion to do this? Thank you para armazenamento! [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list http

[Rd] g++ 4.3 warning: deprecated conversion from string constant to ‘char*’

2008-04-03 Thread Andrew Finley
Hello, I've noticed that with g++ 4.3 I get the following "warning: deprecated conversion from string constant to ‘char*’" when I call e.g., Rprintf("Hello world"); or when I try to define a const char e.g., char lower = 'L'; I am wrapping the c++ code in extern "C" {}. This seems to be somethi

Re: [Rd] g++ 4.3 warning: deprecated conversion from s tring constant to ‘char*’ 3DIn-Reply-To: <4 [EMAIL PROTECTED]>

2008-04-03 Thread Kurt Hornik
> Andrew Finley writes: > Hello, > I've noticed that with g++ 4.3 I get the following "warning: deprecated > conversion from string constant to ‘char*’" when I call e.g., > Rprintf("Hello world"); or when I try to define a const char e.g., char > lower = 'L'; > I am wrapping the c++ code i

Re: [Rd] g++ 4.3 warning: deprecated conversion f rom string constant to ‘char*’

2008-04-03 Thread Prof Brian Ripley
SunStudio has given these warnings for a long time, and we added const to several R declarations (most recently Rprintf) to suppress them. And yes, we noticed that gcc 4.3.0 gave them too. So what version of R is this? I don't think 2.7.0 alpha does this. And I suggest you don't mix 'g++-4.3'

[Rd] X11 image problem in R-2.8.0 Under development / R-2.7

2008-04-03 Thread Martin Morgan
I apologize if this is too obscure to reproduce, or some idiosyncratic aspects of my system. If I create a plot, e.g., > plot(1:10) I get a graphics device as expected. I then click on the 'zoom' box on my X11 window, so the window expands to occupy the entire screen. The plot is redrawn at t

Re: [Rd] X11 image problem in R-2.8.0 Under development / R-2.7

2008-04-03 Thread Prof Brian Ripley
On Thu, 3 Apr 2008, Martin Morgan wrote: > I apologize if this is too obscure to reproduce, or some idiosyncratic > aspects of my system. If I create a plot, e.g., > > > plot(1:10) > > I get a graphics device as expected. I then click on the 'zoom' box on > my X11 window, so the window expands to

Re: [Rd] g++ 4.3 warning: deprecated conversion from string constant to ‘char*’3DIn-Reply-To: <4 [EMAIL PROTECTED]>

2008-04-03 Thread Andrew Finley
Hi Kurt and Brian, I was using R 2.6.2. Now, based on your suggestion, I've upgrade to 2.7.0 and am no longer mixing compilation versions of gcc/g++. The constant to char* warnings are gone. Thanks! -Andy Kurt Hornik wrote: >> Andrew Finley writes: > >> Hello, >> I've noticed that with g++

[Rd] Extractor function for standard deviation.

2008-04-03 Thread Rolf Turner
I have from time to time seen inquiries on r-help in respect of how to obtain the estimated standard deviation from the output of fitting a linear model. And have had occasion to want to do this myself. The way I currently do it is something like summary(fit)$sigma (where fit is returned by lm()

[Rd] wishlist - annoying print behaviour (PR#11082)

2008-04-03 Thread tony . dixon
Full_Name: Tony Dixon Version: 2.4.1 OS: WinXP Submission from: (NULL) (210.10.109.162) When printing a graphic, if you select the Properties button), the Print dialog has moved to the background. It would be nice if it come back to the foreground.