[Rd] WinXP GUI problem (PR#8018)

2005-07-19 Thread sampo . etelavuori
Full_Name: Sampo Etelavuori Version: 2.1.1 OS: Windows XP Submission from: (NULL) (130.188.8.10) After exporting for example jpeg files using the GUI the GUI gives me a default option of saving even ordinary scripts in jpeg-format and doesn't let me change the format at least easily. I have also

[Rd] Regexp update in R-devel

2005-07-19 Thread Prof Brian Ripley
Following the report of Henrik Bengtsson which was traced by Duncan Murdoch to a bug in the regexp code from glibc-2.3.3 in R, I have updated the code in R-devel to -2.3.5. This had that bug fixed and about 700 other changes, most of which seem to be bug fixes. My tests on Linux (including of

[Rd] Problems in rgl on MacOS X

2005-07-19 Thread Bill Northcott
I have recently been trying to build rgl on MacOS X 10.4 using R-2.1.1 with gcc-4.0 5026 and gfortran. The R binary I built without problems and it includes libpng and Tcl/ Tk on X11. Rcmdr works correctly. The rgl build produces a large number of warnings like: g++ -no-cpp-precomp -I/Library

Re: [Rd] segfault with grid and null unit (PR#8014)

2005-07-19 Thread jp-www
On 19 Jul 2005, at 23:49, paul murrell wrote: > > The issue is that you have specified a layout with three columns, > but only two > column widths. What should happen is that the widths should be > recycled, but > this was not working for non-trivial units (as in your example). I > have fi

Re: [Rd] R_AllocatePtr

2005-07-19 Thread Thomas Lumley
On Tue, 19 Jul 2005, Paul Roebuck wrote: > Had been looking into Luke Tierney's R_AllocatePtr() and > was left with a question about exactly when does R reclaim > heap memory. Implication of 'simpleref.nw' is that one can > allocate C data on the R heap, and as long as pointer object > is alive, t

Re: [Rd] R_AllocatePtr

2005-07-19 Thread Douglas Bates
On 7/19/05, Paul Roebuck <[EMAIL PROTECTED]> wrote: > Had been looking into Luke Tierney's R_AllocatePtr() and > was left with a question about exactly when does R reclaim > heap memory. Implication of 'simpleref.nw' is that one can > allocate C data on the R heap, and as long as pointer object > i

[Rd] R_AllocatePtr

2005-07-19 Thread Paul Roebuck
Had been looking into Luke Tierney's R_AllocatePtr() and was left with a question about exactly when does R reclaim heap memory. Implication of 'simpleref.nw' is that one can allocate C data on the R heap, and as long as pointer object is alive, the data and pointer will remain valid. But it calls

[Rd] S4 Dispatching

2005-07-19 Thread Paul Roebuck
Is it possible for S4 to (continue) dispatch to a class created during dispatching? The code below doesn't work; is this not possible or have I ommitted something? Concept was to create a SEXP with R_AllocatePtr, give it a class attribute, and continue dispatch. Example code below omits multiple p

Re: [Rd] Problem building R

2005-07-19 Thread Peter Dalgaard
Jeff Gentry <[EMAIL PROTECTED]> writes: > I initially thought this only was the case for me on R-devel, but also > just tested it on the current R-patched and R-2.1.1 (so perhaps this more > belongs on R-help, but ...). > > I'm having an odd error with the makefiles in src/library/XXX while > bui

[Rd] Problem building R

2005-07-19 Thread Jeff Gentry
I initially thought this only was the case for me on R-devel, but also just tested it on the current R-patched and R-2.1.1 (so perhaps this more belongs on R-help, but ...). I'm having an odd error with the makefiles in src/library/XXX while building R. When it tries to create the 'po' directory,

Re: [Rd] segfault with grid and null unit (PR#8014)

2005-07-19 Thread Simon Urbanek
On Jul 19, 2005, at 6:39 AM, [EMAIL PROTECTED] wrote: > Sourcing this code causes the R GUI to crash. I've enclosed a > partial backtrace > from the crash below. I can confirm that this crashes both on OS X (current R-devel) and Linux (2.1.1). The detailed stack trace (with debug symbols) fro

Re: [Rd] extracting and manipulating components from nlme and gnls objects

2005-07-19 Thread Nicholas Lewin-Koh
Hi, Yes, I looked more carefully at the code and realized the parameters have to be named and then the gradient is returned so that SSlogis(3.4,4,5,6) does not return the gradient as an attribute but Asym<-4 xmid<-5 scal<-6 SSlogis(3.4,Asym,xmid,scal) does. However what I am finding more vexing i

[Rd] build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)

2005-07-19 Thread boycer
Full_Name: Richard Boyce Version: 2.1.-1 OS: Debian testing/unstable Submission from: (NULL) (128.95.123.29) While building a custom package using a modified version of Duncan's REventLoop with R version 2.1 (Debian package r-base, r-base-dev) and R source from apt-get source 2.1.1 I get the

Re: [Rd] extracting and manipulating components from nlme and gnls objects

2005-07-19 Thread Douglas Bates
On 7/19/05, Nicholas Lewin-Koh <[EMAIL PROTECTED]> wrote: > Hello, > I am writing a set of functions to do prediction and calibration > intervals > for at least the subset of selfstarting models if not some more general > ones. > > I need to be able to extract the varFunction from a fit object > a

[Rd] extracting and manipulating components from nlme and gnls objects

2005-07-19 Thread Nicholas Lewin-Koh
Hello, I am writing a set of functions to do prediction and calibration intervals for at least the subset of selfstarting models if not some more general ones. I need to be able to extract the varFunction from a fit object and evaluate it at a predicted point. Are there any examples around? Also

Re: [Rd] translation with Rd.sty, Sweave and tex4th (PR#8016)

2005-07-19 Thread ripley
Why not report this as a bug *in tex4th* that conflicts with R? LaTeX has no namespaces, and unfortunately name conflicts are common. Doing as you suggest and allowing one package to clobber another is much worse. On Tue, 19 Jul 2005 [EMAIL PROTECTED] wrote: > Full_Name: Paulo Ribeiro > Versi

[Rd] translation with Rd.sty, Sweave and tex4th (PR#8016)

2005-07-19 Thread paulojus
Full_Name: Paulo Ribeiro Version: 2.1-1 OS: Debian Linux Submission from: (NULL) (200.103.144.24) I'm using Sweave with tex4th to generate xhtml documents from documents created using Sweave which include \usepackage{Rd} in the preamble However there seems to be a problem with \Link defined in R

Re: [Rd] Statistics (PR#8015)

2005-07-19 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Wu,Jianyun > Version: 2.1.1 > OS: > Submission from: (NULL) (139.80.123.40) > > > When i install the software,it appears a language selection box, which contain This is not a bug! Before submitting a bug report. Please read what a bug is. If you are unsur

[Rd] Statistics (PR#8015)

2005-07-19 Thread wujianyun11
Full_Name: Wu,Jianyun Version: 2.1.1 OS: Submission from: (NULL) (139.80.123.40) When i install the software,it appears a language selection box, which contain chinese and english. Then i selected english, but after it was installed, the R is running in Chinese character with some characters are

[Rd] segfault with grid and null unit (PR#8014)

2005-07-19 Thread jp-www
Full_Name: Jonathan Paisley Version: 2.1.1 OS: Mac OS X 10.4.2 Submission from: (NULL) (81.178.107.67) I was following an example from library/grid/doc/grid.pdf ("Introduction to grid") and had the following code, where I'd mis-typed 1,3 instead of 1,2 as the first arguments to grid.layout. Sour

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-19 Thread stefano iacus
On 17/lug/05, at 20:55, Ayal Pinkus wrote: > > > Hi, > > >> >> R builds fine under Windows (though you need to pay attention to >> the details >> which are in the (binary) distribution in the pdf files, in >> particular: `R >> Installation and Administration Manual', a html copy is also on the >>

Re: [Rd] Minor "bug" in source()

2005-07-19 Thread Prof Brian Ripley
I think at least a warning is appropriate here (and also for a URL), so have modified the code to have one in each case. There is a reason why the chdir code is later, after the parsing, for it was thought more important to get an error from parsing than from failing to chdir. On Tue, 19 Jul 2

[Rd] Minor "bug" in source()

2005-07-19 Thread Henrik Bengtsson
For R v2.1.1 patched and R v2.2.0 devel: Calling source(file, chdir=TRUE) with is.character(file) != TRUE, that is, with 'file' as a connection, will generate an error. Example: > file <- textConnection("cat('Hello world\n')") > source(file, chdir=TRUE) Error in source(file, chdir = TRUE) : Ob