Displaying 20 results from an estimated 10000 matches similar to: "reference class internals"
2010 Apr 03
3
full copy on assignment?
Here's a basic question that doesn't seem to be completely answered in
the docs, and which unfortunately I've not had time to figure out by
wading through the R source code:
In a vector (or array) element assignment such as
z[3] <- 8
is there in actuality a full rewriting of the entire vector pointed to
by z, as implied by
z <- "[<-"(z,3,value=8)
Assume
2011 Oct 19
3
new R debugging tool
I've developed a new R debugging 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
2009 Dec 07
4
Announce: edtdbg, integrating R's debug() with your text editor
I've just developed edtdbg, a small package that integrates R's debug()
with one's text editor.
Excerpt from the README file:
Goal
The debug() function in R is primitive. My goal was to make it more
usable by integrating it with one's text editor. Hence I wrote the
package here, edtdbg. Its features include:
* As one steps from line to line of code
2010 Mar 11
2
ANNOUNCE--Rdsm package, a threads-like environment for R
My long-promised Rdsm package is now on CRAN. Some of you may recall
that I made a prototype available on my own Web page last July. This is
the official version, much evolved since I released the prototype.
The CRAN description states:
Provides a threads-like programming environment for R, usable both on
a multicore machine and across a network of multiple machines. The
package
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
I find the R debug package very useful. I've installed and used it on
several of the machines I use, without problems, but on one machine I
get the following error:
Loading required package: mvbutils
Loading required package: utils
MVBUTILS: no "tasks" vector found in ROOT
Loading required package: tcltk
Loading Tcl/Tk interface ... done
[Previously saved
2007 May 15
5
Problem with RJS and/or Prototype.js =>ResponseText is blank
Hi, I''ve got a real head-scratcher. I''ve got a standard Ajax form using
form_remote_tag, which calls a controller action which adds a comment
and then sends back some JS via RJS which updates a few items on the
page.
It did work fine but (and I''ve no idea what has happened) now it
doesn''t. It calls the controller action but gets an empty response back
and
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<-
2012 Dec 27
2
Help reading matrixmarket files
I'm trying to read data a program produces in matrixmarket array format
into R and its giving me fits. I've tried read.MM (below) and readMM (from
the Matrix package) but neither works. One of them says array format isn't
supported, the other reports something indecipherable about Fortran.
Here's the file contents. Can't get much simpler than that!
%%MatrixMarket matrix array
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)
2009 Sep 30
2
Rename Computer In Samba Domain: Access Is Denied
I am pulling my hair out trying to figure out why trying to rename my
computer joined to a Samba domain (version 3.2.3) keeps failing with
"Access is Denied". In searching I found references to people with the
same problem where the answer was to set the "rename user script"
option in smb.conf, but I have done that (not forgetting to restart
Samba) and there is no difference,
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]]
2012 May 10
2
Split the work for many cores
Dear all,
I am using my code the vgram.matrix of packets fields. I have around 500 matrices that I need to pass inside that function and then plot those results.
Even though my system has 16 cores is quite clear that I am only using one of those.
Would it be able to skip these 500 "tasks" to the 16 cores, with each processor having around 4 matrices to process?
What would you suggest
2011 Oct 13
2
[LLVMdev] Can't Bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit
I can't bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit.
It's not a test failure; instead the configure scripts break in all
kinds of mysterious yet spectacular ways. I spent a couple days
beating my head against those completely indecipherable shell scripts
then gave up for now.
Is there a buildbot that runs Ubuntu 11.04? If not may I suggest that
one be set up? A minimal Ubuntu
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
2017 Mar 16
2
Support for user defined unary functions
Martin,
Jim can speak directly to his motivations; I don't claim to be able to do
so. That said, I suspect this is related to a conversation on twitter about
wanting an infix "unquote" operator in the context of the non-standard
evaluation framework Hadley Wickham and Lionel Henry (and possibly others)
are working on.
They're currently using !!! and !! for things related to
2010 Oct 05
1
binary tree construction in R
Hi all,
I'm very new to R and I'm trying to construct a threaded binary tree using
recursive functions.
I'm very confused was wondering if anyone had any R sample code they would
share. I've come across a lot of C++ code(nothing in R) and this is not
helping.
best,
MK
--
View this message in context:
2009 Aug 31
4
Book on R programming
Most books on R I come across describe running statistical procedures in R.
Any suggestions on a good book that teaches *programming* in R?
Thanks,
Anjan
--
=============================
anjan purkayastha, phd
bioinformatics analyst
whitehead institute for biomedical research
nine cambridge center
cambridge, ma 02142
purkayas [at] wi [dot] mit [dot] edu
703.740.6939
[[alternative HTML version
2010 Nov 29
2
Significance of the difference between two correlation coefficients
Hi,
based on the sample size I want to calculate whether to correlation
coefficients are significantly different or not. I know that as a first step
both coefficients
have to be converted to z values using fisher's z transformation. I have
done this already but I dont know how to further proceed from there.
unlike for correlation coefficients I know that the difference for z values
is
2006 Oct 25
1
Drawing a reference line for a qqplot with reference to Weibull distribution
Hi,
I'm trying to create a qqplot with reference to a Weibull distribution
including a reference line. This is my current code:
lights.data <- scan("lights.dat")
#Generate Weibull quantiles
prob.grid <- ppoints(length(lights.data))
prob.quant <- qweibull(prob.grid , 1.5,4)
#Draw QQ plot
qqplot(prob.quant,lights.data)
#add red reference line
qqline(lights.data,col = 2)