Re: [Rd] Background session with R

2017-07-11 Thread Norm Matloff
My Rdsm package will do what you want, https://cran.r-project.org/web/packages/Rdsm/index.html Norm Matloff > Message: 4 > Date: Mon, 10 Jul 2017 17:12:57 + > From: "Stravs, Michael" > To: "r-devel@r-project.org" > Cc: "shiny-disc...@googlegroups.

Re: [Rd] reference class internals

2014-01-09 Thread Norm Matloff
. This testifies to the quality of the membership of this list! Thanks very much. Norm On Thu, Jan 09, 2014 at 08:27:09PM -0800, Martin Morgan wrote: > On 01/09/2014 07:53 PM, Norm Matloff wrote: > > > >Thanks, Hadley and Simon. > > > >The reason I asked today was that w

Re: [Rd] reference class internals

2014-01-09 Thread Norm Matloff
have confirmed my original impression, correct? Norm On Thu, Jan 09, 2014 at 09:44:10PM -0500, Simon Urbanek wrote: > On Jan 9, 2014, at 6:20 PM, Norm Matloff wrote: > > > Bottom line: Really no different from the case of ordinary vectors that > > are not in reference classes,

Re: [Rd] reference class internals

2014-01-09 Thread Norm Matloff
ometimes be duplicated and > modified (depending on whether its NAMED attribute is 1 or 2, and > exactly how you're modifying it). > > Hadley > > On Thu, Jan 9, 2014 at 4:33 PM, Norm Matloff wrote: > > I have a question about reference classes, which someone here >

[Rd] reference class internals

2014-01-09 Thread Norm Matloff
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

Re: [Rd] Regression stars

2013-02-09 Thread Norm Matloff
I appreciate Tim's comments. I myself have a "social science" paper coming out soon in which I felt forced to use p-values, given their ubiquity. However, I also told readers of the paper that confidence intervals are much more informative and I do provide them. As I said earlier, there is no av

Re: [Rd] Regression stars

2013-02-09 Thread Norm Matloff
Thanks for bringing this up, Frank. Since many of us are "educators," I'd like to suggest a bolder approach. Discontinue even offering the stars as an option. Sadly, we can't stop reporting p-values, as the world expects them, but does R need to cater to that attitude by offering star display? F

Re: [Rd] SUGGESTION: Add get/setCores() to 'parallel' (and command line option --max-cores)

2012-12-15 Thread Norm Matloff
On Sat, Dec 15, 2012 at 10:58:34PM -0500, Simon Urbanek wrote: > On Dec 15, 2012, at 7:38 PM, Norm Matloff wrote: > > Even if one has the entire machine to oneself, there is often > > another very good reason not to use the maximum number of cores: > > Using the maximu

Re: [Rd] SUGGESTION: Add get/setCores() to 'parallel' (and command line option --max-cores)

2012-12-15 Thread Norm Matloff
Henrik Bengtsson wrote: ^ In the 'parallel' package there is detectCores(), which tries its best ^ to infer the number of cores on the current machine. This is useful ^ if you wish to utilize the *maximum* number of cores on the machine. ^ Several are using this to set the number of cores when p

Re: [Rd] GPU Computing

2012-08-21 Thread Norm Matloff
Oops, sent to the wrong list (again), sorry. Date: Tue, 21 Aug 2012 13:54:48 -0700 From: Norm Matloff To: r-sig-...@r-project.org Subject: Re: [R-sig-hpc] GPU Computing Peter Chausse wrote: > I am looking for a function similar to mclapply() that would work with > GPU cores. I have loo

Re: [Rd] Use GPU in R with .Call

2012-07-22 Thread Norm Matloff
[Sorry, originally sent to wrong list.] I'm not exactly sure what you are asking, Raymond, but this may answer your question. Say you have a file x.cu. After compiling with nvcc -c as you did, then do something like this: setenv PKG_LIBS "-L/usr/local/cuda/lib -lcudart" R CMD SHLIB x.o -o x.so

Re: [Rd] bug (or feature) in alpha 2.13?

2011-03-27 Thread Norm Matloff
Thanks very much, Duncan. Norm On Sun, Mar 27, 2011 at 08:57:08AM -0400, Duncan Murdoch wrote: > Fixed now. Because of the internal change to srcref records > > \item \code{"srcref"} attributes now include two additional > line number values, recording the line numbers in the order

[Rd] bug (or feature) in alpha 2.13?

2011-03-26 Thread Norm Matloff
here should be information on the line number at which the user code blew up. It's there in 2.12, but not in 2.13, from what I can see. Norm Matloff __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] GUI's and R background processes

2010-12-17 Thread Norm Matloff
want. Look at Auction.R too. You may also find my UseR! presentation on Rdsm to be helpful, user2010.org/slides/Matloff.pdf You could do the same thing, though less directly and I believe less conveniently, using some of the packages Louis mentioned, as well as bigmemory. Norm Matloff

Re: [Rd] full copy on assignment?

2010-04-04 Thread Norm Matloff
Thanks very much. By the way, I tried setting a GDB breakpoint at duplicate1(), with the following: > x <- 1:1000 > x[3] <- 8 > x[33] <- 88 I found that duplicate1() was called on both of the latter two lines. I was a bit surprised, since change-on-write would seem to imply that copyin

Re: [Rd] full copy on assignment?

2010-04-03 Thread Norm Matloff
Thanks, Martin and Duncan, for the quick, cleary replies. Norm __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] full copy on assignment?

2010-04-03 Thread Norm Matloff
ewhere 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 ___