Re: [Rd] R Bugs link broken

2008-01-11 Thread Peter Dalgaard
be wrong. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

Re: [Rd] xtable (PR#10553)

2008-01-07 Thread Peter Dalgaard
3.49 4.66 \\ \hline \end{tabular} \end{center} \end{table} -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL

Re: [Rd] x=.94 (PR#10529)

2007-12-27 Thread Peter Dalgaard
FALSE FALSE FALSE FALSE b==.94 [1] FALSE FALSE FALSE FALSE TRUE FALSE a-b [1] 0.00e+00 0.00e+00 0.00e+00 0.00e+00 1.110223e-16 [6] 1.110223e-16 [[alternative HTML version deleted]] *Sigh* FAQ 7.31 -- O__ Peter Dalgaard

Re: [Rd] Installation of RGtk2 (PR#10519)

2007-12-17 Thread Peter Dalgaard
with If you're on Windows... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45

Re: [Rd] Wrong length of POSIXt vectors (PR#10507)

2007-12-12 Thread Peter Dalgaard
. Given the way you define it, you should be able to imagine it! It's a list of length 9: sec, min, hour,..., isdst. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen

Re: [Rd] Adding a survival object to a data frame (PR#10510)

2007-12-12 Thread Peter Dalgaard
151 TRUE 151 detach(Aids2) The 'surv' column is strangely labelled 'x..i..'. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5

Re: [Rd] [EMAIL PROTECTED]: Re: range( dates, na.rm = TRUE )] (PR#10508)

2007-12-11 Thread Peter Dalgaard
[!is.na(x)] } c(min(x), max(x)) } environment: namespace:base Objects of class Date are not considered numeric, so we end up taking min and max without removing NA. One solution could be if (is.numeric(x) || inherits(x, Date) ){} -- O__ Peter Dalgaard Øster

Re: [Rd] range( dates, na.rm = TRUE ) (PR#10508)

2007-12-11 Thread Peter Dalgaard
(Drats! Jitterbug is playing tricks with the PR# again. Attempting to refile so that we can kill PR#10509) Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: --- Start of forwarded message --- Date: Tue, 13 Nov 2007 21:44:57 +0100 To: Steve Mongin [EMAIL PROTECTED] Cc: [EMAIL

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Peter Dalgaard
returning (tada!) the negative log likelihood function. (My version also has a cool formula interface and other bells and whistles, and I would love to get feedback from other useRs about it.) cheers Ben Bolker -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Peter Dalgaard
, (presumably a list of two) and organize that the calls to negl1 and negl2 contains the appropriate subdata. It is the sort of thing that might be doable, but you'd rather do without. -pd -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-06 Thread Peter Dalgaard
)) (fit3 - mle(ll3, start=list(lymax=0, lxhalf=0), fixed=list(x.=x, y.=y))) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] Wishlist: mention Vectorize in 'outer' man page (PR#10490)

2007-12-05 Thread Peter Dalgaard
Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: antonio fabio [EMAIL PROTECTED] on Tue, 4 Dec 2007 20:25:21 +0100 (CET) writes: --=_Part_13308_28087893.1196796187581 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer

Re: [Rd] Trivial formatting typo in summary(lm()) (PR#10480)

2007-12-05 Thread Peter Dalgaard
, truly trivial but perhaps it JR adds to the overall polish... JR -- Jeff __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] confint for coefficients from lm model (PR#10496)

2007-12-05 Thread Peter Dalgaard
... __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] Wishlist: mention Vectorize in 'outer' man page (PR#10490)

2007-12-05 Thread Peter Dalgaard
- 1:9; names(x) - x -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45

Re: [Rd] os x crash using rpanel and tcltk (PR#10495)

2007-12-05 Thread Peter Dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] NAs produced by integer overflow (PR#10482)

2007-12-01 Thread Peter Dalgaard
2.6.1 (2007-11-26) # - STG __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] Problem with points/lines (PR#10472)

2007-11-30 Thread Peter Dalgaard
Gavin Simpson wrote: On Thu, 2007-11-29 at 17:34 +0100, Peter Dalgaard wrote: Gavin Simpson wrote: On Thu, 2007-11-29 at 16:36 +0100, Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: Full_Name: Carlos Gershenson Version: 2.6.1 OS: MacOSX Submission from

Re: [Rd] Problem with points/lines (PR#10472)

2007-11-29 Thread Peter Dalgaard
.) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

Re: [Rd] Problem with points/lines (PR#10472)

2007-11-29 Thread Peter Dalgaard
Gavin Simpson wrote: On Thu, 2007-11-29 at 16:36 +0100, Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: Full_Name: Carlos Gershenson Version: 2.6.1 OS: MacOSX Submission from: (NULL) (24.128.48.138) Hi, Try this out: x-1:10 y-x/2 plot(table(x)) points(table(y)) #or lines

Re: [Rd] Postscript saving failed. (PR#10473)

2007-11-27 Thread Peter Dalgaard
not found in PostScript font database 2: font family not found in PostScript font database But it works fine with R 2.5.0. ...as well as 2.6.1! -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] unexpected result from reshape

2007-11-24 Thread Peter Dalgaard
) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

[Rd] 2.6.1 scheduled for November 26

2007-11-18 Thread Peter Dalgaard
troubles) by a cron job running at 4AM CET, and the tarballs can be picked up at http://cran.r-project.org/src/base-prerelease/ a little later. For the Core Team Peter Dalgaard -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] Col.names parameter in write.csv (PR#10411)

2007-11-09 Thread Peter Dalgaard
that the correct conventions are used to write a valid file. Attempts to change 'col.names', 'sep', 'dec' or 'qmethod' are ignored, with a warning. (I forget whether the warning bit is new in 2.6.x, though) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-07 Thread Peter Dalgaard
Jari Oksanen wrote: On Wed, 2007-11-07 at 10:51 +0100, Simone Giannerini wrote: [snip] (this is from pd = Peter Dalgaard) Maybe, but given the way things have been working lately, it might be better to emphasize (a) check the mailinglists (b) try R-patched (c) if in doubt, ask

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-06 Thread Peter Dalgaard
Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen

Re: [Rd] A suggestion for an amendment to tapply

2007-11-06 Thread Peter Dalgaard
/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] daylight saving / time zone issues with as.POSIXlt/as.POSIXct (PR#10392)

2007-11-01 Thread Peter Dalgaard
Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

Re: [Rd] slow tcl/tk

2007-10-31 Thread Peter Dalgaard
a little suspicious, but I haven't by far studied it well enough to say whether there might be a more efficient way.) Thanks in advance, Adrian -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] slow tcl/tk

2007-10-31 Thread Peter Dalgaard
experience too). Yes, I realized that there could be other consequences of the change in 2.6.0. Moved to R-core for internal discussions. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

Re: [Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-29 Thread Peter Dalgaard
Hin-Tak Leung wrote: Peter Dalgaard wrote: snipped You need x11() with a valid display to trigger the bug: [EMAIL PROTECTED] BUILD]$ ssh -Y 192.168.1.10 [EMAIL PROTECTED]'s password: Last login: Sat Oct 27 02:40:16 2007 from 192.168.1.11 [EMAIL PROTECTED] ~]$ echo $DISPLAY localhost:10.0

Re: [Rd] meaning of trim in mean()

2007-10-28 Thread Peter Dalgaard
). And why do you suppose the description for argument 'trim' is referring to 'values' of a different argument? It is telling you what happens for values of trim 0 or 0.5: that is not information that it is appropriate to excise. On Thu, 25 Oct 2007, Peter Dalgaard wrote: Liaw, Andy wrote

Re: [Rd] PR#10371

2007-10-26 Thread Peter Dalgaard
as they get fixed, and r-core cannot track the issues.) Thanks! Merlise -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-26 Thread Peter Dalgaard
Hin-Tak Leung wrote: Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: Full_Name: Christian Brechbuehler Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux Submission from: (NULL) (24.61.47.236) snipped Example (start R without DISPLAY from bash): % DISPLAY= R x11(localhost:11.0

Re: [Rd] R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)

2007-10-25 Thread Peter Dalgaard
Andrew Piskorski wrote: On Thu, Oct 25, 2007 at 12:19:13AM +0200, Peter Dalgaard wrote: Fedora 7 seems perfectly happy with -fpic, Well, Ubuntu 6.06 x86-64 sure seems to hate it, but all I know about -fpic vs. -fPIC is what I read here: http://gcc.gnu.org/onlinedocs/gcc-4.0.3

Re: [Rd] meaning of trim in mean()

2007-10-25 Thread Peter Dalgaard
- sort(rnorm(10)) mean(x,trim=.1) [1] -0.6387413 mean(x[2:9]) [1] -0.6387413 mean(x[c(2,2:9,9)]) # Winsorizing [1] -0.6204222 So yes, it is trimming, not Winsorizing, and the last sentence in the description of trim is misleading and should be, well..., trimmed. -- O__ Peter Dalgaard

Re: [Rd] append/concatenate an element to a list in C-language

2007-10-19 Thread Peter Dalgaard
require duplication mean(y) } x - rnorm(100) g(x) # duplication needed g(rnorm(100)) # duplication not needed Don't try anything involving destructive modification of objects before you have understood this! -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] R CMD build and et_EE.UTF-8 locale - invalid files (PR#10351)

2007-10-17 Thread Peter Dalgaard
possible to do it portably, and at any rate, packages should not come out different depending on the locale in which it was built.) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

Re: [Rd] bug (?) in [.data.frame with matrix-like indexing

2007-10-14 Thread Peter Dalgaard
time, the log for the relevant revision has make DF[, 1] and DF[1:m, 1] consistent (and it doesn't...) Uwe Ligges __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard

Re: [Rd] no visible binding

2007-10-12 Thread Peter Dalgaard
University of Illinois fax: 217-244-6678Champaign, IL 61820 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

[Rd] Bug repository temporarily stalled

2007-10-10 Thread Peter Dalgaard
realized it, the IT guys are working on a fix, so please have a little patience -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] R-2.6.0 package check problems

2007-10-09 Thread Peter Dalgaard
(the reply starts with Hmm!) and thus expecting that someone would know more than me and might chime In. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?

2007-10-09 Thread Peter Dalgaard
(dotTclObjv, objv, PACKAGE = tcltk), class = tclObj) : [tcl] invalid command name .1.2. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5

Re: [Rd] misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?

2007-10-09 Thread Peter Dalgaard
Peter Dalgaard wrote: David Firth wrote: I don't know whether this is specific to (my installation of) SUSE 10.1, or is more general. With R 2.6.0, I am finding that some widgets made through the tcltk package are having problems which become evident through scrollbar activity

Re: [Rd] modifying large R objects in place

2007-09-28 Thread Peter Dalgaard
Duncan Murdoch wrote: On 9/28/2007 7:45 AM, Petr Savicky wrote: On Fri, Sep 28, 2007 at 12:39:30AM +0200, Peter Dalgaard wrote: ... Longer-term, I still have some hope for better reference counting, but the semantics of environments make it really ugly -- an environment can

Re: [Rd] modifying large R objects in place

2007-09-27 Thread Peter Dalgaard
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL

Re: [Rd] Documentation bug: Section 3.3.2 of R-Lang. (PR#9928)

2007-09-26 Thread Peter Dalgaard
of proto-text style and need to be rephrased in ordinary English. What that particular paragraph was meant to describe is this: c(A=1)+c(b=2) A 3 c(A=1)+c(b=2,c=3) b c 3 4 c(1)+c(b=2) b 3 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread Peter Dalgaard
. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

Re: [Rd] Date vs date (long)

2007-09-17 Thread Peter Dalgaard
-- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

Re: [Rd] Date vs date

2007-09-14 Thread Peter Dalgaard
Yes. Also: this _is_ ambiguous, but does not cause an error as.Date(05-06-07) [1] 5-06-07 Not that it should or even could, but it demonstrates that the error message above is beside the point. Can you suggest a better wording? -- O__ Peter Dalgaard Øster

Re: [Rd] installing packages (PR#9907)

2007-09-12 Thread Peter Dalgaard
is called directly (texi2dvi and libtool) but I don't think that can give the error message you describe. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph

Re: [Rd] [Fwd: buglet (?) in de.restore()]

2007-09-10 Thread Peter Dalgaard
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] buglet in dist() ?

2007-09-02 Thread Peter Dalgaard
datasets methods [7] base other attached packages: bbmle nlme 0.7.7 3.1-84 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

[Rd] R 2.5.1 scheduled for October 3

2007-08-30 Thread Peter Dalgaard
midnight on the relevant days. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45

Re: [Rd] Change of compiler for Windows build of R

2007-08-15 Thread Peter Dalgaard
Henrik Bengtsson wrote: Thanks to both of you! /Henrik On 8/15/07, Duncan Murdoch [EMAIL PROTECTED] wrote: On 8/14/2007 2:52 AM, Prof Brian Ripley wrote: The MinGW people have finally released a couple of builds of gcc 4.2.1 Seconded. In particular, can we have a big round

Re: [Rd] [Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]

2007-08-15 Thread Peter Dalgaard
Ben Bolker wrote: Prof Brian Ripley wrote: On Tue, 14 Aug 2007, Peter Dalgaard wrote: Ben Bolker wrote: Petr Savicky savicky at cs.cas.cz writes: Could you also include a script, which reproduces the problem? Just to see under which conditions the problem

Re: [Rd] [Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]

2007-08-14 Thread Peter Dalgaard
Ben Bolker wrote: Petr Savicky savicky at cs.cas.cz writes: Could you also include a script, which reproduces the problem? Just to see under which conditions the problem occurs and how it looks like exactly. Petr Savicky. The original post has such a script, just under the

Re: [Rd] postscript bug? (PR#9803)

2007-07-23 Thread Peter Dalgaard
with multiple pages cannot be EPS. Try reading the help page for postscript again, this time ( ;-) ) paying attention to the 'onefile' argument. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] Bug in dev.print ? (PR#9801)

2007-07-21 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Ladies and Gentlemen, the following piece of code causes an annoying error: aa - structure(list(BG = c(24, 16, 61, 30, 37, 33, 13, 4, -34, + 10, 33, 41, 6, 32, 39, 37, 36, -17, 60, 35, 22, 21, 29, 52, + 41, 62, -26, 30, -33, 27, 34, 28, 36, 29, -12, 38,

Re: [Rd] Field initialization order bug?

2007-07-17 Thread Peter Dalgaard
in the first example, and you need a - list() or, better, a - vector(list, 2) To be precise, you need a - vector(list, 2) ; names(a) - c(field1, field2) or you end up with a 4-element list. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] substitute and expression

2007-07-17 Thread Peter Dalgaard
Deepayan Sarkar wrote: On 7/16/07, Peter Dalgaard [EMAIL PROTECTED] wrote: Deepayan Sarkar wrote: Hi, I'm trying to understand whether the use of substitute() is appropriate/documented for plotmath annotation. The following two calls give the same results: plot(1:10

Re: [Rd] error in trunc function (PR#9782)

2007-07-16 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Full_Name: Claudio Version: 2.5.1 OS: windows Submission from: (NULL) (157.138.120.198) the command get a wrong result trunc(2.3*100) 229 __ Not a bug, read FAQ 7.31 and the reference therein. -- O__ Peter Dalgaard Øster

Re: [Rd] substitute and expression

2007-07-16 Thread Peter Dalgaard
Deepayan Sarkar wrote: Hi, I'm trying to understand whether the use of substitute() is appropriate/documented for plotmath annotation. The following two calls give the same results: plot(1:10, main = expression(alpha == 1)) do.call(plot, list(1:10, main = expression(alpha == 1)))

Re: [Rd] Problem with {

2007-07-09 Thread Peter Dalgaard
-- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

Re: [Rd] R 2.5.1 - ?factor examples, details

2007-07-03 Thread Peter Dalgaard
François Pinard wrote: Hi, R people. In ?factor, in the Examples: section, we see: ## suppose you want NA as a level, and to allowing missing values. (x - factor(c(1, 2, NA), exclude = )) is.na(x)[2] - TRUE x # [1] 1NA NA, NA used because NA is a level. is.na(x) # [1]

Re: [Rd] make check for 2.5.1 RC fails on mbcsToSbcs in graphics

2007-06-27 Thread Peter Dalgaard
Prof Brian Ripley wrote: But R 2.5.0 does the same, and as far as I know R has done so for many past versions. You are asking the impossible: outputting Latin-1 in a Latin-2 environment. Remember that postscript() does not handle UTF-8, and so uses whatever it thinks the local 8-bit

Re: [Rd] Basic Question on error(_(...

2007-06-21 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: I'm sorry to bother this list with such trivial questions, but I'm trying to take Prof. Ripley's advice in porting some Lapack wrappers into my own code, because they are not public. I'm specifically choosing programs from R-2.5.0/src/modules/lapack/Lapack.c. I

Re: [Rd] Error in funcion distancia() in package dprep(v1.0) (PR#9745)

2007-06-20 Thread Peter Dalgaard
whether the bug is with R, or a contributed package. Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject line. -- O__ Peter Dalgaard Øster

Re: [Rd] Expected behavior from: all(c(NA, NA, NA) NA, na.rm = TRUE)?

2007-06-20 Thread Peter Dalgaard
Marc Schwartz wrote: Hi all, Came across this curious behavior in: R version 2.5.0 Patched (2007-06-05 r41831) A simplified example is: all(c(NA, NA, NA) NA, na.rm = TRUE) [1] TRUE Is this expected by definition? If one reduces this to individual comparisons, such as :

Re: [Rd] X11 help please

2007-06-19 Thread Peter Dalgaard
Duncan Murdoch wrote: Duncan Murdoch wrote: The rgl package currently crashes R when running under Xvfb (the virtual frame buffer server), at least on MacOSX. It makes sense that it shouldn't be able to work there (it needs interactivity), but I don't know how to detect the problems

Re: [Rd] Warning under R 2.6.0: Rd files with unknown encoding

2007-06-12 Thread Peter Dalgaard
John Fox wrote: Dear Brian, -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 7:45 AM To: John Fox Cc: r-devel@r-project.org Subject: Re: [Rd] Warning under R 2.6.0: Rd files with unknown encoding On Tue, 12 Jun 2007, John

Re: [Rd] Quoting

2007-05-22 Thread Peter Dalgaard
Vladimir Dergachev wrote: I think DTL's suggestion would be most useful when putting a lot of code in a string, where the escapes make the code harder to read. For example, just about any function using a complicated regular expression. Also anything using .Tcl(). Quotes in data frame

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: By the way, the R program itself is really badly in need of an appropos() to go alongside help(). Perhaps help() can be renamed to hunt() or huntAndPeck(). help.search(appropos) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Peter Dalgaard
John Fox wrote: Dear, My spelling correction was poorly phrased, since there are actually two p's in apropos, but there aren't two adjacent p's. I agree that a reference to apropos on the help page for help is a good idea. Of course, except that it is unclear that the original post

Re: [Rd] integer constants given by hexadecimal notation (PR#9648)

2007-05-01 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: On 01/05/2007 7:21 AM, Stephan wrote: Hi, 0x10L returns: int 0 I would expect: int 16? This happens with all integer constants given by hexadecimal notation. It's a bug? Certainly looks like one; I've cc'd this to the bug list (but won't

Re: [Rd] Nonexistent URL in R_ext/Callbacks.h

2007-05-01 Thread Peter Dalgaard
Jeffrey Horner wrote: There's no RObjectTables.pdf at developer.r-project.org. I included the Omegahat URL from the attach help page: nonexistent I took the quicker approach and copied the PDF file to R-dev-web SVN repo. Should turn up on the website on next mirroring. -pd Index:

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Peter Dalgaard
/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45

Re: [Rd] typo in R-exts

2007-04-17 Thread Peter Dalgaard
Prof Brian Ripley wrote: I prefer 'svn praise' myself. Or 'svn annotate'. I think it depends on what I'm looking for, plus the risk that the author (perpetrator, contributor) might be me __ R-devel@r-project.org mailing list

Re: [Rd] R on Solaris 10 x64

2007-04-13 Thread Peter Dalgaard
Prof Brian Ripley wrote: What did the maintainer of this unmentioned contributed package (hdf5) say when you ask him? [Hint: you *have* read the posting guide at http://www.r-project.org/posting-guide.html and done as it asks?] There is no evidence here that this is anything to do with

Re: [Rd] R on Solaris 10 x64

2007-04-13 Thread Peter Dalgaard
Greg Nakhimovsky wrote: Peter, Thanks for the hints. 2 things caught my eye (except that their R code is clearly C): The dbx output doesn't show off[curr_seq], which could actually be the culprit, (dbx) p off[curr_seq] off[curr_seq] = 0 and the _memcpy call on the stack looks odd:

Re: [Rd] eigen in beta

2007-04-11 Thread Peter Dalgaard
Paul Gilbert wrote: Peter Dalgaard wrote: Well, there's make check-all... Ok, this is what I should be running. It reports running tests of LAPACK-based functions make[3]: Entering directory `/home/mfa/gilp/toolchain/R/src/R-beta/tests' running code in 'lapack.R

Re: [Rd] buglet in terms calculations

2007-04-08 Thread Peter Dalgaard
Robert Gentleman wrote: Hi, Vince and I have noticed a problem with non-syntactic names in data frames and some modeling code (but not all modeling code). The following, while almost surely as documented could be a bit more helpful: m = matrix(rnorm(100), nc=10) colnames(m) =

Re: [Rd] Orphaned ncvar? (PR#9603)

2007-04-07 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: An orphaned package? anyone in Switzerland know if there's an alternative? Note the email. I guess CRAN-R should be notified. regards, Bob C This appears confused. Where is the bug in R? I have difficulties seeing even what it is you're trying to achieve,

Re: [Rd] Bridging R to OpenOffice

2007-03-28 Thread Peter Dalgaard
that there is an existing tcluno package. This might be made accessible from R's tcltk package. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] Bridging R to OpenOffice

2007-03-28 Thread Peter Dalgaard
Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

[Rd] R 2.5.0 slated for April 24

2007-03-19 Thread Peter Dalgaard
after midnight on the relevant days. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED

Re: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch

2007-03-16 Thread Peter Dalgaard
Seth Falcon wrote: [EMAIL PROTECTED] writes: Investigating this new implementation I come across an issue in conjuntion with using S4 classes and methods. try(expr) does not return an object with attribute 'try-error' in case of method dispatch failure in the wrapped expression which to

Re: [Rd] Incorrect matrix of spearman correlations .... in 64-bit Linux ... (PR#9568)

2007-03-16 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Full_Name: Vladimir Obolonkin Version: tested in 2.0 to 2.4.1 OS: linux, win, mac Submission from: (NULL) (202.14.96.194) {{ Subject shortened manually -- to pass anti-spam filters Original-subject: Incorrect matrix of spearman correlations working \

Re: [Rd] compile 2.4.1 for linux on power cpus

2007-03-14 Thread Peter Dalgaard
Andrew Ferris wrote: Hello, I've been asked to get R (2.4.1) installed on a IBM p570 server. This is a server with power CPUs and is running SLES 10. It currently has 12GB of RAM so I'd like to make sure I have the 64 bit version of R so as to take advantage of the extra memory. Since

Re: [Rd] compile 2.4.1 for linux on power cpus

2007-03-14 Thread Peter Dalgaard
Andrew Ferris wrote: Thank you for the reply Peter. I've compiled R from source using the following: ./configure --host=powerpc64-power5-linux-gnu --build=powerpc64-power5-linux-gnu '--with-blas=-framework blas-3.1.0-11' and after I've made R I get this: .Machine$sizeof.pointer

Re: [Rd] bug: sticky symbol refs? (PR#9555)

2007-03-06 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Hello. What happens in the following is that I create two simple functions, f and g, on the workspace. Then I replace g. When I then call f, it uses the old version of g. Now clearly, the circumstances for this to happen must be quite special and rare. But I'd say

Re: [Rd] Help with row.names = as.integer(c(NA, 5)) in file from dput

2007-02-28 Thread Peter Dalgaard
Mike Prager wrote: I am trying to understand why syntax used by dput() to write rownames is valid (say, when read by dget()). I ask this because I desire to emulate its actions *reliably* in my For2R routines, and I won't be comfortable until I understand what R is doing. Given data set

Re: [Rd] Help with row.names = as.integer(c(NA, 5)) in file from dput

2007-02-28 Thread Peter Dalgaard
= data.frame) - dput(dd,control=all) structure(list(x = c(1.19894055844457, -0.476584995973736, 1.90525643132169, -0.726616166810353, 0.590506316214127)), .Names = x, row.names = as.integer(c(NA, 5)), class = data.frame) --Mike Peter Dalgaard [EMAIL PROTECTED] wrote: Mike Prager wrote

Re: [Rd] obscure error with subsetting as.list() of a function then assigning that a (PR#9500)

2007-02-08 Thread Peter Dalgaard
infor...{{dropped}} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] Metapost device driver

2007-02-06 Thread Peter Dalgaard
is OK */ EXTDEF(PDF, 13), I just picked 12, is this Ok, or does it have some special significance? You seem to have missed the 2nd part of Brian's reply: Yes, it is significant, and not magic: it's the argument count. -- O__ Peter Dalgaard Øster

Re: [Rd] Wrong vector size reported by error message

2007-02-05 Thread Peter Dalgaard
Oleg Sklyar wrote: my R-SVN revision is 40458 compared to 40386 yours, could it be corrected already? * ~: R 2**30 [1] 1073741824 a-2:1073741824 Error: cannot allocate vector of size 4194304 Kb There could be system dependencies. I get a-2:1073741824 a-2:(2**30) gc()

Re: [Rd] possible bug: dev.copy / could not find any X11 fonts

2007-01-31 Thread Peter Dalgaard
Tamas K Papp wrote: Hi, I am experiencing something strange, and thought I would ask before reporting a bug. I trimmed it down to a self-contained example, attached as an R file. The purpose of the functions is to save the plots into a ps file and simultaneously plot them on an x11 device,

Re: [Rd] Error in loadNamespace(name) (PR#9464)

2007-01-25 Thread Peter Dalgaard
, package:base __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] is it necessary to always register C routines with R_registerRoutines?

2007-01-24 Thread Peter Dalgaard
-exts.pdf, however, it crashes R. Page numbers depend on what paper it is formatted for, but on A4 this is nothing like the example on page 77. p.72 in the current PDF version on CRAN was probably intended (77th page incl. front matter) -p -- O__ Peter Dalgaard

Re: [Rd] C vs. C++ as learning and development tool for R

2007-01-20 Thread Peter Dalgaard
Roger Bivand wrote: Just [use] MinGW like R [does], following the guides to the letter gets you there like marked stones across a marsh. Leaving the path usually gets you at best neck deep in the mire, alternatively just bubbles. That's the strongest contender for a space in the fortune file

<    5   6   7   8   9   10   11   12   >