Re: [Rd] X11 window title setting in X11() Device (PR#11325)

2008-04-29 Thread ripley
Can you please give precise reproduction instructions -- you don't even tell us what the window manager is. I'd be willing to consider a workaround, but only if I can reproduce the problem (which appears to be a false assumption elsewhere in your setup). On Mon, 28 Apr 2008, [EMAIL PROTECTED] w

Re: [Rd] R-Forge SVN repositories: R CMD build/check error on Windows machines

2008-04-29 Thread Stefan Theussl
Duncan Murdoch wrote: On 28/04/2008 12:22 PM, Stefan Theussl wrote: Dear R-devel, One of our R-Forge developers pointed out that it is not possible to build packages under Windows using the R-Forge repository structure: a package resides in ./pkg - not in a directory with the same name as th

Re: [Rd] R-Forge SVN repositories: R CMD build/check error on Windows machines

2008-04-29 Thread Stefan Theussl
Deepayan Sarkar wrote: On 4/28/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: The difference is in INSTALL, not build/check. You are right that the Unix INSTALL was changed in r25808 (Aug 2003), but AFAICS this was not documented at the time in [O]NEWS, nor anywhere else. Can you point

Re: [Rd] R-Forge SVN repositories: R CMD build/check error on Windows machines

2008-04-29 Thread Prof Brian Ripley
On Tue, 29 Apr 2008, Stefan Theussl wrote: Duncan Murdoch wrote: On 28/04/2008 12:22 PM, Stefan Theussl wrote: Dear R-devel, One of our R-Forge developers pointed out that it is not possible to build packages under Windows using the R-Forge repository structure: a package resides in ./pkg -

[Rd] Some compiling problems

2008-04-29 Thread jing hua zhao
Dear R experts, I had some difficulties to build R on Linux (cross-build) and Windows (via Rtools) and hope it is appropriate to post for help, Our system has gcc 3.4.6 on RedHat Linux x86_64. With the help of Makefile-rcb by Yan and Rossini (setting BUILD=CROSS, R_EXE, F77 and FLIBS to g77

Re: [Rd] X11 window title setting in X11() Device (PR#11325)

2008-04-29 Thread julien . barnier
Hi, > Can you please give precise reproduction instructions -- you don't > even tell us what the window manager is. > I'd be willing to consider a workaround, but only if I can reproduce > the problem (which appears to be a false assumption elsewhere in your > setup). Yes, sorry, it is one of my

Re: [Rd] Some compiling problems

2008-04-29 Thread Uwe Ligges
jing hua zhao wrote: Dear R experts, I had some difficulties to build R on Linux (cross-build) and Windows (via Rtools) and hope it is appropriate to post for help, Our system has gcc 3.4.6 on RedHat Linux x86_64. With the help of Makefile-rcb by Yan and Rossini (setting BUILD=CROSS, R_EXE,

[Rd] reproducible segmentation fault caused by textConnection()

2008-04-29 Thread Gregoire Pau
Dear all, It seems that textConnection() can trigger a segmentation fault. The following script (using two large loops) makes this bug reproducible: for (i in 1:1) { z=textConnection(NULL,open='w') for (j in 1:100) { write(runif(1)*1e6,file=z) write('\n',file=z) } close(z) }

Re: [Rd] reproducible segmentation fault caused by textConnection()

2008-04-29 Thread Tony Chiang
Hi Greg, I get a different error on my mac: > for (i in 1:1) { + try({z=textConnection(NULL,open='w') + for (j in 1:100) { +write(runif(1)*1e6,file=z) +write('\n',file=z) + } + close(z)}) + } Error : cannot set length of non-vector In addition: Warning message: closing unused conn

Re: [Rd] reproducible segmentation fault caused by textConnection()

2008-04-29 Thread Sklyar, Oleg (MI London)
Hi Tony, Greg. I get the same as Greg's: segfault *** R version 2.7.0 (2008-04-22) [/research/osklyar/R-2.7.0] *** > sessionInfo() R version 2.7.0 (2008-04-22) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_GB;LC_NUMERIC=C;LC_TIME=en_GB;LC_COLLATE=C;LC_MONETARY=C;LC_ MESSAGES=en_GB;LC_PAPER=en_GB;

[Rd] help text for xlim

2008-04-29 Thread Henrik Parn
Dear R-developers, A student asked me today of how to specify the limits of the x-axis. I knew that he should use xlim, but I tried to encourage him to have a try himself with the various help functions. I do not judge if he used the correct search strategy or right key words, but anyway here

Re: [Rd] help text for xlim

2008-04-29 Thread Gabor Grothendieck
Note that first hit of RSiteSearch("xlim") gives an example. On Tue, Apr 29, 2008 at 10:38 AM, Henrik Parn <[EMAIL PROTECTED]> wrote: > Dear R-developers, > > A student asked me today of how to specify the limits of the x-axis. I knew > that he should use xlim, but I tried to encourage him to ha

Re: [Rd] help text for xlim

2008-04-29 Thread Duncan Murdoch
I think you're right, xlim is harder to discover than it should be. If we added the right "concept" marker to the page, then help.search() would find it. But a lot of things are mentioned on the plot.default page; how many others there are just as hard as xlim to find? I'd rather not fix xli

[Rd] crash in Mac.app (PR#11334)

2008-04-29 Thread alexcozzi
Full_Name: Alex Cozzi Version: 2.7 OS: OS X 10.4 Submission from: (NULL) (209.131.62.113) Observed a crash while pressing ctrl-A and ESC in R.app Date/Time: 2008-04-29 09:18:28.501 -0700 OS Version: 10.4.11 (Build 8S2167) Report Version: 4 Command: R Path:/Applications/R.app/Conte

[Rd] R code for weighted Deming regression?

2008-04-29 Thread Du, Hongyan
Hi, Any one has the code that I can borrow? Or any suggestions? Highly appreciate. Hongyan Du -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 11:25 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject

[Rd] R code for weighted Deming regression? (PR#11334)

2008-04-29 Thread HDu
Hi, Any one has the code that I can borrow? Or any suggestions? Highly appreciate. Hongyan Du =20 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 11:25 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subje

Re: [Rd] reproducible segmentation fault caused by textConnection()

2008-04-29 Thread Bill Dunlap
On Tue, 29 Apr 2008, Gregoire Pau wrote: > Dear all, > > It seems that textConnection() can trigger a segmentation fault. The > following script (using two large loops) makes this bug reproducible: > > for (i in 1:1) { >z=textConnection(NULL,open='w') >for (j in 1:100) { > write(r

[Rd] build packages with vignettes in Windows

2008-04-29 Thread Michael
I've been trying to build a Windows binary of a package of mine without success. It seems that the files under inst/doc throw the script off. I am using the command 'Rcmd INSTALL --build'. -- Making package genepi adding build stamp to DESCRIPTION installing NAMESPACE f

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Duncan Murdoch
On 29/04/2008 12:54 PM, Michael wrote: I've been trying to build a Windows binary of a package of mine without success. It seems that the files under inst/doc throw the script off. I am using the command 'Rcmd INSTALL --build'. -- Making package genepi adding build stamp

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Prof Brian Ripley
On Tue, 29 Apr 2008, Michael wrote: I've been trying to build a Windows binary of a package of mine without success. It seems that the files under inst/doc throw the script off. I am using the command 'Rcmd INSTALL --build'. -- Making package genepi adding build stamp t

[Rd] non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)

2008-04-29 Thread bill
Full_Name: Bill Dunlap Version: 2.8.0dev OS: Windows XP Submission from: (NULL) (70.98.76.47) I tried for the first time to build R from source on Windows, where I got the source code via svn. Per the Installation and Administration manual, I altered src\gnuwin32\MkRules so it had the the locall

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Gabor Grothendieck
The use of the UNIX find command on Windows makes installation very troublesome and fragile. I wonder if you could include a find2 or somesuch with the tools and change the scripts to use that getting rid of find or use just use the Windows find command in the scripts. Or some other solution so

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Duncan Murdoch
On 29/04/2008 2:51 PM, Gabor Grothendieck wrote: The use of the UNIX find command on Windows makes installation very troublesome and fragile. I wonder if you could include a find2 or somesuch with the tools and change the scripts to use that getting rid of find or use just use the Windows find

Re: [Rd] non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)

2008-04-29 Thread Duncan Murdoch
This is not a bug, it's a feature. It stops me from distributing versions with unintentional uncommitted changes. Duncan Murdoch On 29/04/2008 2:30 PM, [EMAIL PROTECTED] wrote: Full_Name: Bill Dunlap Version: 2.8.0dev OS: Windows XP Submission from: (NULL) (70.98.76.47) I tried for the fir

Re: [Rd] non-digits in svnversion output mess up windows build if (PR#11340)

2008-04-29 Thread murdoch
This is not a bug, it's a feature. It stops me from distributing versions with unintentional uncommitted changes. Duncan Murdoch On 29/04/2008 2:30 PM, [EMAIL PROTECTED] wrote: > Full_Name: Bill Dunlap > Version: 2.8.0dev > OS: Windows XP > Submission from: (NULL) (70.98.76.47) > > > I tried

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Michael
On 29 Apr 2008, Duncan Murdoch wrote: > On 29/04/2008 12:54 PM, Michael wrote: > > I've been trying to build a Windows binary of a package of mine without > > success. It seems that the files under inst/doc throw the script off. > > > > I am using the command 'Rcmd INSTALL --build'. > > > >

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Duncan Murdoch
On 29/04/2008 4:26 PM, Michael wrote: On 29 Apr 2008, Duncan Murdoch wrote: On 29/04/2008 12:54 PM, Michael wrote: I've been trying to build a Windows binary of a package of mine without success. It seems that the files under inst/doc throw the script off. I am using the command 'Rcmd INS

Re: [Rd] non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)

2008-04-29 Thread Bill Dunlap
On Tue, 29 Apr 2008, Duncan Murdoch wrote: > This is not a bug, it's a feature. > > It stops me from distributing versions with unintentional uncommitted > changes. It does have that effect, but the error messages are pretty obscure: c:\Rtools\MinGW\bin\windres.exe: rcico.rc:9: syntax error a

Re: [Rd] non-digits in svnversion output mess up windows build if (PR#11341)

2008-04-29 Thread bill
On Tue, 29 Apr 2008, Duncan Murdoch wrote: > This is not a bug, it's a feature. > > It stops me from distributing versions with unintentional uncommitted > changes. It does have that effect, but the error messages are pretty obscure: c:\Rtools\MinGW\bin\windres.exe: rcico.rc:9: syntax error a

Re: [Rd] build packages with vignettes in Windows

2008-04-29 Thread Gabor Grothendieck
On Tue, Apr 29, 2008 at 4:00 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 29/04/2008 2:51 PM, Gabor Grothendieck wrote: > > The use of the UNIX find command on Windows makes installation > > very troublesome and fragile. I wonder if you could include a > > find2 or somesuch with the tools a

Re: [Rd] reproducible segmentation fault caused by textConnection()

2008-04-29 Thread Bill Dunlap
If you call gctorture(TRUE) the error happens immediately, at the same place. 2064PROTECT(tmp = lengthgets(this->data, ++this->len)); Is this a case where PROTECT_WITH_INDEX() and REPROTECT() need to be used (in connections.c)? Could lengthgets (used by the SET_LENGTH() macro)

Re: [Rd] RFC: What should ?foo do?

2008-04-29 Thread Martin Maechler
> "DM" == Duncan Murdoch <[EMAIL PROTECTED]> > on Sat, 26 Apr 2008 17:21:06 -0400 writes: DM> On 25/04/2008 2:47 PM, Prof Brian Ripley wrote: >> On Fri, 25 Apr 2008, Deepayan Sarkar wrote: >> >>> For what it's worth, I use ?foo mostly to look up usage of functions