Re: [Rd] cannot load rJava in R

2006-04-17 Thread Lothar Rubusch
> -Ursprüngliche Nachricht- > Von: Simon Urbanek <[EMAIL PROTECTED]> > Gesendet: 17.04.06 18:41:52 > An: Lothar Rubusch <[EMAIL PROTECTED]> > CC: r-devel@r-project.org > Betreff: Re: [Rd] cannot load rJava in R > Lothar, > > as per posting guide, please discuss issues with contributed p

Re: [Rd] bounding box in PostScript

2006-04-17 Thread Berwin A Turlach
G'day David, > "DA" == David Allen <[EMAIL PROTECTED]> writes: DA> When a graph is saved as PostScript, the bounding box is often DA> too big. A consequence is that when the graph is included in DA> a LaTeX document, the spacing does not look good. Is this a DA> recognized p

Re: [Rd] bounding box in PostScript

2006-04-17 Thread Ted Harding
On 17-Apr-06 Prof Brian Ripley wrote: > On Mon, 17 Apr 2006, David Allen wrote: > >> When a graph is saved as PostScript, the bounding box is often too >> big. >> A consequence is that when the graph is included in a LaTeX document, >> the spacing does not look good. >> Is this a recognized proble

Re: [Rd] (PR#8777) strsplit does [not] return correct value when spliting ""

2006-04-17 Thread Thomas Friedrichsmeier
Prof Brian Ripley wrote: > On Mon, 17 Apr 2006, Charles Dupont wrote: [...] > > The man page states in the value section that strsplit returns: > > A list of length 'length(x)' the 'i'-th element of which contains > > the vector of splits of 'x[i]'. > > > > It mentions no change in behavi

Re: [Rd] (PR#8777) strsplit does [not] return correct value when spliting ""

2006-04-17 Thread Peter Ehlers
Charles, Can't you achieve your goal by unlist()ing 'substrings'? max(nchar(unlist(substrings))) Peter Ehlers Charles Dupont wrote: > Now using R 2.3.0. > > I have a string that can be "". I want to find the max screen width of > the all the lines in the string. so I run the command > >

Re: [Rd] bounding box in PostScript

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, David Allen wrote: > When a graph is saved as PostScript, the bounding box is often too big. > A consequence is that when the graph is included in a LaTeX document, > the spacing does not look good. > Is this a recognized problem? Is someone working on it? Could I help? It's

[Rd] bounding box in PostScript

2006-04-17 Thread David Allen
When a graph is saved as PostScript, the bounding box is often too big. A consequence is that when the graph is included in a LaTeX document, the spacing does not look good. Is this a recognized problem? Is someone working on it? Could I help? David __

Re: [Rd] Testcase (was: Stack checking, core dumps, and embedding R)

2006-04-17 Thread Thomas Friedrichsmeier
Sorry, I wasn't aware, .c files would be scrubbed. Testcase available for download here: http://rkward.sourceforge.net/temp/threadEmbed.c On Monday 17 April 2006 21:11, Thomas Friedrichsmeier wrote: > Sorry about all the noise, but I'm slightly irritated by the absence of > reactions of any kind,

[Rd] Testcase (was: Stack checking, core dumps, and embedding R)

2006-04-17 Thread Thomas Friedrichsmeier
Sorry about all the noise, but I'm slightly irritated by the absence of reactions of any kind, while the time to the release is ticking away. Attached you will find a testcase for the problem. Likely the error will only show up on linux, due to the #if defined(linux) R_CStac

Re: [Rd] (PR#8777) strsplit does [not] return correct value when spliting ""

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Charles Dupont wrote: > Now using R 2.3.0. > > I have a string that can be "". I want to find the max screen width of > the all the lines in the string. so I run the command > > > x <- c("hello", "bob is\ngreat", "foo", "", "bar") > > substrings <- strsplit(x, "\n"), type="

Re: [Rd] (PR#8777) strsplit does [not] return correct value when spliting ""

2006-04-17 Thread Charles Dupont
Now using R 2.3.0. I have a string that can be "". I want to find the max screen width of the all the lines in the string. so I run the command > x <- c("hello", "bob is\ngreat", "foo", "", "bar") > substrings <- strsplit(x, "\n"), type="width") > sapply(substrings, FUN=function(x) max(nc

Re: [Rd] cannot load rJava in R

2006-04-17 Thread Simon Urbanek
Lothar, as per posting guide, please discuss issues with contributed packages with the maintainer. On Apr 15, 2006, at 4:59 PM, Lothar Rubusch wrote: > I recently tried to install the rJava package on my notebook > (Debian Etch / Kernel 2.6.15 / jdk 1.5.0-5 / R 2.2.1 / rJava ?? the > repo

Re: [Rd] row.names in data.frame

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Martin Maechler wrote: > Thanks a lot, Brian, > I've been very happy with your proposal, but haven't yet looked > at the details of the R-devel implementation. > The NEWS entry only mentions *integer* rownames as new feature - > which is exact from the user's perspective as yo

Re: [Rd] row.names in data.frame

2006-04-17 Thread Martin Maechler
Thanks a lot, Brian, I've been very happy with your proposal, but haven't yet looked at the details of the R-devel implementation. The NEWS entry only mentions *integer* rownames as new feature - which is exact from the user's perspective as you emphasize below. It might be worth mentioning that

Re: [Rd] c++ code on amd64

2006-04-17 Thread Thomas Lumley
On Sun, 16 Apr 2006, Prof Brian Ripley wrote: > You mention 'float' repeatedly. A %f argument in Rprintf (and printf) > refers to a _double_. Given how little you have shown us it has to be > entirely guesswork, but is cel.GetIntensity(1) perhaps a float? If so > what happens is I believe undef

Re: [Rd] row.names in data.frame

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Don MacQueen wrote: > This looks like a good proposal to me, from an end-user's point of view. > > I have, from time to time, wished I could set row names to NULL. Not for > performance reasons, but because some aspect of my data, in combination with > how R handles row name

Re: [Rd] row.names in data.frame

2006-04-17 Thread Don MacQueen
This looks like a good proposal to me, from an end-user's point of view. I have, from time to time, wished I could set row names to NULL. Not for performance reasons, but because some aspect of my data, in combination with how R handles row names, was requiring me to explicitly manage them in s

Re: [Rd] slot named C

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Paul Gilbert wrote: Prof Brian Ripley wrote: On Mon, 17 Apr 2006, Paul Gilbert wrote: Ok, but I'm surprised. I thought partial matching only happened for named arguments. I guess I've been lucky. Here C is named, so what did you mean? Now I guess I've really been co

Re: [Rd] slot named C

2006-04-17 Thread Paul Gilbert
Prof Brian Ripley wrote: > On Mon, 17 Apr 2006, Paul Gilbert wrote: > >> Ok, but I'm surprised. I thought partial matching only happened for >> named arguments. I guess I've been lucky. > > Here C is named, so what did you mean? Now I guess I've really been confused. I thought named arguments

Re: [Rd] (PR#8777) strsplit does [not] return correct value when

2006-04-17 Thread ripley
Please use a current version of R: we are at 2.3.0RC (and we do ask you not to report on obselete versions). What rule are you using, and where did you find it in the R documentation? In fact > strsplit("", " ") [[1]] character(0) which is not as you stated. This is a feature, as it distinct

Re: [Rd] slot named C

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Paul Gilbert wrote: Ok, but I'm surprised. I thought partial matching only happened for named arguments. I guess I've been lucky. Here C is named, so what did you mean? Partial matching happens for all arguments called by name, except for those following ... in the forma

Re: [Rd] slot named C

2006-04-17 Thread Paul Gilbert
Ok, but I'm surprised. I thought partial matching only happened for named arguments. I guess I've been lucky. Paul Prof Brian Ripley wrote: > It's an error in your usage The args of new() are > >> args(new) > function (Class, ...) > > and what does 'C' match? You need to name your arguments

[Rd] strsplit does not return correct value when spliting "" (PR#8777)

2006-04-17 Thread charles . dupont
Full_Name: Charles Dupont Version: 2.2.0 OS: linux Submission from: (NULL) (160.129.129.136) when strsplit("", " ") returns character(0) where as strsplit("a", " ") returns "a". these return values are not constiant with each other. Charles Dupont ___

Re: [Rd] slot named C

2006-04-17 Thread Prof Brian Ripley
It's an error in your usage The args of new() are args(new) function (Class, ...) and what does 'C' match? You need to name your arguments here. On Mon, 17 Apr 2006, Paul Gilbert wrote: "C" appears to be an illegal name for a slot in an S4 class (example below). It is rather an example

[Rd] slot named C

2006-04-17 Thread Paul Gilbert
"C" appears to be an illegal name for a slot in an S4 class (example below). If this is a known limitation, and not a bug, it would be nice if it were caught by setClass. Paul Gilbert > setClass("testobj", representation ( C = "numeric")) [1] "testobj" > new("testobj", C= 2) Error in methodsP

Re: [Rd] Stack checking, core dumps, and embedding R

2006-04-17 Thread Thomas Friedrichsmeier
Excuse me please, for being impatient, but I'm worried this issue may not be considered important enough to be fixed in R 2.3.0 at this late point of time. So let me re-state this: In the current state, R will *not work at all* when run in a thread on linux. I do not know how many embedding app

Re: [Rd] Crash in de()

2006-04-17 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > > Juan Santiago Ramseyer <[EMAIL PROTECTED]> writes: > > > > > SYSTEM: > > > -- > > > CPU: AMD64 > > > MOTHERBOARD: ASUS > > > OS: FEDORA CORE 5 i64_86 > > > > > > R SESSION: > > > --

Re: [Rd] Crash in de()

2006-04-17 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Juan Santiago Ramseyer <[EMAIL PROTECTED]> writes: > > > SYSTEM: > > -- > > CPU: AMD64 > > MOTHERBOARD: ASUS > > OS: FEDORA CORE 5 i64_86 > > > > R SESSION: > > -- > > > teste<-list(a=c(1,2,3,4),b=c(2,4,6,8)) > > > teste > > $