[Rd] matrix bands

2011-08-26 Thread Jeremy David Silver
Dear R developers, I was looking for a function analogous to base::diag() for getting and setting bands of a matrix. The closest I could find was Matrix::band(), but this was not exactly what I wanted for two reasons. Firstly, Matrix::band() returns a matrix rather than just the specified

[Rd] methods() not listing some S3 plot methods...?

2011-08-26 Thread Gavin Simpson
Dear List, This may be related to this email thread initiated by Ben Bolker last month: https://stat.ethz.ch/pipermail/r-devel/2011-July/061630.html In answering this Question on StackOverflow http://stackoverflow.com/q/7195628/429846 I noticed that `methods()` was not listing some S3 methods

Re: [Rd] matrix bands

2011-08-26 Thread Martin Maechler
Jeremy David Silver j...@dmu.dk on Fri, 26 Aug 2011 13:23:43 +0200 writes: Dear R developers, I was looking for a function analogous to base::diag() for getting and setting bands of a matrix. The closest I could find was Matrix::band(), but this was not exactly what I

Re: [Rd] matrix bands

2011-08-26 Thread Jeremy David Silver
Thanks for the suggestion, Martin! I looked at both Matrix::band and Matrix::bandSparse. Maybe I misunderstand the help pages and the examples, but from what I can see neither of them provides the functionality I was looking for. For the getter version of the function I was looking for, I

Re: [Rd] methods() not listing some S3 plot methods...?

2011-08-26 Thread Martin Morgan
On 08/26/2011 04:44 AM, Gavin Simpson wrote: Dear List, This may be related to this email thread initiated by Ben Bolker last month: https://stat.ethz.ch/pipermail/r-devel/2011-July/061630.html In answering this Question on StackOverflow http://stackoverflow.com/q/7195628/429846 I noticed that

Re: [Rd] matrix bands

2011-08-26 Thread Martin Maechler
Jeremy David Silver j...@dmu.dk on Fri, 26 Aug 2011 15:08:03 +0200 writes: Thanks for the suggestion, Martin! I looked at both Matrix::band and Matrix::bandSparse. Maybe I misunderstand the help pages and the examples, but from what I can see neither of them provides

[Rd] read.table segfaults

2011-08-26 Thread Göran Broström
fil2s - read.table(../Data/fil2_s.txt, header = FALSE, sep = \t) Program received signal SIGSEGV, Segmentation fault. 0x0041c2e1 in RunGenCollect (size_needed=8192000) at memory.c:1514 1514PROCESS_NODES(); (gdb) sessionInfo() R version 2.13.1 Patched (2011-08-25 r56798)

Re: [Rd] read.table segfaults

2011-08-26 Thread Göran Broström
Another one: The 'death.RData' was created about a year ago, but ...? Same info as below. Göran load(../Data/death.RData) summary(death) *** caught segfault *** address 0x4e04959, cause 'memory not mapped' Traceback: 1: match(x, levels) 2: factor(a, levels = ll[!(ll %in% exclude)],

Re: [Rd] read.table segfaults

2011-08-26 Thread Göran Broström
One further note: No problem with R version 2.13.0 (2011-04-13) Göran 2011/8/26 Göran Broström goran.brost...@gmail.com: Another one: The 'death.RData' was created about a year ago, but ...? Same info as below. Göran load(../Data/death.RData) summary(death)  *** caught segfault ***

Re: [Rd] read.table segfaults

2011-08-26 Thread Scott
It does look like you've got a memory issue. perhaps using as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments to read.table if you don't specify these sorts of things, R can have to look through the file and figure out which columns are characters/factors etc and so the

[Rd] Problem in calling R functions from Matlab

2011-08-26 Thread Vandita Srivastava
Hi, I wish to use R (version 2.13.1) from within Matlab(ver R2009a) on windows XP plaform (on both 64 bit and 32 bit OS) . For this I have installed StatConnector (http://rcom.univie.ac.at/download/current/statconnDCOM.latest.exe) for calling R from within Matlab (R2009a) on Windows XP

[Rd] S3 methods in default namespace

2011-08-26 Thread Michael Lawrence
Hi guys, Are there any plans for figuring out potential S3 methods and declaring them with S3method() in the automatic default NAMESPACE? Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list

Re: [Rd] read.table segfaults

2011-08-26 Thread Ben Bolker
Scott ncbi2r at googlemail.com writes: It does look like you've got a memory issue. perhaps using as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments to read.table if you don't specify these sorts of things, R can have to look through the file and figure out

Re: [Rd] methods() not listing some S3 plot methods...?

2011-08-26 Thread Gavin Simpson
On Fri, 2011-08-26 at 07:06 -0700, Martin Morgan wrote: On 08/26/2011 04:44 AM, Gavin Simpson wrote: Dear List, This may be related to this email thread initiated by Ben Bolker last month: https://stat.ethz.ch/pipermail/r-devel/2011-July/061630.html In answering this Question on