Re: [Rd] Build R-2.3.1 on Red Hat AS release 4

2006-06-13 Thread Prof Brian Ripley
Works for me on FC3 with gcc 3.4.4. as shipped with FC3 (and used to build the FC3 RPMs on CRAN). There are rh4AS RPMs of R-2.3.0 on CRAN (under linux/redhat/el4), and 2.3.1 is just a patch update of 2.3.0. On Tue, 13 Jun 2006, Jennifer wrote: > Hi, > I attempted to build R-2.3.1 with gcc an

[Rd] Bug or not? (PR#8977)

2006-06-13 Thread hm
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --enig807B2312A20EAF60129FDDFA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I am writing this email, because I am not sure if the issue I have discovered is a bug or not. For a

Re: [Rd] Building R package: pdf problems

2006-06-13 Thread Dan Rabosky
OK - the problem seemed (in part) to be the lack of Rd.sty, which is addressed below. http://www.murdoch-sutherland.com/Rtools/miktex.html When I followed the instructions on Duncan's site (using 'workaround 4'), things appeared to work. R CMD Rd2dvi --pdf creates a directory .Rd2dvi, which

[Rd] Request for Comments: Fix for Bug 8141 (stack overflow)

2006-06-13 Thread Kevin B. Hendricks
Hi, I have a proposed fix for Bug 8141 that passes make check-all on my machine and that will actually NOT overflow the C stack even for the larger problems than the test case given in 8141. The basic idea is to not use recursion to walk the list elements and instead use a loop building up

[Rd] Build R-2.3.1 on Red Hat AS release 4

2006-06-13 Thread Jennifer
Hi, I attempted to build R-2.3.1 with gcc and g77 version 3.4.4 on a cluster that runs Red Hat AS 4. The configuration step went through without any problem, * R is now configured for x86_64-unknown-linux-gnu Source directory: . Installation directory:/usr/local C

Re: [Rd] format.POSIXlt drops characters following percent sign (PR#8976)

2006-06-13 Thread ripley
On Tue, 13 Jun 2006, [EMAIL PROTECTED] wrote: > Full_Name: Jeff Hallman > Version: 2.3.1 > OS: Windows > Submission from: (NULL) (132.200.32.34) > > > Internal(format.POSIXlt(as.POSIXlt(Sys.time()), "%Y%m%d%q", F)) > Linux R-2.2.1 returns "20060613%q&q

Re: [Rd] format.POSIXlt drops characters following percent sign (PR#8975)

2006-06-13 Thread Prof Brian Ripley
On Tue, 13 Jun 2006, [EMAIL PROTECTED] wrote: > Full_Name: Jeff Hallman > Version: 2.3.1 > OS: Windows > Submission from: (NULL) (132.200.32.34) > > > Internal(format.POSIXlt(as.POSIXlt(Sys.time()), "%Y%m%d%q", F)) > Linux R-2.2.1 returns "20060613%q&q

[Rd] format.POSIXlt drops characters following percent sign (PR#8975)

2006-06-13 Thread jhallman
Full_Name: Jeff Hallman Version: 2.3.1 OS: Windows Submission from: (NULL) (132.200.32.34) Internal(format.POSIXlt(as.POSIXlt(Sys.time()), "%Y%m%d%q", F)) Linux R-2.2.1 returns "20060613%q". Windows R-2.3.1 returns "20060613" dropping the "%q".

Re: [Rd] undesirable rounding off due to 'read.table' (PR#8974)

2006-06-13 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: > Full_Name: Aart Overeem > Version: 2.2.0 > OS: Linux > Submission from: (NULL) (145.23.254.155) > > > Construct a dataframe consisting of several variables by using 'data.frame' > and > 'cbind' and write it to a file with 'write.table'. The file consists of > headers >

Re: [Rd] undesirable rounding off due to 'read.table' (PR#8974)

2006-06-13 Thread ripley
I believe this to be a false report. It is *printing* that rounds off the numbers, not the reading. You provide no evidence of your assertions: here is a simple counter-example: > A <- data.frame(a=12.4283675334551) > write.table(A, "foo") > AA <- read.table("foo") > A a 1 12.42837 >

Re: [Rd] undesirable rounding off due to 'read.table' (PR#8974)

2006-06-13 Thread Gavin Simpson
On Tue, 2006-06-13 at 16:01 +0200, [EMAIL PROTECTED] wrote: > Full_Name: Aart Overeem > Version: 2.2.0 You are asked not to report bugs on out-dated versions of R... > OS: Linux > Submission from: (NULL) (145.23.254.155) > > > Construct a dataframe consisting of several variables by using 'data

Re: [Rd] undesirable rounding off due to 'read.table' (PR#8974)

2006-06-13 Thread Hin-Tak Leung
[EMAIL PROTECTED] wrote: > Full_Name: Aart Overeem > Version: 2.2.0 > OS: Linux > Submission from: (NULL) (145.23.254.155) > > > Construct a dataframe consisting of several variables by using 'data.frame' > and > 'cbind' and write it to a file with 'write.table'. The file consists of > headers

[Rd] undesirable rounding off due to 'read.table' (PR#8974)

2006-06-13 Thread overeem
Full_Name: Aart Overeem Version: 2.2.0 OS: Linux Submission from: (NULL) (145.23.254.155) Construct a dataframe consisting of several variables by using 'data.frame' and 'cbind' and write it to a file with 'write.table'. The file consists of headers and values, such as 12.4283675334551 (so 13 num

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Prof Brian Ripley
On Tue, 13 Jun 2006, Duncan Murdoch wrote: [...] > However, it appears that you can only import packages that have a namespace. > (I was unaware of this restriction; perhaps it's not really true, and the > error message means something else.) Yes, it is true but not properly documented. The d

Re: [Rd] normalizePath() warning

2006-06-13 Thread Prof Brian Ripley
On Tue, 13 Jun 2006, Roger D. Peng wrote: > > > Prof Brian Ripley wrote: >> On Mon, 12 Jun 2006, Duncan Murdoch wrote: >> >>> On 6/12/2006 4:53 PM, Roger D. Peng wrote: I've been getting the following warning after running 'install.packages()' recently: Warning message:

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
i solve the problem of masked GlobalEnv which is induced from conflicts with objects in memory removing objects before installing the package solves the warning message Nicolas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Duncan Murdoch
Nicolas Turenne wrote: > it works fine if i avoid importFrom directive > thank you very much > > i have a last question > the R source code cannot admit gloval variable ? because i have global > variables > and i get the following message after loading my package by the command > 'library(svcR)':

Re: [Rd] normalizePath() warning

2006-06-13 Thread Roger D. Peng
Prof Brian Ripley wrote: > On Mon, 12 Jun 2006, Duncan Murdoch wrote: > >> On 6/12/2006 4:53 PM, Roger D. Peng wrote: >>> I've been getting the following warning after running >>> 'install.packages()' recently: >>> >>> Warning message: >>> insufficient OS support on this platform in: normalizeP

Re: [Rd] poly(*,*) in lm() (PR#8972)

2006-06-13 Thread Bjørn-Helge Mevik
> I used the function lm() to calculate the coefficients of a polynome. If I > used > the function poly(t,2) to denote a polynome of form 1 + x + x^2, the > coefficients are wrong. If you take a look at the manual page for poly, you will find that poly (by default) will calculate _orthogonal_ pol

[Rd] Ganador del premio (winner of a prize) (PR#8973)

2006-06-13 Thread juan . felipe
--qzsoft_directmail_seperator Content-Type: text/plain; charset="DEFAULT" Content-Transfer-Encoding: base64 TE9UT0JPTk8gUy5BLgpMT1RFUklBIE5BQ0lPTkFMIFBST01PQ0lPTi9QUkVNSU9TClBhc2VvIERl IExhIENhc3RlbGxhbmEKNS00NSwgMjgwMDggTWFkcmlkLgpTcGFpbiBCcmFuY2guClRlbDo5MTY0 NDY5NTIKRmF4OjkxNjQ0Njk1MwpS

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
it works fine if i avoid importFrom directive thank you very much i have a last question the R source code cannot admit gloval variable ? because i have global variables and i get the following message after loading my package by the command 'library(svcR)': The following object(s) are masked _

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Duncan Murdoch
Nicolas Turenne wrote: > it looks strange... > > if i do only the compiling with the package "spdep" > and i avoid useDynLib, it compiles well, > but with the package "ade4" and "quadprog" it claims that > packages has no namespace > Erreur dans loadNamespace(ns, lib.loc) : le package 'quadprog' n'

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
it looks strange... if i do only the compiling with the package "spdep" and i avoid useDynLib, it compiles well, but with the package "ade4" and "quadprog" it claims that packages has no namespace Erreur dans loadNamespace(ns, lib.loc) : le package 'quadprog' n'a pas d'espace de noms do you have

[Rd] poly(*,*) in lm() (PR#8972)

2006-06-13 Thread jenskeienburg
Full_Name: Jens Keienburg Version: 2.3.0 OS: Windows XP Submission from: (NULL) (193.174.53.122) I used the function lm() to calculate the coefficients of a polynome. If I used the function poly(t,2) to denote a polynome of form 1 + x + x^2, the coefficients are wrong. I appended an excerpt below

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Duncan Murdoch
Nicolas Turenne wrote: > i follow your recommendation writing this : > in the description file > Depends: R (>= 2.3), quadprog, ade4, spdep > Imports: quadprog, ade4, spdep > > in the namespace file > useDynLib(quadprog) > useDynLib(spdep) > useDynLib(ade4) > importFrom("ade4", "dist.dudi") > impor

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Uwe Ligges
Nicolas Turenne wrote: > i follow your recommendation writing this : > in the description file > Depends: R (>= 2.3), quadprog, ade4, spdep > Imports: quadprog, ade4, spdep > > in the namespace file > useDynLib(quadprog) > useDynLib(spdep) > useDynLib(ade4) > importFrom("ade4", "dist.dudi") > impo

Re: [Rd] segfault with layout() after closing X11() device (PR#8970)

2006-06-13 Thread ripley
I unable to reproduce this on my Solaris 8 64-bit systems (neither compiled with gcc nor cc) nor any other 64-bit system. If possible, can you run R under a suitable debugger (e.g. R -d gdb for gcc) and find out what is pointing to address zero. On Tue, 13 Jun 2006, [EMAIL PROTECTED] wrote: >

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
i follow your recommendation writing this : in the description file Depends: R (>= 2.3), quadprog, ade4, spdep Imports: quadprog, ade4, spdep in the namespace file useDynLib(quadprog) useDynLib(spdep) useDynLib(ade4) importFrom("ade4", "dist.dudi") importFrom("quadprog", "solve.QP") importFrom("ad