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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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 \

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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] 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 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] 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] R-devel (2.14 alpha) Windows binary

2011-10-05 Thread Peter Dalgaard
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads

Re: [Rd] No R-2.14 beta executable for windows?

2011-10-19 Thread peter dalgaard
releases from a mirror is a bit of a contradiction in terms anyways, because of the mirroring delays. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] minor typos

2011-10-29 Thread peter dalgaard
use the normal precautions with downloaded executables. -- should be Although ... I'll leave that one for the CRAN masters -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk

Re: [Rd] Error in documentation of merge

2011-11-04 Thread peter dalgaard
; Œall = L‚ is shorthand for Œall.x = L‚ and Œall.y = L‚. The L should be a T or a TRUE. I think it's on purpose: L indicates a logical value, TRUE _or_ FALSE. -pd -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [Rd] cygwin R-2.14.0 build fail

2011-11-12 Thread peter dalgaard
://lists.sourceforge.net/lists/listinfo/cygwin-ports-general __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [Rd] cygwin R-2.14.0 build fail

2011-11-16 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [Rd] strange behavior from cex=*

2011-11-16 Thread peter dalgaard
-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] round() ignores missing arguments if it is used inside another function where some arguments are missing.

2011-11-19 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
, there aren't any side effects in the forme case, but R loses track and assumes the worst. Thanks! Matthew __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
up invoking user code, possibly via a class method, you can't tell definitively whether or not the evaluation environment dies at the return. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
in both places -- z or x.) There are many of these cases where you might pragmatically want to override the default NAMED logic, but you'd be stepping into treacherous waters. Luke has probably been giving these matters quite some thought in connection with his compiler project. -- Peter Dalgaard

Re: [Rd] 32 vs 64 bit difference?

2011-11-26 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Standardizing included packages

2011-11-30 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv

Re: [Rd] bug in rank(), order(), is.unsorted() on character vector

2011-12-07 Thread peter dalgaard
://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing

Re: [Rd] bug in sum() on integer vector

2011-12-14 Thread peter dalgaard
wouldn't know whether it matters in practice for anyone. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R

Re: [Rd] problems with iconv

2011-12-14 Thread peter dalgaard
-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] bug in sum() on integer vector

2011-12-15 Thread peter dalgaard
On Dec 15, 2011, at 02:51 , Hervé Pagès wrote: Hi Peter, On 11-12-14 08:19 AM, peter dalgaard wrote: On Dec 14, 2011, at 16:19 , John C Nash wrote: Following this thread, I wondered why nobody tried cumsum to see where the integer overflow occurs. On the shorter xx vector

Re: [Rd] Speed issue when writing to RGui console from tcl/tk GUI

2011-12-20 Thread peter dalgaard
, if you have any insight as to what is happening or fixes, I'd be interested to know. Regards, Richie. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter

Re: [Rd] lubridate does not install on FreeBSD any more

2012-01-11 Thread peter dalgaard
is going on here? I think that should be rather obvious. It tries to modify/define a base function and no longer gets away with that bit of bad programming citizenship. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-18 Thread peter dalgaard
LATIN SMALL LETTER U WITH DIAERESIS -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r

Re: [Rd] factor S4 class is NA when as.character method exists

2012-01-23 Thread peter dalgaard
]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread peter dalgaard
)) is not. However, pmax(0, 1 - (x^2 + y^2)) is (unless 0-length x,y is an issue). But of course, Duncan is right: It is a bug if you can't take the square root of negative zero. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [Rd] Typo in NEWS: -as-cran should be --as-cran

2012-02-29 Thread peter dalgaard
, but that is hardly the case this time.) /Henrik __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [Rd] Substitute adds id attribute?

2012-03-20 Thread peter dalgaard
/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] Why is there no within.environment function?

2012-03-21 Thread peter dalgaard
. -- 4dpiecharts.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter

Re: [Rd] .Call ref card [was Re: R-devel Digest, Vol 109, Issue 22]

2012-03-22 Thread peter dalgaard
...@iib.uam.es http://ligarto.org/rdiaz __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [Rd] CRAN policies

2012-03-29 Thread peter dalgaard
://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org

Re: [Rd] unexpectedly high memory use in R 2.14.0

2012-04-11 Thread peter dalgaard
deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [Rd] delayedAssign changing values

2012-04-26 Thread peter dalgaard
that some trickery is used in order to make the situation visible. I agree that the example looks a bit out of place, though. Perhaps there ought to be a help page on lazy evaluation and a reference to it? (Any volunteers?) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-06 Thread peter dalgaard
list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R

Re: [Rd] An extreme quantile of the geometric distribution

2012-06-29 Thread peter dalgaard
(), but there's no check that the result is positive. qnbinom(, size=1) is equivalent and does get right, by the way. -pd Best regards, Michaël __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter

Re: [Rd] An extreme quantile of the geometric distribution

2012-06-30 Thread peter dalgaard
:50 +0200, peter dalgaard pda...@gmail.com wrote: On Jun 28, 2012, at 22:49 , michael.bau...@contrib.scilab.org michael.bau...@contrib.scilab.org wrote: Hi, With R version 2.10.0 (2009-10-26) on Windows, I computed the p=1.e-20 quantile of the geometric distribution with parameter prob=0.1

Re: [Rd] installing spam package is failing (spam_0.29-1)

2012-07-18 Thread peter dalgaard
-is-failing-spam-0-29-1-tp4636628p4636918.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen

<    1   2   3   4   5   6   7   8   9   10   >