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

2007-07-23 Thread Peter Dalgaard
ir-pulling to figure out. I sure hope it is a genuine bug. :-) ) > It isn't a bug. It is as it should be, because a plot file with multiple pages cannot be EPS. Try reading the help page for postscript again, this time ( ;-) ) paying attention to the 'onefile' argument. --

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

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 hav

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 cs.cas.cz> writes: >>>> >>>> >>>> >>

[Rd] R 2.5.1 scheduled for October 3

2007-08-30 Thread Peter Dalgaard
ile this is also done automatically by a cron job which runs just 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

[Rd] ****R 2.6.0**** scheduled for October 3

2007-08-31 Thread Peter Dalgaard
D'oh! There's always one more item to update.... Peter Dalgaard wrote: > This is to announce that we plan to release R version 2.6.0 on Wednesday > October 3, 2007. The following information is mainly for developers, > package maintainers and repository maintainers. > >

Re: [Rd] within in R 2.6.0dev is not found

2007-09-01 Thread Peter Dalgaard
in Sendingtests/reg-tests-2.Rout.save Transmitting file data . Committed revision 42714. So it is hardly surprising that it is not in 42709 > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinf

Re: [Rd] buglet in dist() ?

2007-09-02 Thread Peter Dalgaard
"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/

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

2007-09-10 Thread Peter Dalgaard
S.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C > > attached base packages: > [1] "stats" "graphics"

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

2007-09-12 Thread Peter Dalgaard
ame places. There are a few other places where pwd 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

Re: [Rd] Date vs date

2007-09-14 Thread Peter Dalgaard
. > Not important to fix, not something that date does any better. > > >> as.Date('09Sep2007') >> > Error in fromchar(x) : character string is not in a standard unambiguous > format > > > Yes. Also: this _is_ ambiguous, but do

Re: [Rd] Date vs date

2007-09-15 Thread Peter Dalgaard
n. Er, _diff_time objects do have a well-defined origin at zero. Taking square roots (or exp, or...) of a number which could be weeks as well as days is the real issue, I think. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatisti

Re: [Rd] Date vs date (long)

2007-09-17 Thread Peter Dalgaard
for other people to use have been bad: Cobol, > PL/I, Pascal, Ada, C++. The good languages have been those that were designed > for their own creators: C, Perl, Smalltalk, Lisp. (Paul Graham) > Each of those that I know had its share of trouble with users who relied on

Re: [Rd] delayedAssign

2007-09-19 Thread Peter Dalgaard
e user level. Luke? >> R.version.string # Vista >> > [1] "R version 2.6.0 alpha (2007-09-06 r42791)" > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > --

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

2007-09-23 Thread Peter Dalgaard
, package:methods, > Autoloads, package:base > > John Maindonald email: [EMAIL PROTECTED] > phone : +61 2 (6125)3473fax : +61 2(6125)5549 > Centre for Mathematics & Its Applications, Room 1194, > John Dedman Mathematical Sciences Building (Building 27) &

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

2007-09-26 Thread Peter Dalgaard
ist > https://stat.ethz.ch/mailman/listinfo/r-devel > Several bits of the document have that kind 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

Re: [Rd] modifying large R objects in place

2007-09-27 Thread Peter Dalgaard
he evaluation frame of ncol(). A full(er) reference counting system might drop NAMED back to 1 when exiting ncol(), but currently, R can only count up (and trying to find the conditions under which it is safe to reduce NAMED will make your head spin, believe me! ) > Petr Savicky. >

Re: [Rd] modifying large R objects in place

2007-09-27 Thread Peter Dalgaard
row(x) and dim(x). Currently > a <- matrix(1:6,nrow=2) > nrow(a,a) # Error in nrow(a, a) : unused argument(s) (1:6) > dim(a,a) # Error: 2 arguments passed to 'dim' which requires 1 > > May be, also other solutions exist. > > Petr Savicky. > > __

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

Re: [Rd] R-2.6.0 package check problems

2007-10-09 Thread Peter Dalgaard
I was clearly speculating (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 (*) \(*) -- Unive

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". > > Error in structure(.External("dotTclObjv", objv, PACKAGE > = "tcltk"), class = "tclObj") : >

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 w

[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) 353

Re: [Rd] no visible binding

2007-10-12 Thread Peter Dalgaard
l[EMAIL PROTECTED] Department of Economics > vox: 217-333-4558University of Illinois > fax: 217-244-6678Champaign, IL 61820 > > __ > R-devel@r-project.org mailing list > https://s

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

2007-10-14 Thread Peter Dalgaard
g 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] R CMD build and et_EE.UTF-8 locale -> invalid files (PR#10351)

2007-10-17 Thread Peter Dalgaard
cale. > > The micEcon package is available at CRAN. > > I'm not sure what to do about it, but I'm 99% sure that what is biting you is that Estonian sorts z before t, and something somewhere is using a regexp containing a-zA-Z. Presumably, R CMD build should just standardize

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

2007-10-19 Thread Peter Dalgaard
W we have to duplicate y or the subassignment will change x Notice that this appears in disguised forms: g <- function(y) { y[1] <- 0 # MAY require duplication mean(y) } x <- rnorm(100) g(x) # duplication needed g(rnorm(100)) # duplication not needed Don't try anything involvi

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

2007-10-24 Thread Peter Dalgaard
t; *) > - fcpicflags="-fpic" > + fcpicflags="-fPIC" >;; >esac > fi > > Fedora 7 seems perfectly happy with -fpic, and that patch looks unhealthy (for one thing, you shouldn't mess with that script directly, b

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

2007-10-24 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 her

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

2007-10-25 Thread Peter Dalgaard
e in the description of "trim" is misleading and should be, well..., trimmed. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] PR#10371

2007-10-26 Thread Peter Dalgaard
mechanism whereby package maintainers can refile reports 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

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

2007-10-26 Thread Peter Dalgaard
display, width, height, pointsize, if (is.null(gamma)) 1 else gamma, : unable to start device X11 In addition: Warning message: In x11(":1") : unable to open connection to X11 display ':1' > x11(":0") Error: Couldn't find per display information > _

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) >>> >>> > >>> Example (

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

2007-10-28 Thread Peter Dalgaard
>>>> computed. >>>> >>>> The description in "trim" to me sounds like Windsorizing, rather than >>>> trimming. Should that be edited? >>>> >>>> >>>> >>> I think so: >>> >>>

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

2007-10-29 Thread Peter Dalgaard
Hin-Tak Leung wrote: > Peter Dalgaard wrote: > >> 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.

Re: [Rd] slow tcl/tk

2007-10-31 Thread Peter Dalgaard
7;s certainly a lot of eval(parse(...)) stuff going on. (This sort of code always makes me 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

Re: [Rd] slow tcl/tk

2007-10-31 Thread Peter Dalgaard
.6.0 (which seems to be Adrian's 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/ /'_ --- Dep

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

2007-11-01 Thread Peter Dalgaard
ST" > [9] "2006-11-03 12:38:47 MST" "2006-11-04 12:38:47 MST" > [11] "2006-11-05 12:38:47 MST" "2006-11-06 12:38:47 MST" > > # *** wrong switch in 2007 *** > > as.POSIXct("2007-10-30 12:38:47")+(-4:7)*(24*3600) > [1]

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

2007-11-06 Thread Peter Dalgaard
t;>>> Graphics window. >>>>> >>>>> 2. I checked, but did not see any other bug reports in the system that >>>>> are >>>>> relevant to this problem. >>>>> >>>>> 3. Before I submitted this R

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

2007-11-06 Thread Peter Dalgaard
> together. Arguably, tapply and any other function that has a non-NA >>> response to the empty set will also work better together. >>> Furthermore, tapply shows a warning if FUN would normally show a >>> warning upon being evaluated on an empty set. That deviates from >

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

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

2007-11-09 Thread Peter Dalgaard
f 'row.names = TRUE' and 'TRUE' otherwise. . These wrappers are deliberately inflexible: they are designed to ensure that the correct conventions are used to write a valid file. Attempts to change 'col.names', 'sep', 'dec' or 'qmethod

[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/ /'_ --- Dep

Re: [Rd] unexpected result from reshape

2007-11-24 Thread Peter Dalgaard
_ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 2 > minor 6.0 > year 2007 > month 10 > day03 > svn rev43063 > lang

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

2007-11-27 Thread Peter Dalgaard
tion: Warning messages: > 1: font family 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/ /

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

2007-11-29 Thread Peter Dalgaard
as promised you that lines and point methods should exist. It could be taken as an enhancement request.) > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- O__ Peter Dalgaard

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) >>&g

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

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

2007-12-01 Thread Peter Dalgaard
> version.string R version 2.6.1 (2007-11-26) > # - > > STG > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > --

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: >>>>>>> >>>>>>> &

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

2007-12-05 Thread Peter Dalgaard
e: 3.103e-12 > > JR> Perhaps they both ought to be lowercase? Again, truly trivial but > perhaps it > JR> adds to the overall polish... > > JR> -- Jeff > > __ > R-devel@r-project.org mailing list > htt

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

2007-12-05 Thread Peter Dalgaard
unk.model) [,1] [,2] [,3] [1,] 0.5525259 NA -0.5525259 [2,] NA NA NA [3,] -0.5525259 NA 0.6906574 which is not massively hard to achieve. Alternatively we could just skip the aliased coefficients. For GLMs we definitely do not want to profile them.

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

2007-12-05 Thread Peter Dalgaard
sed on \code{outer}. + \code{\link{kronecker}} which is based on \code{outer}; + \code{\link{Vectorize}} for vectorizing a non-vectorized function. } \examples{ x <- 1:9; names(x) <- x -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of B

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

2007-12-05 Thread Peter Dalgaard
gt; evidence of similar issues from searching the mailing lists. Any > suggestions would be appreciated. > > Can you run this under gdb? A breakpoint in the error handler and a backtrace could be valuable. > Aaron > > __ > R-devel@r

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

2007-12-06 Thread Peter Dalgaard
list(x.=x, y.=y))) > > ll3 <- function(lymax=log(15), lxhalf=log(6), x., y.) > -sum(stats::dpois(y., > lambda=exp(lymax)/(1+x./exp(lxhalf)), log=TRUE)) > (fit3 <- mle(ll3, start=list(lymax=0, lxhalf=0), > fixed=list(x.=x, y.=y))) > > __

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

2007-12-07 Thread Peter Dalgaard
efault method being function(object,...) mle(minuslogl(obj)) and minuslogl is an extractor function 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 >

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

2007-12-07 Thread Peter Dalgaard
s have their their data as an argument, you also need to also automatically define a data argument fot negljoint, (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

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

2007-12-11 Thread Peter Dalgaard
you can provide. >> > > This is really a question for r-devel or r-bugs, I think, but not for > the CRAN maintainers. > > I would think it is a bug. Perhaps simply file a bug report? > > Again? ;-) The bug is here: > range.default function (..., na.rm = FAL

Re: [Rd] range( , 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 &

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

2007-12-12 Thread Peter Dalgaard
(right) > > length(tv) > # returns 9 (wrong) > > I have tried that on several computers with/without switching to English > locales, i.e. Sys.setlocale("LC_TIME", "en"). I have searched a help pages > but I > cannot imagine how that could be OK. > >

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

2007-12-12 Thread Peter Dalgaard
>> 16 132 TRUE 132 >> 17 527 TRUE 527 >> 18 581 FALSE 581+ >> 19 511 FALSE 511+ >> 20 151 TRUE 151 >> >> detach(Aids2) >> >> The 'surv' column is strangely labelled 'x..i..'. >> >>

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

2007-12-17 Thread Peter Dalgaard
This is a package problem, not an issue in R itself, hence you should not use the bug report interface. However, the error indicates reliance on an external library, which you presumably haven't got, so retrying is not going to help anything. You probably need to go to http://www.ggobi.org/rgtk2/ a

Re: [Rd] The XO laptop from the One Laptop Per Child (OLPC) program

2007-12-17 Thread Peter Dalgaard
es that you overflow the 1GB solid-state disk. -- 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] Fortran 90 and Windows

2007-12-18 Thread Peter Dalgaard
ercial compilers like the ones from Intel. Brian Ripley and/or http://cran.r-project.org/doc/manuals/R-exts.html can fill you in on the details. See also Brian's reply to John Fox on December 9 ("I wouldn't let that deter you."). -- O__ Peter Dalgaard

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

2007-12-27 Thread Peter Dalgaard
e+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 Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 209

Re: [Rd] parse() does not complain for not finished strings?

2007-12-28 Thread Peter Dalgaard
ing per se that does it: > parse(text=msg) Error in parse(text = msg) : unexpected end of input in "text <- "some incomplete string" but it happens whenever you parse from a file or connection e.g. $ cat > xxx "incom $ R [] > source("xxx") >

Re: [Rd] nls (with SSlogis model and upper limit) never returns (PR#10544)

2008-01-04 Thread Peter Dalgaard
Simply calling "model <- nls(y ~ SSlogis(x, asym, xmid, scal), data=values)" > also works, but this does not use the upper bound for the asym parameter, > which > was the point. > > "Linux" is not a good enough description of your platform. This

Re: [Rd] xtable (PR#10553)

2008-01-07 Thread Peter Dalgaard
amp; 97.5 \% \\ \hline (Intercept) & 9.20 & 8.56 & 9.84 & $-$0.41 & $-$1.85 & 1.02 \\ SexM & 2.12 & 1.34 & 2.90 & $-$0.08 & $-$0.68 & 0.52 \\ & & & & 4.08 & 3.49 & 4.66 \\ \hline \end{tabular} \end{center} \end{table}

Re: [Rd] R Bugs link broken

2008-01-11 Thread Peter Dalgaard
e posting guide has ...#R-Bugs as the link, and that goes to the relevant section of the FAQ. The ...#R%20Bugs goes to the top of the FAQ. So I'd say that things are as they should be and anything else would be wrong. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

Re: [Rd] %s in filename when opening device causes crash (PR#10571)

2008-01-14 Thread Peter Dalgaard
ally on Windows), and the list of possible > errors that might cause a crash is rather long. > > It has been considered as a vulnerability, but there seems no simple > solution. > > Yes. The problem is of course that we do want a sprintf() format there for "Rplot%03d.pd

Re: [Rd] Pb with defineVar() example in the "Writing R Extensions" manual

2008-01-16 Thread Peter Dalgaard
e right. You don't really have the "smoking gun", but it doesn't seem to be worth trying to catch the actual bug in action with hardware watchpoints and whatnot. The opposite fix should work too (does it?): { SEXP sym = install(somekey) ; defineVar(sym, mkans(x), rho);} (I don't

Re: [Rd] %s in filename when opening device causes crash (PR#10571)

2008-01-16 Thread Peter Dalgaard
the R wrapper functions, the regex for bad inputs is > fairly straightforward "%[#[:blank:]\\+\\-]*[[:digit:]]*[sn]". > Not quite. The floating point formats are also problematic; you may fetch 8 bytes where only 4 was allocated. Also, %%s should not be forbidden. Anyways, I b

Re: [Rd] Pb with defineVar() example in the "Writing R Extensions" manual

2008-01-16 Thread Peter Dalgaard
Herve Pages wrote: > Hi Peter, > > Peter Dalgaard wrote: > >> Herve Pages wrote: >> >>> Hi, >>> >>> I'm wondering if this code from the "Writing R Extensions" manual >>> is really safe: >>> >

Re: [Rd] Pb with defineVar() example in the "Writing R Extensions" manual

2008-01-16 Thread Peter Dalgaard
Luke Tierney wrote: > On Wed, 16 Jan 2008, Peter Dalgaard wrote: > >> Herve Pages wrote: >> Hi Peter, >> >> Peter Dalgaard wrote: >> >>> Herve Pages wrote: >>> >>>> Hi, >>>> >>>> I'm wondering if this co

Re: [Rd] Pb with defineVar() example in the "Writing R Extensions" manual

2008-01-16 Thread Peter Dalgaard
Herve Pages wrote: > Peter Dalgaard wrote: >> >> That's not the problem you raised (argument evaluation order), but >> there's a CONS inside defineVar, and as far as I can see, it doesn't >> protect its arguments, so you could well be right. >>

Re: [Rd] Wishlist- Windows Gui (PR#10589)

2008-01-18 Thread Peter Dalgaard
asily and >> appropriately done through a GUI. >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > __ >

Re: [Rd] Updating library

2008-01-19 Thread Peter Dalgaard
; tend to write over the prior directory if its just an upgrade involving >> the last digit of the R version. >> >> >>> R.version.string >>> >> [1] "R version 2.6.1 Patched (2007-12-06 r43610)" >> >> How should I go about updating lattice and the VR

Re: [Rd] read.table: wrong error message? (PR#10592)

2008-01-21 Thread Peter Dalgaard
ne - - > 1 pp---ql-rp-pp i 2 25.99 7 False 282 200 261.5322 1 0 2/3 True na None None > None 1 0 1 3 135 - - 1 None - - > 1 pp---ql-rp-pp i 3 25.99 7 False 282 83 261.5322 1 0 0/3 True na None None > None 1 0 1 3 135 - - 1 None - - > > --Apple-Mail-44--797532055-- > >

Re: [Rd] gctorture and proc.time (PR#10600)

2008-01-21 Thread Peter Dalgaard
v") : > non-numeric argument to binary operator > > This does not happen in R version 2.4.1 (2006-12-18) > > I was going to have my computing class try out --use-gct. > I guess not until this is fixed. > > I can reproduce this on SUSE 10.2 64 bit and Fedora 7 64 bit

Re: [Rd] Distributing R Programs

2008-01-28 Thread Peter Dalgaard
you find out. -- 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])

[Rd] R 2.6.2 scheduled for February 8

2008-01-30 Thread Peter Dalgaard
://www.pubhealth.ku.dk/~pd/R-pre ) For the Core Team 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 ~~ - ([

Re: [Rd] strftime fails on POSIXct objects (PR#10695)

2008-02-04 Thread Peter Dalgaard
es)] == 0)) > "%Y-%m-%d" > else if (np == 0) > "%Y-%m-%d %H:%M:%S" > else paste("%Y-%m-%d %H:%M:%OS", np, sep = "") > } > .Internal(format.POSIXlt(x, format, usetz)) > } > > > >

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Peter Dalgaard
Some kind of callback getting lost? Hmm, I do actually see something like it when _resizing_ the window: > Error in grid.Call.graphics("L_text", as.graphicsAnnot(x$label), x$x, : REAL() can only be applied to a 'numeric', not a 'char' In addition: Warning

Re: [Rd] [R] 2.6.2 RC

2008-02-07 Thread Peter Dalgaard
.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Bio

Re: [Rd] xspline(..., draw=FALSE) fails if there is no open device (PR#10727)

2008-02-08 Thread Peter Dalgaard
sion.string = R version 2.6.2 RC (2008-02-07 r44369) > > Locale: > LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C

Re: [Rd] bad variable names when printing a data frame containing a matrix (PR#10730)

2008-02-09 Thread Peter Dalgaard
.adiposity x.famhist x.typea x.obesity x.alcohol > The reason seems to be that format.AsIs is losing dimnames. That could be easily fixed -- unless I'm overlooking something? -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostati

Re: [Rd] Problem with fitdistr function while estimating parameters

2008-02-09 Thread Peter Dalgaard
Aswad Gurjar wrote: > Hello, > > I am using fitdistr function for parameter estimation. > When I use > fd<-fitdistr(V2,"gamma") > I get following error: > Please do not post to multiple lists. This is a usage question, not a development one. -- O__ ---

Re: [Rd] .. printing a data frame containing a matrix (PR#10730)

2008-02-09 Thread Peter Dalgaard
Peter Dalgaard wrote: > [EMAIL PROTECTED] wrote: > >> library(glmpath) >> data(heart.data) >> # heart.data is a list, $y a vector, $x a matrix >> data <- data.frame(x=I(heart.data$x), y = heart.data$y) >> >> >>> data[1:2,] >>&g

Re: [Rd] View() + "End" key on Ubuntu=segfault

2008-02-10 Thread Peter Dalgaard
methods 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

[Rd] Namespace/method oddity

2008-02-12 Thread Peter Dalgaard
has in fact been discussed at some point and that I just wasn't paying attention...) -- 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] Is rcompgen still recommended?

2008-02-18 Thread Peter Dalgaard
'.Library' > Warning message: > In install.packages("rcompgen", type = "source") : >installation of package 'rcompgen' had non-zero exit status > > > I assume I am missing something obvious, but don't know what it i

Re: [Rd] r44608 fails make check-all in scatter.smooth example

2008-02-25 Thread Peter Dalgaard
l reasons >> >> The two declarations have been interchanged. Fixed in 44609, I hope. >> > > Dear Prof. Ripley, > > Yep, works for me Me too, also F8 but i386, and SUSE (10.2) x86_64 as well. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.

[Rd] R 2.7.0 scheduled for April 22, prereleases in progress

2008-03-25 Thread Peter Dalgaard
ile this is also done automatically by a cron job which runs just 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

Re: [Rd] Incorrect behavior in 64-bit version (PR#11034)

2008-03-25 Thread Peter Dalgaard
setup. This has all the hallmarks of a math header file error (either args or return value declared of the wrong type), or a linker issue (log not really log). I surely hope it fails "make check"! So, exactly what did you do, which compiler and build tools and which version? Did you

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Peter Dalgaard
(the real application has other slots too). I can > use "NaN", which is numeric: > > > > setClass > ("foo",representation=representation(x="numeric"),prototype=list(x=NaN)) > [1] "foo" > > > > But this is not

Re: [Rd] Misc/List Search Path from keyboard (PR#11036)

2008-03-27 Thread Peter Dalgaard
re's another S earlier in the misc menu ("_S_top current computation"), so presumably the search path should move to another key (P, say). -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] by "infelicity"

2008-04-03 Thread Peter Dalgaard
tFactor, FUN = median) # error > # Error in median.default(data[x, ], ...) : need numeric data > The infelicity (if any) is not in by(). Try mean(airquality) median(airquality) The FUN in by() is applied to the subsetted data frame, and there is no median.data.frame method. -- O__ Peter

Re: [Rd] tests Rin and Rout

2008-04-05 Thread Peter Dalgaard
]$ grep -i version ISwR/DESCRIPTION Version: 2.0-0 [EMAIL PROTECTED] ISWR]$ grep -i version ~/Rlibrary/ISwR/DESCRIPTION Version: 2.0-0 > Thanks > > Christophe > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/ma

Re: [Rd] autocompletion problem

2008-04-09 Thread Peter Dalgaard
x-gnu > > locale: > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C > > attached base packages: > [1]

Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-14 Thread Peter Dalgaard
> ## dd1 below could possibly be created by read.table or scan and data.frame > dd1 <- data.frame(xx = rnorm(nn), yy = rnorm(nn)) > dd2 <- new('DataFrame', data = dd1) > rm(dd1) > ## Now work with dd2 > > > Thanks a lot, > Gopi Goswami. > PhD, Statis

<    5   6   7   8   9   10   11   12   13   14   >