Displaying 20 results from an estimated 47 matches for "matloff".
2009 Dec 07
4
Announce: edtdbg, integrating R's debug() with your text editor
...n, the
second and third features require the vim-r plugin for Vim. Emacs/ESS
users should easily be able to convert the code; some of the machinery
is already in the code and in the instructions below.
I'm placing the current version of the package at:
http://heather.cs.ucdavis.edu/~matloff/R/edtdbg/edtdbg.tar.gz
http://heather.cs.ucdavis.edu/~matloff/R/edtdbg/edtdbg.zip
Please give me your comments. I probably will upload to CRAN at some
point, possibly after an ESS guru contributes the ESS code. :-)
A note on my Rdsm package for parallel R: The new, much improved
version is jus...
2011 Oct 19
3
new R debugging tool
...g tool, debugR, available at
http://heather.cs.ucdavis.edu/debugR.html
This basically replaces my edtdbg, which I will no longer be supporting.
The new tool is now decoupled from one's text editor, and has a lot more
features than edtdbg did.
Try it! Feedback is encouraged, of course.
Norm Matloff
2010 Mar 11
2
ANNOUNCE--Rdsm package, a threads-like environment for R
...chine, it may be faster
than Rdsm for some applications, given its direct use of bare shared
memory; typically, though, they should provide similar performance in
such contexts. By the way, I have a prototype of an infrastructure
package to facilitate using bigmemory as a parallel R engine.
Norm Matloff
University of California, Davis
2012 Aug 21
1
GPU Computing
Hi all,
I am looking for a function similar to mclapply() that would work with
GPU cores. I have looked at all possible packages related to GPU
computing but they are mainly providing functionality for big dataset or
big matrices. I use mainly mclapply to speed up simulations by running
several simulations in parallel, which works nicely.
Is it possible to do the same with a multicore GPU? I
2007 May 12
1
mtrace() fails
...quot; "grDevices" "datasets" "tcltk" "utils"
[7] "methods" "base"
other attached packages:
debug mvbutils
"1.1.0" "1.1.1"
Any suggestions anyone might have would be highly appreciated.
Norm Matloff
2009 Jul 08
0
Rdsm, a DSM package for parallel R programming
...ing a package that I call
Rdsm ("R distributed shared memory"), modeled after a similar package,
PerlDSM, I wrote for Perl some years ago. It is now in alpha form, so
I'm not uploading to CRAN yet, but it is definitely usable, and I am
releasing it at
http://heather.cs.ucdavis.edu/~matloff/R/Rdsm
I hope many try it out, and give me some feedback.
Note that the word "distributed" here means that the memory is not
really shared, but instead is an abstraction, to give the programmer a
shared-memory view even though the program may be running on several
separate machines. Fo...
2009 Dec 23
0
new, much improved version of edtdbg debugging tool
...s: Turn debugging on or off
for several functions at once.
The current version is for Vim with vim-r only. I did write an
Emacs/ESS version, but it started to hang mysteriously, so I am
releasing the Vim/vim-r version only.
The package is downloadable at
http://heather.cs.ucdavis.edu/~matloff/R/edtdbg/edtdbg.zip
I'd like to thank Jakson and Duncan M. for some useful e-mail exchanges.
Now that this "digression" is done, I can get back to finishing my Rdsm
parallel R package and uploading it to CRAN. (Not sure whether edtdbg
is appropriate for CRAN?)
Norm Matloff
2014 Jan 09
1
reference class internals
I have a question about reference classes, which someone here
undoubtedly can answer immediately, saving me hours of wading through
indecipherable internal code. :-) Thanks in advance.
Reference class data is mutable, fine, but in what sense? Is it really
physical, or is it just a view given to the programmer?
If for instance I have vector as a field in a reference class, and I
change one
2010 Sep 01
6
Why is vector assignment in R recreates the entire vector ?
Hello all,
A friend recently brought to my attention that vector assignment actually
recreates the entire vector on which the assignment is performed.
So for example, the code:
x[10]<- NA # The original call (short version)
Is really doing this:
x<- replace(x, list=10, values=NA) # The original call (long version)
# assigning a whole new vector to x
Which is actually doing this:
x<-
2010 Apr 03
3
full copy on assignment?
...k to
the same memory address.
I seem to recall reading somewhere that recent R versions make some
attempt to avoid rewriting the entire vector, and my timing experiments
seem to suggest that it's true.
So, is a full rewrite avoided? And where in the source code is this
done?
Thanks.
Norm Matloff
2008 Dec 22
2
queue simulation
Hi all,
I have a multiple queing situation I'd like to simulate to get some idea of
the distributions - waiting times and allocations etc.
Does R has a package available for this - many years ago there used to be a
language called "simscript" for discrete event simulation and I was
wondering if R has an equivalent (or hopefully with graphics, something
better!).
Apologies if there
2019 Aug 28
2
Conventions: Use of globals and main functions
I appreciate the well-thought-out comments.
To your first point, I am not sure what "glattering" means precisely (a Google search revealed nothing useful), but I assume it means something to the effect of overfilling the main namespace with too many names. Per Norm Matloff's counterpoint in The Art of R Programming regarding this issue, this is mostly avoided by well-defined, (sufficiently) long names. Also, when a program is properly modularized, one generally wouldn't have this many objects at the same time unless the complexity of a program demands it. You...
2017 Mar 16
2
Support for user defined unary functions
...te(1 + - %num% "5")
> > #> 1 + -(`%num%`("5"))
>
> > 1 + - %num% "5"
> > #> [1] -4
>
> > Jim
>
> I'm sorry to be a bit of a spoiler to "coolness", but
> you may know that I like to applaud Norm Matloff for his book
> title "The Art of R Programming",
> because for me good code should also be beautiful to some extent.
>
> I really very much prefer
>
> f(x)
> to %f% x
>
> and hence I really really really cannot see why anybody would prefer
> the ugl...
2017 Mar 16
2
Support for user defined unary functions
Gabe,
The unary functions have the same precedence as normal SPECIALS
(although the new unary forms take precedence over binary SPECIALS).
So they are lower precedence than unary + and -. Yes, both of your
examples are valid with this patch, here are the results and quoted
forms to see the precedence.
`%chr%` <- function(x) as.character(x)
`%identical%` <- function(x, y)
2019 Sep 13
0
R Journal, Vol. 11, Issue 1
After a long delay, the issue was put online on Wednesday evening. As noted
in the editorial, we are taking measures to help ensure that future issues
will be more timely.
Norm Matloff
[[alternative HTML version deleted]]
_______________________________________________
R-announce at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-announce
2019 Sep 13
0
R Journal, Vol. 11, Issue 1
After a long delay, the issue was put online on Wednesday evening. As noted
in the editorial, we are taking measures to help ensure that future issues
will be more timely.
Norm Matloff
[[alternative HTML version deleted]]
_______________________________________________
R-announce at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-announce
2009 Jul 02
0
another type of parallel programming for R
...ill be extending Rdsm with functions
that give it the "look and feel" of OpenMP.
I have an an alpha version of Rdsm ready, and will be releasing it in
the next day or two (on my own Web page for now, not yet on CRAN) in an
announcement here. User feedback will be much appreciated.
Norm Matloff
UC Davis
2011 Jun 01
3
conversion of matrix into list
Dear all,
I have a matrix X which consists of 2 columns. I would like to convert this
matrix into a list where every entry of the list consists of a single row of
the matrix.
Does anyone have a suggestions how to manage this?
Thank you for your efforts in advance!
Best,
Martin
[[alternative HTML version deleted]]
2009 Apr 09
0
Connecting to "heterogenous" cluster using makeSOCKcluster of SNOW-package
...ot;)
Since I intend to use really "inhomgenous" clusters, I followed the
respective instructions given on
http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html#Section:InhomogeneousSystems.
I also tried the modifications to RSOCKnode.sh proposed in
http://heather.cs.ucdavis.edu/~matloff/R/RProg.pdf - no different
behaviour.
I'd appreciate any comments that help me in getting an incomogenous
cluster running without the need of MPI or PVM.
Thanks in advance.
Till Francke
Dept. for Geoecology
University of Potsdam
--
2010 Aug 29
3
Question regarding significance of a covariate in a coxme survival
...not be expected to give the same or even similar results.
But, worse than that, many point out that p-values tend not to be
answering ANY question of practical interest.
It's a shame that the use of p-values is so entrenched. I can expand on
this, with references, if there is interest.
Norm Matloff
Professor of Computer Science (formerly Statistics)
University of California, Davis