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
estfun( 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
Apologies for the Intrusion. I am trying to learn package development with
roxygen. The ecosystem has been moving so fast that much of what I learned
by googling and reading on the web (including old posts) seems to be at
least mildly outdated.
* does the r-package-devel mailing list have a
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 would be pushing my luck.
/iaw
Ivo Welch (ivo.we...@gmail.com
([GlobalEnv]:\t)
regmatches(e2, match) - %s
do.call(sprintf, c(fmt=e2, '...'=syntax) )
}
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 Investments
Free Finance
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,
/iaw
Ivo Welch (ivo.we
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 e...@debian.org wrote:
On 13 July 2013 at 22:24
and see if I can replicate it there, too. if I can, I could put it
up and give you an account on my machine. or I can tar it up incl the data
and put it somewhere for download. whatever you prefer.
regards,
/iaw
Ivo Welch (ivo.we...@gmail.com)
[[alternative HTML version deleted
, reproducible, and digestable by you.
regards,
/iaw
Ivo Welch (ivo.we...@gmail.com)
On Sun, Jul 14, 2013 at 9:20 AM, Dirk Eddelbuettel e...@debian.org wrote:
On 14 July 2013 at 09:04, ivo welch wrote:
| thanks, simon. it's replicable even on
|
|R version 3.0.1 Patched (2013-07-13
seemingly almost bitter.
regards,
/iaw
Ivo Welch (ivo.we...@gmail.com)
On Sun, Jul 14, 2013 at 12:03 PM, Dirk Eddelbuettel e...@debian.org 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, you
| will note
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)
[[alternative HTML version deleted
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 mailing
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
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
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. Fred Weston
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).
best,
/iaw
Ivo Welch (ivo.we...@gmail.com
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 Investments
Free
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.)
hope this helps.
/iaw
Ivo Welch (ivo.we
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
. (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 improve the
impression that R makes on novices. just my 5 cents.
/iaw
Ivo Welch (ivo.we...@gmail.com)
http://www.ivo-welch.info
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.
regards,
/iaw
Ivo Welch (ivo.we...@brown.edu, ivo.we...@gmail.com
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
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
-(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
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
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
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
30 matches
Mail list logo