[Rd] Substitute() changed since R2.3.0 (2006-02-02 r37243)?

2006-03-29 Thread Henrik Bengtsson
Hi, I've got the following two versions of R on WinXP: A) R Version 2.3.0 Under development (unstable) (2006-02-02 r37243) B) R Version 2.3.0 Under development (unstable) (2006-03-27 r37579) and a the following "test.R" script: foo <- function(path, ...) { print(path) } bar <- function(x, ...)

Re: [Rd] Substitute() changed since R2.3.0 (2006-02-02 r37243)?

2006-03-29 Thread Peter Dalgaard
"Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > Hi, > > I've got the following two versions of R on WinXP: > > A) R Version 2.3.0 Under development (unstable) (2006-02-02 r37243) > B) R Version 2.3.0 Under development (unstable) (2006-03-27 r37579) > > and a the following "test.R" script: > >

[Rd] Bundle internal dependencies

2006-03-29 Thread Iago Mosqueira
Dear all, When creating a bundle with some internal dependencies (package B in bundle depends on package A), would having the same version installed suffice? Can I ignore the dependencie in package B's description? The test of package B fails when calling data() for an object in pacakge A, so I am

Re: [Rd] Substitute() changed since R2.3.0 (2006-02-02 r37243)?

2006-03-29 Thread Henrik Bengtsson
On 29 Mar 2006 11:58:34 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > "Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > > > Hi, > > > > I've got the following two versions of R on WinXP: > > > > A) R Version 2.3.0 Under development (unstable) (2006-02-02 r37243) > > B) R Version 2.3.0 Under dev

Re: [Rd] Wishlist - access non-text from clipboard in Windows

2006-03-29 Thread Duncan Murdoch
On 3/28/2006 10:08 PM, Gabor Grothendieck wrote: > Hi, I am just trying it now. Suppose I copy the first few lines of > the table at: > > http://www.pricelesswarehome.org/2006/CumulativePL.php > > into the clipboard by selecting them with the mouse in IE and > pressing ctrl-C. Now I can just go

Re: [Rd] Wishlist - access non-text from clipboard in Windows

2006-03-29 Thread Gabor Grothendieck
On 3/29/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 3/28/2006 10:08 PM, Gabor Grothendieck wrote: > > Hi, I am just trying it now. Suppose I copy the first few lines of > > the table at: > > > > http://www.pricelesswarehome.org/2006/CumulativePL.php > > > > into the clipboard by selecting t

Re: [Rd] substitute() bug by you ? [forwarded]

2006-03-29 Thread Duncan Murdoch
On 3/29/2006 7:48 AM, Martin Maechler wrote: > Hi Duncan, > > Just in case you haven't been alerted yet; > I think the bug mentioned is caused by this change in coerce.c : Thanks, I was just coming to the same conclusion. I'll look into it. Duncan > > --

Re: [Rd] [R] rownames, colnames, and date and time

2006-03-29 Thread Prof Brian Ripley
Yet again, this is the wrong list for suggesting changes to R. Please do use R-devel for that purpose (and I have moved this). If this bothers you (it all works as documented, so why not use it as documented?), please supply a suitable patch to the current R-devel sources and it will be consid

[Rd] pictex should quote underscores (PR#8725)

2006-03-29 Thread sds
Full_Name: Sam Version: 2.2.1, 2005-12-20 OS: i686-redhat-linux-gnu Submission from: (NULL) (209.213.205.130) running pictex() plot(1:11,(-5:5)^2, type='b', main="Simple_Example_Plot") dev.off() (as in the pictex example, but with underscores instead of spaces). the TeX file contai

Re: [Rd] bug in pictex() (package:grDevices) (PR#8727)

2006-03-29 Thread sds
> * Prof Brian Ripley <[EMAIL PROTECTED]> [2006-03-29 15:39:17 +0100]: > > Have you reported this to pictex()'s author? no, I have no idea who that is. > Remember that it is a contributed graphics device, and not one r-core > is maintaining. You could also submit a patch yourself. > > There is q

Re: [Rd] Bundle internal dependencies

2006-03-29 Thread Paul Gilbert
Iago What you are trying to do should work, but there are a couple of things to watch out for. In the bundle DESCRIPTION "Contains" line be sure to put the packages in the order that they should be checked. In the R code for package B be sure to put an .onload function with requires("A"), or

Re: [Rd] [R] rownames, colnames, and date and time

2006-03-29 Thread Prof Brian Ripley
Looking at the code it occurs to me that there is another case you have not considered, namely dimnames(). rownames<- and colnames<- are just wrappers for dimnames<-, so consistency does mean that all three should behave the same. For arrays (including matrices), dimnames<- is primitive. It co

[Rd] write.table and segment fault?

2006-03-29 Thread David James
Hi, I'm experiencing R segmentation faults on multiple versions of R when writing out a particular data.frame: ## dd is a 44 by 3 data.frame load(url("http://stat.bell-labs.com/RS-DBI/download/dd.rda";)) write.table(dd, file = "dd.csv", sep = ",", row.names = FALSE) this occurs on > s

Re: [Rd] write.table and segment fault?

2006-03-29 Thread John Chambers
David had reported this to me privately earlier today. I'm fairly sure the problem is caused by an invalid factor variable, with numeric rather than integer data. At the moment I'm checking a patch to scan.c that checks this to avoid a segfault. If that's not the problem I'll report back to t

[Rd] Compiling codes from existing packages.

2006-03-29 Thread Steve Su
Dear All, I wonder if there is a step by step guide somewhere that will allow me to use Fortran and C codes from packages already on CRAN? I am using Windows XP and "R-2.2.1". I could link to these packages but the problem is that they get updated and they are not backward compatible. Also,

Re: [Rd] [R] atan2(1,1i)

2006-03-29 Thread François Pinard
[Brian Ripley] >BTW, this *really* is an R-devel topic, so please try to use the >appropriate list. OK, I'm moving this matter to R-devel. >[Robin Hankin] >> My point was that the documentation is inconsistent with the >> function. >I think it is _your reading_ of the documentation that is inc

[Rd] header containing 8713 (PR#8729)

2006-03-29 Thread j . van_den_hoff
concerning the symbols manpage: it probably should actually say "If 'inches' is 'FALSE', the units for the width and height of the symbols are taken to be those of the x axis and y axis, respectively..." at least for 'boxplots' symbols this is empirically the actual behaviour. if other symbol