Re: [Rd] Circumventing code/documentation mismatches ('R CMD check')

2011-07-05 Thread peter dalgaard
n prevent it. I.e. test2(NA) # fails test3 <- function(a=NA) test2(a) # 3rd party code might build on your function test3() # fails If your function only accept character values, even if NA, then that is what should be documented. In the end, you'll find that an explicit is.na

Re: [Rd] Syntactically valid names

2011-07-05 Thread peter dalgaard
t; x <- paste(rep("x", 1e6), collapse = "") >> x == make.names(x) > [1] TRUE > > Mildly insane, but technically OK, no? > Hadley > > -- > Assistant Professor / Dobelman Family Junior Chair > Department of Statistics / Rice University > http

Re: [Rd] Syntactically valid names

2011-07-06 Thread peter dalgaard
>> [1] TRUE >> >> Mildly insane, but technically OK, no? > > I don't think so: > >> x <- paste(rep("x", 1e6), collapse = "") >> assign(x, 1) > Error in assign(x, 1) : variable names are limited to 1 bytes But that's a sanit

Re: [Rd] invalid body argument for function

2011-07-08 Thread peter dalgaard
of the function would be that object, no? There was at some point a push towards regularizing the language, and these checks may be a relic of that. (The current code is "svn blame"d to me, but it was a branch update in Dec.1999, and I can't really be bothered to go

Re: [Rd] sort infelicity

2011-07-10 Thread peter dalgaard
ed States.1252 All checks in R (unless we overlooked some) run with LC_COLLATE=C, because otherwise they give different results in different locales. One notorious example is that people expect that a file or an object called "zzz" comes out last in a sort, but Estonian sorts "z&q

Re: [Rd] Randomness not due to seed

2011-07-20 Thread peter dalgaard
ars)),digits=22) > | (Intercept)speed > | > | > | __ > | R-devel@r-project.org mailing list > | https://stat.ethz.ch/mailman/listinfo/r-devel > > -- > Gauss once played himself in a zero-sum game a

Re: [Rd] Latent flaw in SEXPREC definition

2011-08-13 Thread peter dalgaard
struct listsxp_struct listsxp; > > ______ > 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 Frederiksber

Re: [Rd] An example of very slow computation

2011-08-18 Thread peter dalgaard
+l2)*exp(l2*t)-(k1+k2+l1)*exp(l1*t))/(l2-l1)) >> } # val should be a vector if t is a vector >> >> negll <- function(theta){ >> # non expm version JN 110731 >> pred<-Mpred(theta) >> sigma<-exp(theta[4]) >> -sum(dnorm(dat[,2],mean=pred,sd=sigma, log=TRUE)) >> } >>

Re: [Rd] http://cran.r-project.org/src/base/NEWS.html points to R v2.13.0

2011-08-30 Thread peter dalgaard
_ >> 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 --

Re: [Rd] Refresh every minute

2011-09-07 Thread peter dalgaard
>> I am using microsoft (vista). > > > - > In theory, practice and theory are the same. In practice, they are not - > Albert Einstein > -- > View this message in context: > http://r.789695.n4.nabble.com/Refresh-every-minute-tp3797011p3797174.html > Sent from

Re: [Rd] repeatable segfault - on Mac

2011-09-08 Thread peter dalgaard
7-08)" >>> >>>> eigen(crossprod(matrix(1:2000, 50)) + (0+0i), T, T) >>> >>> *** caught segfault *** >>> address 0x1038000a8, cause 'memory not mapped' >>> >>> Traceback: >>> 1: .Call("La_rs_cmplx", x, only.values, PACKAGE = &qu

Re: [Rd] difficulty with 'parallel' in building r57032 -- missing Makefile?

2011-09-20 Thread peter dalgaard
ensure that you can keep previously built intermediate files. Also, try not building in the source directory. It's much easier to clean up if build in a separate build directory. > > Ben Bolker > > __ > R-devel@r-project.org mailing list > h

Re: [Rd] R-devel (2.14 alpha) Windows binary

2011-10-04 Thread Peter Dalgaard
ository (and most of you do), > it is probably a good idea to follow the following link and see the > other deadlines that are approaching. > > http://www.bioconductor.org/developers/release-schedule/ > > > > Sincerely, > > > The Biocore Team > > ___ >

Re: [Rd] Fix for bug in arima function

2015-05-28 Thread peter dalgaard
s that are good enough for starting values, but might not use all observations. A WLS would get both right, but you need to fit the model to find the weight matrix (which in general is N x N, non-sparse)... -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [Rd] NEWS.md support on CRAN

2015-05-29 Thread peter dalgaard
gt; those), so I'd suggest putting your news into a vignette instead of a >>> news file. Put in a token news file that points to the vignette so >>> users can find it. >> >>> Duncan Murdoch >> >>> ______

Re: [Rd] Bug in loadNamespace?

2015-06-08 Thread peter dalgaard
es with ABSOLUTELY NO WARRANTY. > You are welcome to redistribute it under certain conditions. > Type 'license()' or 'licence()' for distribution details. > > Natural language support but running in an English locale > > R is a collaborative project with many con

Re: [Rd] Bug in loadNamespace?

2015-06-08 Thread peter dalgaard
"300" > [1] NA >> "320" > "300" > [1] TRUE > > - - - > > R version 3.2.1 beta (2015-06-07 r68485) -- "World-Famous Astronaut" > Copyright (C) 2015 The R Foundation for Statistical Computing > Platform: x86_64-apple-dar

Re: [Rd] R-devel is broken

2015-06-22 Thread peter dalgaard
gt; > Gabor > > __ > 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)38

Re: [Rd] dead links to manuals

2015-07-07 Thread peter dalgaard
rg/doc/manuals/r-release/R-intro.html gives a > 404. > > FYI, > Gabor > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Bu

Re: [Rd] update.packages(checkBuilt=TRUE, ask=FALSE): possible bug

2015-07-19 Thread peter dalgaard
g 'contriburl' or 'available' requires a single type, not type = > "both" > > Is it a bug? Possibly, but I think you need to give a more reproducible example. In particular, which repositories and which packages? There is a fair amount of combinations to

Re: [Rd] Building r-devel fails on Ubuntu (old and new as well)

2015-07-19 Thread peter dalgaard
rballs. (At least until > R-devel_2015-07.18.tar.gz) -- 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] Building r-devel fails on Ubuntu (old and new as well)

2015-07-19 Thread peter dalgaard
An updated tarball should be available in $CRAN/src/base/pre-release soon. (For CRAN=https://cran.r-project.org, immediately. Other mirrors need mirroring.) -pd > On 19 Jul 2015, at 10:01 , peter dalgaard wrote: > > Looks like someone forgot to update the DISTFILES (specifically th

Re: [Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit

2015-07-21 Thread peter dalgaard
ou might want to investigate how R is built from sources, see for instance: http://community.linuxmint.com/tutorial/view/1822 -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@c

Re: [Rd] Bug in rank with utf8?

2015-08-13 Thread peter dalgaard
27;s backup: The condition of any backup is unknown until a > restore is attempted. > > Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. > > He's about as useful as a wax frying pan. > > 10 to the 12th power microphones = 1 Megaphone

Re: [Rd] Bug in rank with utf8?

2015-08-14 Thread peter dalgaard
"root"... Oh, well. -pd -- 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] capture.output() duplicates last line unless newline (R-devel bug)

2015-08-14 Thread peter dalgaard
ce Pack 1 > > locale: > [1] LC_COLLATE=English_United States.1252 > [2] LC_CTYPE=English_United States.1252 > [3] LC_MONETARY=English_United States.1252 > [4] LC_NUMERIC=C > [5] LC_TIME=English_United States.1252 > > attached base packages: > [1] stats graphics grDev

Re: [Rd] Has the changelog for R-devel and R-patched moved?

2015-09-01 Thread peter dalgaard
;s date. -pd > > Thank you, > > Avi > > [1] <http://developer.r-project.org/blosxom.cgi/R-devel/NEWS> > [2] <http://developer.r-project.org/blosxom.cgi/R-3-2-branch/NEWS> > > __ > R-devel@r-project.org mail

Re: [Rd] Has the changelog for R-devel and R-patched moved?

2015-09-01 Thread peter dalgaard
eaned from the changelog entries. > You mean like svn diff -x -w -r '{2015-08-26}':'{2015-08-27}' https://svn.r-project.org/R/branches/R-3-2-branch/doc/NEWS.Rd ;-) (Not that anything actually happened that day.) -- Peter Dalgaard, Professor, Center for Statistics, Co

Re: [Rd] No new daily R-devel tarball since r69202?

2015-09-05 Thread peter dalgaard
ner Hurling > > > [1] https://stat.ethz.ch/R/daily/R-devel.tar.gz > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business

Re: [Rd] No new daily R-devel tarball since r69202?

2015-09-05 Thread peter dalgaard
> On 05 Sep 2015, at 13:54 , Rainer Hurling wrote: > > Am 05.09.2015 um 10:18 schrieb peter dalgaard: >> >>> On 05 Sep 2015, at 08:28 , Rainer Hurling wrote: >>> >>> Is there any reason that the R-devel tarball at [1] stucks on r69202? >>>

Re: [Rd] read.table reads "i" as NA_complex_

2015-10-07 Thread peter dalgaard
quot;))) > 'data.frame': 4 obs. of 1 variable: >$ V1: Factor w/ 4 levels "i","ii","iii",..: 1 2 3 4 > > Is this intended? It surprised me. > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > [[alternative

Re: [Rd] R CMD BATCH vs R CMD batch

2015-10-29 Thread peter dalgaard
Mac:~ pd$ test -x `R RHOME`/bin/INSTALL ; echo $? 0 Peters-iMac:~ pd$ test -x `R RHOME`/bin/UNSTALL ; echo $? 1 Peters-iMac:~ pd$ test -x `R RHOME`/bin/install ; echo $? 0 -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads

Re: [Rd] Major Platform Discrepancies

2015-11-03 Thread peter dalgaard
gt; Regards, > Joseph Wood > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen B

Re: [Rd] compile question

2015-11-23 Thread peter dalgaard
ou are not a maintainer, and if you want to play at being one, I think you need extra tools. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cb

Re: [Rd] compile question

2015-11-26 Thread peter dalgaard
If you do want to play with maintainer-mode, first check out https://developer.r-project.org/R-build-prerelease it is what is done in the nightly builds on OSX. (Actually Mavericks. The comment is old.) -pd On 26 Nov 2015, at 14:38 , Michael Felt wrote: > On 2015-11-23 23:43, peter dalga

Re: [Rd] compile question

2015-11-27 Thread peter dalgaard
On 27 Nov 2015, at 16:26 , Michael Felt wrote: > On 2015-11-26 17:15, peter dalgaard wrote: >> If you do want to play with maintainer-mode, first check out >> >> https://developer.r-project.org/R-build-prerelease >> >> it is what is done in the nightly builds

Re: [Rd] R_PROFILE_USER

2015-12-05 Thread peter dalgaard
er ? Umm, it said that it loaded .Rprofile, not Rprofile.R. Any chance that you have similar code in two places? (~/.Rprofile and ./.Rprofile being the most obvious suspects). -pd > > Thank you. > -- > > google.com/+arnaudgabourygabx > > ___

Re: [Rd] Assistance much appreciated

2015-12-17 Thread peter dalgaard
x27;Package: tools ...' is malformed! >>>> tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = >>> compress) >>> Error: Line starting 'Package: tools ...' is malformed! >>>>

Re: [Rd] Assistance much appreciated

2015-12-17 Thread peter dalgaard
> On 17 Dec 2015, at 19:58 , Michael Felt wrote: > > On 2015-12-17 19:30, peter dalgaard wrote: >> Presumably the file in question is one of >> >> Peter-Dalgaards-MacBook-Air:BUILD pd$ grep -r "^Package: tools" * >> library/tools/DESC

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-01 Thread peter dalgaard
installing 'sysdata.rda' >>> echo >>> "tools:::sysdata2LazyLoadDB(\"/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda\",\"../../../library/tools/R\")" >>> | \ >>> R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave >>> @@ -

Re: [Rd] problem submitting R bug; bug plotting in tiling window manager

2016-02-07 Thread peter dalgaard
t it had no content other than "til". That's >>>>> what many abusers of the system have done, so you were blocked. >>>>> >>>>> I have read the first line of your bug report, and it says " I'm not >>>>> sure if this is a bug with i3 or R ". If you'r

Re: [Rd] Assignment in environment

2016-02-07 Thread peter dalgaard
m, no... The canonical semantics are that foo(x)[[]] <- bar is internally converted to *tmp* <- foo(x) *tmp*[[]] <- bar x <- `foo<-`(x, *tmp*) so both foo() and `foo<-` are required. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [Rd] something wrong in package submission procedure/website

2016-02-08 Thread peter dalgaard
04 Center for Research Methods > University of Kansas University of Kansas > http://pj.freefaculty.org http://crmda.ku.edu > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] problem submitting R bug; bug plotting in tiling window manager

2016-02-08 Thread peter dalgaard
lly annoyed human... ;-) We might still consider rephrasing it though. -pd > > "Common pattern is to post ... something copied from a generic bug > report" - that sounds very annoying. > > Frederick > > On Sun, Feb 07, 2016 at 11:54:11AM +0100, peter dalgaar

Re: [Rd] Apparent bug in summary.data.frame() with columns of Date class and NA's present

2016-02-08 Thread peter dalgaard
nr' in summary.data.frame(), to > account for the NAs attribute from summary.Date(). > 2. Restore the NAs attribute later in the code, if present in the vector that > results from summary.Date(). > 3. Modify the code in summary.Date() so that it mimics the approach in > summary.defaul

Re: [Rd] should `data` respect default.stringsAsFactors()?

2016-02-18 Thread peter dalgaard
> > Compelling. I have to agree. > > So, I change my mind. > > By my lights, `data` should then be documented to NOT respect > default.stringsAsFactors. > > Else? > > ~Malcolm Cook > > __ > R-devel

Re: [Rd] should `data` respect default.stringsAsFactors()?

2016-02-19 Thread peter dalgaard
t; R> myiris<-read.table("data/myiris.tab",header=TRUE,as.is=FALSE) > R> class(myiris$Species) > [1] "factor" > > So it seems like adding as.is = FALSE to the call in the documentation > would clear this up. > >> In my opinion, one or the other

Re: [Rd] should `data` respect default.stringsAsFactors()?

2016-02-19 Thread peter dalgaard
t;>>> setting the global option stringsAsFactors = FALSE DOES effect how >> Species is being read in by read.table >>>> >>>> especially since data is documented as calling read.table. >>>> >>> To be explicit, it's documented

Re: [Rd] R Package Installation Ignores libPaths Setting

2016-02-20 Thread peter dalgaard
ot; > > [3] "/usr/lib/R/site-library" "/usr/lib/R/library" > > Is there some other crucial information which I have missed ? > > -- > Dario Strbenac > PhD Student > University of Sydney > Camperdown NSW 2050 > Au

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-25 Thread peter dalgaard
would be a lot > easier to write a Unix-style file on Windows. > > I think either the first or third possibilities will take too much time for > me to attempt them before 3.3.0. I'm not sure about the second one yet. > > Duncan Murdoch > >

Re: [Rd] problem submitting R bug; bug plotting in tiling window manager

2016-02-25 Thread peter dalgaard
x27;t catch that my > Bugzilla account had been disabled by a human. > > "Common pattern is to post ... something copied from a generic bug > report" - that sounds very annoying. > > Frederick > > On Sun, Feb 07, 2016 at 11:54:11AM +0100, peter dalgaard wrote: &g

Re: [Rd] Unable to Install Packages from Binaries on Windows for R 3.2.3

2016-02-27 Thread peter dalgaard
ntrib/3.2/ seems to be corrupted > (0 KB), and this could be the issue. It's at 202K now in both places. Perhaps just retry? -pd > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > http

Re: [Rd] Source code of early S versions

2016-03-01 Thread peter dalgaard
me portion of this must be a fortune candidate!) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com _

Re: [Rd] R 3.2.4 rc issue

2016-03-04 Thread peter dalgaard
Execution halted > * checking PDF version of manual ... OK > * DONE > > Status: 1 ERROR, 1 WARNING > See > '/build/r-base-3.2.3.20160303/tests/splines.Rcheck/00check.log' > for details. > > > Did something change in requirements? > > Dirk > > -- > http://dirk.eddelbuettel.com | @edd

Re: [Rd] as.vector in R-devel loaded 3/3/2016

2016-03-04 Thread peter dalgaard
Use showMethods("as.vector") for currently available ones. >> >> The code from R3.2.3 is >>> as.vector >> function (x, mode = "any") >> .Internal(as.vector(x, mode)) >> >> >>> >> >> Is default for m

Re: [Rd] Problem installing R-devel data 4 March 2016.

2016-03-05 Thread peter dalgaard
Dir/doc/FAQ et al. actually exist? - is there an overzealous virus checker active (those have been known to move fresh files to "safe locations" right under peoples feet...) -pd > Ta. > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of St

Re: [Rd] Problem installing R-devel dated 4 March 2016.

2016-03-06 Thread peter dalgaard
Sorry for the noise. > > cheers, > > Rolf > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > On 06/03/16 03:10, peter dalgaard wrote: >> >>> On 05 Mar 2016, at 03:35 , Rolf Tu

Re: [Rd] rmultinom.c error probability not sum to 1

2016-03-10 Thread peter dalgaard
gt; can provide more details on my linux build if necessary.) > > > > [[alternative HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Cop

Re: [Rd] Problem building R-3.2.4

2016-03-10 Thread peter dalgaard
e $r has resolved to empty leading to the command "m -f > liblzma.a" > > Mick Jordan > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Cen

Re: [Rd] rmultinom.c error probability not sum to 1

2016-03-10 Thread peter dalgaard
> Prob_tot: 1.017084 > Error: rbinom: probability sum should be 1, but is 0.948075 > > Maybe I miss some trivial C knowledge why this is not exactly one! > > Thanks in advance! > > Regards, > Maarten > > From: peter dalgaard [pda.

Re: [Rd] Regression in strptime

2016-03-12 Thread peter dalgaard
("1942/01/01", "%Y/%m/%d", tz="CET") [1] "1942-01-01 CEST" But then as you see, it does have DST on New Years Day. All in all, there is something you are not telling us. Notice that all DST information is OS dependent as it depends on which version of

Re: [Rd] Regression in strptime

2016-03-12 Thread peter dalgaard
1 CET" "1952-01-01 CET" "1936-01-01 CET" [57] "1967-01-01 CET" "1925-01-01 CET" "1980-01-01 CEST" "1930-01-01 CET" [61] "1999-01-01 CET" "1965-01-01 CET" "1903-01-01 CET" "1942-01-01 CET&quo

Re: [Rd] Regression in strptime

2016-03-15 Thread peter dalgaard
.4-patched for a couple more days. Branching for R-3.3.x happens on Thursday. But R-devel snapshots will be of the same thing until then. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.2

Re: [Rd] summary( prcomp(*, tol = .) ) -- and 'rank.'

2016-03-25 Thread peter dalgaard
variances or std.dev.s ... which are >>> returned from the svd() anyway, even in the case when I use my >>> new 'rank.' argument which only returns a "few" PCs instead of >>> all. >>> >>> Would you think the current summary() output is good enough or >>> rather misleading?

Re: [Rd] summary( prcomp(*, tol = .) ) -- and 'rank.'

2016-03-25 Thread peter dalgaard
> On 25 Mar 2016, at 10:08 , Jari Oksanen wrote: > >> >> On 25 Mar 2016, at 10:41 am, peter dalgaard wrote: >> >> As I see it, the display showing the first p << n PCs adding up to 100% of >> the variance is plainly wrong. >> >> I su

Re: [Rd] sys.function(0)

2016-03-27 Thread peter dalgaard
document the "which" argument identically for all three functions... -pd > > Mick Jordan > > > [[alternative HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/li

Re: [Rd] sys.function(0)

2016-03-28 Thread peter dalgaard
:08 , Mick Jordan wrote: > > A related question is why are sys.parent/parent.frame so permissive in their > error checking? E.g: > > > sys.parent(-1) > [1] 0 > > sys.parent(-2) > [1] 0 > > sys.parent(1) > [1] 0 > > sys.parent(2) > [1] 0 > &

Re: [Rd] Building R-patched and R-devel fails

2016-04-18 Thread peter dalgaard
; [...] >>> >>> Presumably, in both branches, the files Makefile.in and Makefile.win in >>> src/library/Recommended have to be adapted to contain the following >>> line at the end among the "Hardcoded dependencies": >>> >>>survival.ts: Matrix.ts >>

Re: [Rd] Benchmarks for R

2016-04-21 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)3815350

Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu

2016-04-21 Thread peter dalgaard
lation Built > myTst NANA NA NA "3.2.5" >> stopifnot(identical(res[,"Package"], setNames(,sort(c(p.lis, "myTst", > + res[,"LibPath"] == "myLib") > Error: identical(res[, "Package"], setNames(, sort(c(p.lis, "myTs

Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu [SOLVED]

2016-04-22 Thread peter dalgaard
. On a hunch: Check out what the "soft" mount option does. I seem to recall some complications related to immediacy of operations. -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Off

Re: [Rd] residual standard "error"

2016-04-28 Thread peter dalgaard
> For that reason I did not dare to change it in print.summary.lm(), > even though I could have been one of the few to change it at a time > when are was still in its infancy and (years *before* it got to > version 1.0.0 on Feb.29, 2000). You may want to Google "Standard error o

Re: [Rd] boxplot with formula involving two-factor levels

2016-04-29 Thread peter dalgaard
st, > Yanming > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, C

Re: [Rd] where to send patches to R source code

2016-05-12 Thread peter dalgaard
ur personal computer. > > I agree that this must seem a bit frustrating to you. > > -- > Martin > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] where to send patches to R source code

2016-05-13 Thread peter dalgaard
? I'm not overly frustrated, and I'm not in a major > hurry, but from what we've observed it seems like waiting for someone > concerned to come along and finally read Bugzilla or the R-Devel > archives is not going to result in a very dense Poisson process... > > Thanks,

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
tk > External libraries:readline, BLAS(OpenBLAS), LAPACK(in blas), curl > Additional capabilities: PNG, JPEG, TIFF, NLS, cairo, ICU > Options enabled: shared R library, R profiling, memory profiling > > Capabilities skipped: > Options not enabled: shar

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
; make: *** [R] Error 1 >>> >>> >>> >>> >>> My configuration information: >>> >>> R is now configured for x86_64-apple-darwin15.4.0 >>> >>> Source directory: . >>> Installation directory

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
18 May 2016, at 22:01 , peter dalgaard wrote: > > gcc -L/usr/X11R6/lib -o R.bin Rmain.o CommandLineArgs.o Rdynload.o > Renviron.o RNG.o agrep.o apply.o arithmetic.o array.o attrib.o bind.o > builtin.o character.o coerce.o colors.o complex.o connections.o context.o > cum.

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
Spoke too soon, both systems now build, but neither has the original bugs fixed (Incidentally, I realized why the ctl-R...ctl-C bug never bit me: The emacs habit is to exit isearch with ctl-G and that works flawlessly.) -pd > On 18 May 2016, at 22:40 , peter dalgaard wrote: > >

Re: [Rd] Latest R-devel build failing on OS X

2016-05-24 Thread peter dalgaard
--- >> r70632 | maechler | 2016-05-19 10:59:51 +0200 (Thu, 19 May 2016) | 1 line >> Changed paths: >> M configure >> M configure.ac >> M src/include/config.h.in >> M src/unix/sys-std.c > >> check for rl_resize_terminal() now

Re: [Rd] String encoding problem

2016-07-07 Thread peter dalgaard
ourth one might be to actually allow mixing of \u0007 and \x07 and \007, but I suspect that there are demons down the line which is why it is not happening now. (Does it ring a bell with anyone?) -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg P

Re: [Rd] Issues building from svn

2016-07-19 Thread peter dalgaard
builds. > > Dirk > Er, a "not" went missing in there?? -p > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo

Re: [Rd] What happened to Ross Ihaka's proposal for a Common Lisp based R successor?

2016-08-05 Thread peter dalgaard
itive. Does anyone know? Presumably Ross does... You get a hint if you go one level up and look for the newest file: https://www.stat.auckland.ac.nz/~ihaka/downloads/New-System.pdf -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denma

Re: [Rd] problem with abine(lm(...)) for plot(y~x, log='xy')

2016-08-07 Thread peter dalgaard
r Graves > > ______ > 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)381535

Re: [Rd] Numerical accuracy of matrix multiplication

2016-09-16 Thread peter dalgaard
ailing 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 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com _

Re: [Rd] anonymous function parsing bug?

2016-10-21 Thread peter dalgaard
nction(a) { { some_computation }(x) } where you seem to be expecting {f <- function(a) { { some_computation } }(x) Got it? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)3

Re: [Rd] typo or stale info in qr man

2016-10-25 Thread peter dalgaard
artin Maechler > ETH Zurich > > ______ > 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, Denm

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-26 Thread peter dalgaard
On 26 Oct 2016, at 04:44 , Henrik Bengtsson wrote: > This looks like a bug to me. Can anyone on macOS confirm whether this > is also a problem there or not? I don't know whether it is a problem ( ;-) ), but it does the same thing (checked Mavericks, Yosemite and Sierra) -pd

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-26 Thread peter dalgaard
looks like a bug to me. Can anyone on macOS confirm whether this >>> is also a problem there or not? >>> >> >> >> Tried it on macOS El Capitan and got this (running in R.app with R version >> 3.3.2 RC (2016-10-23 r71574): >> >>> setTimeLimit(elap

Re: [Rd] using with inside loop breaks next

2016-10-27 Thread Peter Dalgaard
(a)/(c) mostly, I think. The crux is that "next" is unhappy about being evaluated in a different environment than the containing loop. Witness this: > for (i in 1:10) {if (i == 5) evalq(next); print(i)} [1] 1 [1] 2 [1] 3 [1] 4 [1] 6 [1] 7 [1] 8 [1] 9 [1] 10 > for (i in 1:10) {if (i == 5) evalq(n

Re: [Rd] unlist strips date class

2016-12-05 Thread peter dalgaard
uot;Date" method for unlist(), but there is for c(). It is not clear that the two should be kept in lockstep and there is certainly no mechanism to enforce that. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denm

Re: [Rd] varimax implementation in stats package

2017-01-02 Thread peter dalgaard
> why the methods are equal is also appreciated). > > Thanks for any hints or clarifications! > > With best regards > > Sebastian Starke > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/

Re: [Rd] [R] Problems when trying to install and load package "rzmq"

2017-01-03 Thread peter dalgaard
e, see >>> https://stat.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. >> >> > > [[alternative HTM

Re: [Rd] problem with print.generic(x)deparse(substitute(x))

2017-01-09 Thread peter dalgaard
s been computed and passes it to the relevant print method, so you get this effect: > print.dum <- function(x, ...) + print(deparse(substitute(x))) > k [1] "x" -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business Sch

Re: [Rd] unlicense

2017-01-18 Thread peter dalgaard
declaring something to be >>>>> "public domain". The first two examples I found: >>>>> >>>>> https://tracker.debian.org/media/packages/r/rasqal/copyright-0.9.29-1 >>>>> >>>>> >>>>> https://tracker.debian.org/media/packages/w/wiredt

Re: [Rd] Unexpected EOF in R-patched_2017-01-30

2017-01-31 Thread peter dalgaard
ting now > > I got the same error for R-patched_2017-01-30.tar.gz but not for > R-3.3.2.tar.gz. > > Thank you, > > Avi > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel --

[Rd] R 3.3.3 on March 6

2017-02-05 Thread Peter Dalgaard
of the R Core Team Peter Dalgaard -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel

Re: [Rd] Pressing either Ctrl-\ of Ctrl-4 core dumps R

2017-02-13 Thread peter dalgaard
.app, Ctrl-\ should be Ctrl-Shift-Alt-7, but that key combination actually just generates "7". I also recall terminals where some characters could only be obtained via compose sequences, e.g. compose-/-/ for "\", and there was no obvious way to add a Ctrl modifier to tha

[Rd] R 3.4.0

2017-03-17 Thread Peter Dalgaard
R 3.4.0 "You Stupid Darkness" is now scheduled for April 21 The detailed schedule can be found on developer.r-project.org For the Core Team Peter D. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark P

Re: [Rd] Error in documentation for ?legend

2017-03-25 Thread peter dalgaard
p://www.mypolyuweb.hk/%7Esjpolit/> > > > [http://mlm.polyu.edu.hk/PolyU80_Email_Signature.png] > > www.polyu.edu.hk/80anniversary<http://www.polyu.edu.hk/80anniversary> > > Disclaimer:\ \ This message (including any attachments) ...{{dropped:19}} > > __ > R-de

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