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
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
, 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
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
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.
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
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,
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
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
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
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)
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
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
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
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
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).
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
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".
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
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
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.
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
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
, 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
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
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
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
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
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
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
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)
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
,
/ivo welch
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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,
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
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
36 matches
Mail list logo