Re: [Rd] termplot with uniform y-limits

2007-07-02 Thread Prof Brian D Ripley
Is the attached the sort of thing you are looking for? It allows ylim to be specified, including as "common". On Mon, 2 Jul 2007, [EMAIL PROTECTED] wrote: Does anyone have, or has anyone ever considered making, a version of 'termplot' that allows the user to specify that all plots should have t

Re: [Rd] curious package behaviors under cross-build and/or between windows/unix

2007-04-18 Thread Prof Brian D Ripley
On Wed, 18 Apr 2007, Hin-Tak Leung wrote: > Hi, > > I have gone back to cross-compiling again, and I have come to two > curious issues: (I have native R under linux x86_64 and win32 R > under wine) - both 2.4.1: > > (1) for a pure R package (i.e. no compiled code), win32 R would > happily load the

Re: [Rd] function to remove attributes?

2007-01-30 Thread Prof Brian D Ripley
On Tue, 30 Jan 2007, Tamas K Papp wrote: > Hi, > > I would like to know if there is a compact way to remove attributes > from an object. I know attributes(obj) <- NULL works, but I wonder if > there is something similar to unclass or unname. RSiteSearch didn't > reveal anything. as.vector is us

Re: [Rd] Building R from the source

2006-11-11 Thread Prof Brian D Ripley
On Sat, 11 Nov 2006, Benilton Carvalho wrote: > Hi Everyone, > > when building (say) R-2.4.0 from the source, is it still the > recommendation to use GCC 3.4? It depends on your unstated OS. There are recommendations in the R-admin manual, and those I wrote are still current. Often one cannot

Re: [Rd] Problem tracking down an R CMD check syntax error

2006-10-20 Thread Prof Brian D Ripley
On Fri, 20 Oct 2006, Ulrike Grömping wrote: My original post got slightly messed up somehow, so let me restructure it in order to make it understandable: Dear all, I am stuck with tracking down an error I get from R CMD check (Windows, R 2.4.0, same error for R 2.2.1): when running R CMD chec

Re: [Rd] demo names with spaces?

2006-09-13 Thread Prof Brian D Ripley
There are two issues here: 1) file names with spaces are not supported, and indeed you cannot install such a package on Windows. Because make is used, this is pretty fundamental. 2) The parsing code for 00Index used by 'check' assumes whitespace separates the name and the title. In index files

Re: [Rd] [R] insert insertRow?

2006-07-21 Thread Prof Brian D Ripley
[Moved to R-devel, the appropriate list for discussing development of R.] You can do what you ask for (but micEcon does not provide) more easily and efficiently by indexing, and learning the power of R's indexing seems an important part of mastering the tool. BTW, as a data frame is thought of

Re: [Rd] simple C function segfaults

2006-02-21 Thread Prof Brian D Ripley
On Tue, 21 Feb 2006, Simon Urbanek wrote: > > On Feb 21, 2006, at 2:48 PM, Bernd Kriegstein wrote: > >> Thank you very much for the answer. As a general principle, when >> and why should I register the counters? > > "register int i" is merely an optimization, you can safely use "int > i" instead.

Re: [Rd] R's parsing of command line arguments using commandArgs()

2005-09-26 Thread Prof Brian D Ripley
On Mon, 26 Sep 2005, Marc Schwartz (via MN) wrote: > On Fri, 2005-09-23 at 15:37 -0500, Marc Schwartz (via MN) wrote: > > Hi all, > > > > I am setting up some R program files for use by our DB programmers to > > enable them to utilize some R functions which will be called from within > > TCL code.

Re: [Rd] loadings() generic in R alpha

2005-09-16 Thread Prof Brian D Ripley
On Fri, 16 Sep 2005, Paul Gilbert wrote: > Brian > > It would help if I understood general principles. I thought one would > want a case for NOT making functions generic, rather than a case for > making them generic. Hopefully a case for why generics and methods are > useful will not be necessary.