Re: [Rd] Error 1 : undefined first referenced symbol

2006-11-29 Thread Prof Brian Ripley
On Wed, 29 Nov 2006, Steiner, Julien wrote: > I'm having trouble building R under Unix. I've searched for information > about it on google or the R database but I didn't find any answer on my > problem. I would be thankful if somebody could help me working that out. It has been discussed several

[Rd] data.frame within a function (PR#9294) (cont'd)

2006-11-29 Thread Riyan Cheng
This continues the message "data.frame within a function (PR#9294)" that was posted on 2006/10/12. Duncan Murdoch kindly replied. I'm using the current version R 2.4.0, but the same issue exists. Just copy and paste the following code under R, and compare the output of f1() and f2() and the out

[Rd] strange error from R CMD check about xaxp

2006-11-29 Thread Liaw, Andy
Dear R-devel, Kurt had alerted me to the problem that the randomForest package that I maintain has been failing checks in R-devel. However, I just can't see why or where it's failing. I'd very much appreciate any pointer. The failure occur when running the example code in varImpPlot.Rd: > varI

[Rd] Web site link problems (PR#9401)

2006-11-29 Thread ross
Full_Name: Ross Boylan Version: N/A OS: Linux Submission from: (NULL) (198.144.201.14) 1. http://www.r-project.org/posting-guide.html includes "Paul Johnson's R tips page is a organized collection of how to do things in R, with many questions and tips culled from R-help" "R tips" is a link to htt

[Rd] R CMD check warning about boot ?

2006-11-29 Thread Dirk Eddelbuettel
Running R CMD check on a local package, I get * checking Rd files ... OK * checking Rd cross-references ... WARNING Error in .find.package(package, lib.loc) : there is no package called 'boot' Execution halted * checking for missing documentation entries ... OK * checking for code/documen

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread bill
On Wed, 29 Nov 2006 [EMAIL PROTECTED] wrote: > > A character vector c('a','b') is supplied to rm(). > > As a result, 'c' is deleted unintentionally. > > ... > >> a <- 1:5 > >> b <- 'abc' > >> c <- letters > >> ls() > > [1] "a" "b" "c" > >> rm(c('a','b')) > >> ls() > > character(0) > ... > I don't

[Rd] R-devel does not compile under FreeBSD-7.0 CURRENT

2006-11-29 Thread Rainer Hurling
I am not able to compile R-devel 2006-11-28 under FreeBSD-7.0 CURRENT. After running ./configure script 'make' stops with the following error message: -- #make gcc -I. -I./src/include -I./src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c -o .m.o gcc: No input f

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread Duncan Murdoch
On 11/29/2006 3:31 PM, [EMAIL PROTECTED] wrote: > Steven McKinney wrote: >> Same behaviour seen on Apple Mac OSX 10.4.8 platform: >> >> >>> sessionInfo() >>> >> R version 2.4.0 Patched (2006-10-31 r39758) >> powerpc-apple-darwin8.8.0 >> >> locale: >> en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread p . dalgaard
Steven McKinney wrote: > Same behaviour seen on Apple Mac OSX 10.4.8 platform: > > >> sessionInfo() >> > R version 2.4.0 Patched (2006-10-31 r39758) > powerpc-apple-darwin8.8.0 > > locale: > en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8 > > attached base packages: > [1] "m

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread Steven McKinney
The argument should indeed be made. I think the documentation for rm() needs to be changed to: Arguments: ...: the object to be removed, supplied individually. Multiple objects must be supplied via the list argument. >From the rm() help page: rm(..., list = character(0

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread Lixin Han
However, the help page also states: ...the objects to be removed, supplied individually and/or as a character vector So maybe the help page needs to be changed. Lixin Han Lixin Han, PhD Sr. Principal Biostatistician Wyeth Research 35 Cambridgepark Drive Cambridge, MA 02140 Phone: (617)

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread James W. MacDonald
That's because you are not using rm() correctly. From the help page: Arguments: ...: the objects to be removed, supplied individually and/or as a character vector list: a character vector naming objects to be removed. So if you pass an unnamed argument, rm() will assume yo

Re: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread Steven McKinney
Same behaviour seen on Apple Mac OSX 10.4.8 platform: > sessionInfo() R version 2.4.0 Patched (2006-10-31 r39758) powerpc-apple-darwin8.8.0 locale: en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils"

[Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)

2006-11-29 Thread hanl2
Full_Name: Lixin Han Version: 2.4.0 OS: Windows 2000 Submission from: (NULL) (155.94.110.222) A character vector c('a','b') is supplied to rm(). As a result, 'c' is deleted unintentionally. > a <- 1:5 > b <- 'abc' > c <- letters > ls() [1] "a" "b" "c" > rm(c('a','b')) > ls() character(0) > ___

Re: [Rd] Source references from the parser

2006-11-29 Thread Duncan Murdoch
On 11/29/2006 11:26 AM, Seth Falcon wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> There have been a couple of requests to set the keep.source default to >> FALSE (i.e. not to enable the new behaviour), so I've done that. > > Thank you. That is much appreciated. > >> Hopefully the cod

Re: [Rd] Matrix*vector: coercing sparse to dense matrix for arithmetic

2006-11-29 Thread Douglas Bates
On 11/29/06, Tamas K Papp <[EMAIL PROTECTED]> wrote: > I have a sparse Matrix (kronecker product of spline design matrices), > and I need to multiply each row by a number to get another matrix. If > the matrix is A and the numbers are stored in a vector k, with plain > vanilla matrices I would do

Re: [Rd] Crash when embedding R X11 windows

2006-11-29 Thread Thomas Friedrichsmeier
Dear R developers, On Tuesday 07 November 2006 15:26, Thomas Friedrichsmeier wrote: > I've been experimenting with embedding R X11 windows into another > application using KDE's QXEmbed on linux. Attempting to do so will crash R > (with R 2.4.0, trunk, and I know the bug has been around in prior >

[Rd] least squares with solve: leading minor is not positive definite

2006-11-29 Thread Tamas K Papp
Hi, I am following the "Comparing Least Squares Calculations" vignette of the Matrix package to get a least squares solution x for MM %*% x == mu$utility I get the following error message: Error in solve(crossprod(MM), crossprod(MM, mu$utility)) : the leading minor of order 1079 is not

Re: [Rd] Source references from the parser

2006-11-29 Thread Seth Falcon
Duncan Murdoch <[EMAIL PROTECTED]> writes: > There have been a couple of requests to set the keep.source default to > FALSE (i.e. not to enable the new behaviour), so I've done that. Thank you. That is much appreciated. > Hopefully the code will still be exercised enough that we can have > conf

Re: [Rd] Error 1 : undefined first referenced symbol

2006-11-29 Thread Peter Dalgaard
Steiner, Julien wrote: > Hello > > > > I'm having trouble building R under Unix. I've searched for information > about it on google or the R database but I didn't find any answer on my > problem. I would be thankful if somebody could help me working that out. > > > > The version of R I'm trying

[Rd] Matrix*vector: coercing sparse to dense matrix for arithmetic

2006-11-29 Thread Tamas K Papp
Hi, I have a sparse Matrix (kronecker product of spline design matrices), and I need to multiply each row by a number to get another matrix. If the matrix is A and the numbers are stored in a vector k, with plain vanilla matrices I would do A*k But when using the Matrix package (class of A is "

[Rd] Error 1 : undefined first referenced symbol

2006-11-29 Thread Steiner, Julien
Hello I'm having trouble building R under Unix. I've searched for information about it on google or the R database but I didn't find any answer on my problem. I would be thankful if somebody could help me working that out. The version of R I'm trying to build is R-2.4.0 and the architecture