Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Marc Schwartz
On Tue, 2004-08-31 at 21:50, Dirk Eddelbuettel wrote: > On Tue, Aug 31, 2004 at 10:48:28AM -0500, Marc Schwartz wrote: > > On Tue, 2004-08-31 at 08:55, Dirk Eddelbuettel wrote: > > > Brian, > > > > > > On Tue, Aug 31, 2004 at 02:21:40PM +0100, Prof Brian Ripley wrote: > > > > What are stdin/stdout

Re: [Rd] file.info() on file larger than 2GB

2004-08-31 Thread Roger D. Peng
Indeed, when I tried the same on a 64-bit OS I got the usual (correct) information from file.info(). The size is wrong in R 1.9.1 but that seems to have been fixed in R-devel. -roger Prof Brian Ripley wrote: This is a purely OS issue: your OS has not been set up so the fopen and stat calls hand

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Dirk Eddelbuettel
On Tue, Aug 31, 2004 at 10:48:28AM -0500, Marc Schwartz wrote: > On Tue, 2004-08-31 at 08:55, Dirk Eddelbuettel wrote: > > Brian, > > > > On Tue, Aug 31, 2004 at 02:21:40PM +0100, Prof Brian Ripley wrote: > > > What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME > > > does wr

Re: [Rd] make check failure

2004-08-31 Thread Prof Brian Ripley
On Tue, 31 Aug 2004, gb wrote: > I have built today's R-devel without problem on a fresh installation of I don't know what that is, but I am not seeing a failure and I have done about 20 builds on different platforms today from the then current svn checkouts. Could you please run this example a

[Rd] make check failure

2004-08-31 Thread gb
I have built today's R-devel without problem on a fresh installation of debian testing. However, 'make check' fails. In 'tests/Examples/tools-Ex.Rout.fail': > ### * vignetteDepends > > flush(stderr()); flush(stdout()) > > ### Name: vignetteDepends > ### Title: Retrieve Dependency Information for

Re: [Rd] Dimension of apply(X, MARGIN, FUN) when FUN returns a matrix

2004-08-31 Thread Gabor Grothendieck
mevik.net> writes: : : Dear all, : : apply(X, MARGIN, FUN, ...) returns an array of dimension : c(n, dim(X)[MARGIN]) when FUN returns a vector of length n > 1. : : Matrices and arrays are also vectors, so if FUN returns a matrix or an : array, apply returns an array of dimension c(n, dim(X)[M

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Marc Schwartz
On Tue, 2004-08-31 at 08:55, Dirk Eddelbuettel wrote: > Brian, > > On Tue, Aug 31, 2004 at 02:21:40PM +0100, Prof Brian Ripley wrote: > > What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME > > does write certain error messages (from GDK/GTK) to the controlling > > terminal s

Re: [Rd] file.info() on file larger than 2GB

2004-08-31 Thread Prof Brian Ripley
This is a purely OS issue: your OS has not been set up so the fopen and stat calls handle > 2Gb files. There is one R issue: the size will overflow in file.info. For example, under Solaris 64-bit applications can handle such files whereas 32-bit ones need calls to stat64, fopen64 etc. It seems

Re: [Rd] Dimension of apply(X, MARGIN, FUN) when FUN returns a matrix

2004-08-31 Thread Tony Plate
Bjorn, sorry I can't answer your question, but I had the same question some time ago and ended up creating a modified version of apply() that would do something like what you suggested. It used the abind() function (from the abind package) to assemble the result. For example, if dim(X)=c(7,6,5

Re: [Rd] model.matrix.default chokes on backquote (PR#7202)

2004-08-31 Thread Peter Dalgaard
"Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > > > "Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > > > > > > > as.character(attr(terms(`a(b)`~`c(d)`),"variables")) > > > > [1] "list" "`a(b)`" "`c(d)`" > > > > > > > > whereas for instance > > >

[Rd] file.info() on file larger than 2GB

2004-08-31 Thread Roger D. Peng
I've got a file that's approximately 2.2GB and it seems to be foiling file.info(). When I run `stat' from the shell I get zooey:> stat data.csv File: `data.csv' Size: 2271197563 Blocks: 4440280IO Block: 4096 regular file Device: 342h/834d Inode: 9994308 Links: 1 Access:

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Dirk Eddelbuettel
Brian, On Tue, Aug 31, 2004 at 02:21:40PM +0100, Prof Brian Ripley wrote: > What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME > does write certain error messages (from GDK/GTK) to the controlling > terminal so you may need one, at least if there is an error/warning. > > I

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Prof Brian Ripley
What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME does write certain error messages (from GDK/GTK) to the controlling terminal so you may need one, at least if there is an error/warning. I see gnome_start in src/modules/gnome/system.c has R_Interactive = isatty(0); I

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Marc Schwartz
On Mon, 2004-08-30 at 21:38, Dirk Eddelbuettel wrote: > A Debian user filed a bug report the details of which are at > http://bugs.debian.org/269107 > > I can replicate his problem: the R/Gnome entry that is made available to the > various window managers fails. A window pops, and exists. >

[Rd] Dimension of apply(X, MARGIN, FUN) when FUN returns a matrix

2004-08-31 Thread Bjørn-Helge Mevik
Dear all, apply(X, MARGIN, FUN, ...) returns an array of dimension c(n, dim(X)[MARGIN]) when FUN returns a vector of length n > 1. Matrices and arrays are also vectors, so if FUN returns a matrix or an array, apply returns an array of dimension c(n, dim(X)[MARGIN]) as above. This is in accordanc

[Rd] Security Alert - InterScan for Lotus Notes

2004-08-31 Thread halunotes01/kyoritsu%KYORITSU
$B%&%#%k%9$,[EMAIL PROTECTED]"Mm$r$*4j$$$7$^$9!#(B (B (BDate:8/31/2004 16:50:40 (BSubject: Hey! (BFrom: [EMAIL PROTECTED] (BTo:[EMAIL PROTECTED] (B (BVirus:WORM_MYDOOM.H (BFile: account.exe (BAction: Uncleanable quarantine (BEvent: