[Rd] More Detail on "Error : vector memory exhausted (limit reached?)"

2023-11-27 Thread ivo welch
Would it be possible to enhance this error message? Could the message say how large the limit was that was reached? Is it that the limit for one particular vector has been exceeded (and to how much would it have grown vs. how much was allowed?), or is it that the entire memory space has been exce

[Rd] Deep Replicable Bug With AMD Threadripper MultiCore

2019-04-05 Thread ivo welch
ex) testfun( sample[.index, , drop=FALSE] )) message("never gets here with mclapply") print( do.call("c", o[[1]]) ) print( do.call("c", o[[2]]) ) -- Ivo Welch (ivo.we...@ucla.edu) [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Extending suggestion for stopifnot

2013-08-21 Thread ivo welch
, and/or that makes it easier and encourages users to write programs that check inputs would probably get widely used and be welcome by many. R libraries are useful, but it's not the same as having these sort of features in the base language. regards, /iaw Ivo Welch (ivo.we...@gmail

Re: [Rd] Extending suggestion for stopifnot

2013-08-20 Thread ivo welch
tever it is--so that my students get used to using the standard from the outset. [the {{...}} had the advantage of being unlikely to break anything. perl has it nicely done--- " is interpolated, ' is not. but this is a bridge that we crossed long ago in R. it would break too much.] best

Re: [Rd] Extending suggestion for stopifnot

2013-08-20 Thread ivo welch
we cannot recognize the syntax, we just leave it. s<- unlist(sys.calls()) if (length(s)>1) cat("Function '", as.character(s[[length(s)-N.UP+1]]), "':\n\t", sep="") else cat("[GlobalEnv]:\t") regmatches(e2, match) <- "%s" do.

[Rd] Extending suggestion for stopifnot

2013-08-20 Thread ivo welch
rix, but a {{class(m)}}" ) my own programming variant looks even nicer, is.matrix(m) %or% "m is not a matrix but a {{class(m)}}" but requesting base R to add the %and% and %or% (or, better yet, 'and' and 'or') operators by default

Re: [Rd] unmapped memory core dump with pure R program?

2013-07-14 Thread ivo welch
sometimes seemingly almost bitter. regards, /iaw Ivo Welch (ivo.we...@gmail.com) On Sun, Jul 14, 2013 at 12:03 PM, Dirk Eddelbuettel wrote: > > On 14 July 2013 at 11:45, ivo welch wrote: > | hi dirk---look, it's a fickle bus segfault. if you read my email in > full,

Re: [Rd] unmapped memory core dump with pure R program?

2013-07-14 Thread ivo welch
dable, reproducible, and digestable by you. regards, /iaw ---- Ivo Welch (ivo.we...@gmail.com) On Sun, Jul 14, 2013 at 9:20 AM, Dirk Eddelbuettel wrote: > > On 14 July 2013 at 09:04, ivo welch wrote: > | thanks, simon. it's replicable even on > | > |R version 3.0.1 P

Re: [Rd] unmapped memory core dump with pure R program?

2013-07-14 Thread ivo welch
rse.level, ...) 8: rbind(dm, dbetas) 9: eval(expr, envir, enclos) 10: eval(ei, envir) 11: withVisible(eval(ei, envir)) 12: source("coredump.R") Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selecti

Re: [Rd] unmapped memory core dump with pure R program?

2013-07-14 Thread ivo welch
thx. would be happy to do this, but is it worth the effort? are you guys interested in potentially chasing this down or is this mundane? regards, /iaw Ivo Welch (ivo.we...@gmail.com) On Sun, Jul 14, 2013 at 2:54 AM, Dirk Eddelbuettel wrote: > > On 13 July 2013 at 22:24, ivo

[Rd] unmapped memory core dump with pure R program?

2013-07-13 Thread ivo welch
Rf_eval () from /usr/lib/R/lib/libR.so #13 0x7ff956bbec39 in Rf_applyClosure () from /usr/lib/R/lib/libR.so its replicable. not sure if this is of any interest...just trying to help. please ignore if uninteresting. regards, /iaw Ivo Welch (ivo.we...@gmail.com)

[Rd] R 3.0.1 : parallel collection triggers "long memory not supported yet"

2013-05-31 Thread ivo welch
in unusual situations. so, it's not really a bug. but I thought I would point this out. maybe this is a forgotten updatedlet. regards, /iaw ---- Ivo Welch (ivo.we...@gmail.com) [[alternative HTML version deleted]] __ R-devel@r-project.org

[Rd] Money

2013-02-05 Thread ivo welch
uage that every beginning R student will benefit. /iaw Ivo Welch (ivo.we...@gmail.com) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Contract Syntactic Sugar

2013-02-04 Thread ivo welch
h can check multiple aspects at the same time). suggestion: in your doc example, can you define a different type than an integer? it's a little confusing. how about defining a strictly positive integer? regards, /iaw Ivo Welch (ivo.we...@gmail.com) http://www.ivo-welch.info/ J. F

[Rd] Contract Syntactic Sugar

2013-02-04 Thread ivo welch
on of the completed code in the R core language itself if I pay for the development time? {or does better syntax already exist and I am just ignorant (which I often am)?} regards, /iaw Ivo Welch (ivo.we...@gmail.com) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread ivo welch
not the best person to suggest what to improve. but the strictness of R seems too lax right now, making error tracking too difficult, from the perspective of an end user. this is partly why I suggested a more general bounty to improve on this aspect of R, rather than on my specific issue(s).

[Rd] Bounty on Error Checking

2013-01-03 Thread ivo welch
the future . you can even accept the same string if need be. it's a nudge only, not a requirement. regards, /iaw Ivo Welch (ivo.we...@gmail.com) http://www.ivo-welch.info/ J. Fred Weston Professor of Finance Anderson School at UCLA, C519 Director, UCLA Anderson Fink Center for Finance and I

[Rd] short documentation suggestion for "by" --- reference simplify2array and ave

2011-07-08 Thread ivo welch
in the documentation for "by", please change the "See also" section to \seealso{\code{\link{tapply}}, \code{\link{simplify2array}}, \code{\link{ave}}} (simplify2array, by, and ave should probably also be mentioned in the "See also" section of "apply".

Re: [Rd] speeding up perception

2011-07-03 Thread ivo welch
thank you, simon.  this was very interesting indeed. I also now understand how far out of my depth I am here. fortunately, as an end user, obviously, *I* now know how to avoid the problem. I particularly like the as.list() transformation and back to as.data.frame() to speed things up without los

[Rd] speeding up perception

2011-07-02 Thread ivo welch
ould be to add an operation that adds an attribute to the data frame that contains a full index table to the object for quick lookup. (if the index table is there, it could be used. otherwise, R could simply use the existing internal mechanism.) I think faster data frame access would significantly

[Rd] small suggestion---add sd to summary() for vectors, matrices, and data frames

2011-02-14 Thread ivo welch
my biggest suggestion is still to issue an "ambiguity warning" when "<-[0-9]" is encountered, suggesting to users either to use '<-[ ][0-9]' or '<[ ]-[0-9]' spacing for disambiguation. this would help a lot of my students who are newcomers.

Re: [Rd] segfault interest?

2010-11-24 Thread ivo welch
I just figured out what is happening. The root drive (presumably OSX virtual memory) becomes depleted. The error message about "memory not mapped" was a hint, too. So, not really R's fault. However, I wonder whether R can be made to abort more gracefully, or at least trap the error message and

[Rd] segfault interest?

2010-11-24 Thread ivo welch
terest, please email me and let me know what would be most useful to supply. if not, fine, too. regards, /iaw Ivo Welch (ivo.we...@brown.edu, ivo.we...@gmail.com) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] small syntax suggestion

2010-08-24 Thread ivo welch
, it is probably not worth the hassle. [I am a great fan of syntax checking. I am not a great fan of many but the simplest recycling rules (from 1 to N) BY DEFAULT. It's just asking for trouble.] regards, /iaw Ivo Welch (ivo.we...@brown.edu, ivo.we...@gmail.com) On Mon, Au

[Rd] small syntax suggestion

2010-08-23 Thread ivo welch
of assignment x<-(whatever) ## ok just a suggestion... regards, /iaw Ivo Welch (ivo.we...@brown.edu, ivo.we...@gmail.com) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] question

2009-03-07 Thread ivo welch
hi gabor: this would be difficult to do. I don't think you want to read my programs. it would give you an appreciation of what ugly horror programs end users can write in the beautiful R language ;-). clearly, one can work around the lack of such a feature. multiple-return values are syntax su

[Rd] question

2009-03-05 Thread ivo welch
dear R developers: it is of course easy for a third party to make suggestions if this third party is both clueless and does not put in any work. with these caveats, let me suggest something. The syntax for returning multiple arguments does not strike me as particularly appealing. would it not p

[Rd] R bug or ghostscript bug or my bug?

2009-01-20 Thread ivo welch
Dear R developers: The following R program produces a pdf file that does not survive ghostscript distillation correctly. The undistilled version is at http://welch.econ.brown.edu/temp/try.PDF while the distilled version is at http://welch.econ.brown.edu/temp/try.pdf . When previewed, the points

Re: [Rd] Error Reporting

2007-04-24 Thread ivo welch
that keeping source line numbers (as "comment do nothing" statements?) in the evaluator will happen. regards, /ivo On 4/24/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 4/23/2007 7:23 PM, ivo welch wrote: > > Dear R developers: May I suggest that future versions

[Rd] Error Reporting

2007-04-24 Thread ivo welch
Dear R developers: May I suggest that future versions of R improve a little on the error reporting? For example, right now, I am trying to figure out which of my column names in a select statement has been mis-spelled: Error in `[.data.frame`(x, r, vars, drop = drop) : undefined columns

[Rd] error messages with dimension mismatch?

2007-02-15 Thread ivo welch
dear R developers: may I suggest that you add to the various error messages that relate to "non-conformable arguments" (e.g. matrix multiplication) or "not multiple of"(e.g., comparison) the actual two dimension numbers that do not match up? something like Error in t(a) %*% vcov(reg.model)

[Rd] proposal: allowing alternative variance estimators in glm/lm

2007-01-02 Thread ivo welch
Dear Brian / Thomas: May I suggest a "cheap" and amateurish solution, obviously without much knowledge or intelligence about the subject? As a non-statistician user of R, maybe a hook functionality at strategic places could provide some flexibility without too much pain. I think replacing the

[Rd] request to add argv[0]

2006-04-04 Thread ivo welch
, /ivo welch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Suggestion: Slightly Clearer Error Message

2006-03-25 Thread ivo welch
dear R developers: May I suggest that you enhance the error message: Error in "[<-"(`*tmp*`, , curcol, value = c(0.0198881080712288, 0.00889721376726782, : number of items to replace is not a multiple of replacement length with information about why this is the case? For example,

Re: [Rd] R-devel Digest, Vol 34, Issue 5

2005-12-05 Thread ivo welch
actually, I can confirm now that gs AFPL 8.53 is the "culprit" here on #2, copied below again (though it is not a bug but a feature, albeit one you need to know about.) the -dSAFER switch, which appears in later versions of AFPL gs, not only eliminates renamefile and deletefile (manpage), but see

[Rd] font inclusions in pdf files

2005-12-04 Thread ivo welch
I am stumbling into external font issues here and there. I presume using external lucida fonts is fairly rare, so I am more likely to stumble onto issues here. (of course, I often think I have stumbled onto bugs/features that are not.) So, I hope I am not imposing by reporting the following. [1