search for: radford

Displaying 20 results from an estimated 136 matches for "radford".

2010 Oct 18
1
make error for R 2.13.0 (and 2.12.0)
...ing to install the released version of 2.12.0. Here is the output on an Ubuntu Linux system: begin installing recommended package cluster * installing *source* package 'cluster' ... ** libs make[3]: Entering directory `/tmp/RtmpWX7ecF/R.INSTALL2aaf76ad/cluster/src' gcc -std=gnu99 -I/u/radford/R/R-2.12.0-rel2/include -I/usr/local/include -fpic -g -O2 -c clara.c -o clara.o g77 -fpic -g -O2 -c daisy.f -o daisy.o g77 -fpic -g -O2 -c dysta.f -o dysta.o gcc -std=gnu99 -I/u/radford/R/R-2.12.0-rel2/include -I/usr/local/include -fpic -g -O2 -c fanny.c -o fanny.o gcc -std=gnu99 -I...
2011 Feb 01
1
dotchart {graphics} 2.11.1 vs. 2.12.1
...> dotchart(race2) > dotchart(race2, pch=17,col="red") Each of these worked in 2.11.1 but not in 2.12.1; What changed in the {graphics} package to alter this and is there a work-around? Isaac T. Van Patten, Ph.D. Professor of Criminal Justice 307 Adams Street, Office 1A Box 6934, Radford University Radford, VA 24142 (540)831-6737 ivanpatt at radford.edu http://ivanpatt.asp.radford.edu It doesn't matter how beautiful your theory is; It doesn't matter how smart you are; If it doesn't agree with the [data], its wrong. -Richard Fe...
2008 Aug 28
2
Spider Graph
Is there an R function to generate a radar or spider graph from a table - e.g. radar(table(x)) or some such? ================================================== Isaac T. Van Patten, Ph.D. Professor Department of Criminal Justice Box 6934, Radford University Radford, VA 24142 540-831-6148 ivanpatt@radford.edu <mailto:ivanpatt@radford.edu> http://ivanpatt.asp.radford.edu <http://ivanpatt.asp.radford.edu> The hottest places in hell are reserved for those who, in time of great moral crisis, maintain their neutrality. -...
2015 Aug 21
2
OpenMP problem with 64-bit Rtools
...I can see, there is no 64-bit version of this include file in the stuff installed with Rtools. This problem obviously has the potential to affect many packages that use OpenMP, though simple OpenMP applications may not do anything for which the incorrect omp.h include file makes a difference. Radford Neal
2015 Jun 13
2
Lack of protection bug in current R release candidate
...c("a", NA, "b") factor(x) factor(x, exclude="") The solution (kludgy, but the whole concept is kludgy) is to forward R_print.na_string and R_print.na_string_noquote with the other "roots" in RunGenCollect (after the comment /* forward all roots */). Radford Neal
2018 May 03
2
Proposed speedup of ifelse
...functions in a way where it is unclear that garbage collection time will be fairly attributed. Also, it's a bit silly to plot the distributions of times, which will mostly reflect variations in when garbage collections at various levels occur - just the mean is what is relevant. Regards, Radford Neal
2015 Jun 15
1
Lack of protection bug in current R release candidate
...during alpha or beta > testing phase (or even before). I'm not sure what you mean to imply here, but for your information, I reported the bug to r-devel within about an hour of finding what caused it. (I'd noticed the symptoms a few days before, but hadn't isolated the cause.) Radford Neal
2015 Jun 17
1
Add-on argument in sample()
...rrays are (I think) not very common at present. A bigger gain would come if one also introduced a new sequence operator that creates a sequence that is marked as a one-dimensional array, which would be part of a solution to several other problems as well, as I propose at http://www.cs.utoronto.ca/~radford/ftp/R-lang-ext.pdf Radford Neal
2016 Sep 09
3
R (development) changes in arith, logic, relop with (0-extent) arrays
> Radford Nea: > > So it may make more sense to move towards consistency in the > > permissive direction, rather than the restrictive direction. > > > That would mean allowing matrix(1,1,1) < (1:2), and maybe also things > > like matrix(1,2,2)+(1:8). > >...
2015 Jul 14
3
Two bugs showing up mostly on SPARC systems
In testing pqR on Solaris SPARC systems, I have found two bugs that are also present in recent R Core versions. You can see the bugs and fixes at the following URLs: https://github.com/radfordneal/pqR/commit/739a4960a4d8f3a3b20cfc311518369576689f37 https://github.com/radfordneal/pqR/commit/339b7286c7b43dcc6b00e51515772f1d7dce7858 The first bug, in nls, is most likely to occur on a 64-bit big-endian system, but will occur with low probability on most platforms. The second bug, in r...
2018 May 08
1
Proposed speedup of ifelse
...;m correct about the ans[nas] = NA being redundant and we're able to remove that as well. I'm happy to submit this as a patch and share credit if that is ok with you. Let me know. Best, On Thu, May 3, 2018 at 9:58 PM, Hugh Parsonage <hugh.parsonage at gmail.com> wrote: > Thanks Radford. I concur with all your points. I've attempted to address > the issues you raised through the github.io post. The new method appears > to be slower for test lengths < 100 and possibly longer lengths (not just < > 10). Of course length(test) < 100 is very quick, so I simply ad...
2015 Jun 15
0
Lack of protection bug in current R release candidate
>>>>> Radford Neal <radford at cs.toronto.edu> >>>>> on Sat, 13 Jun 2015 17:24:04 -0400 writes: > The current R release candidate has a lack of protect bug > (of very long standing) [ but not really reported, right ? ] > with respect to the > R_print.na_s...
2018 May 04
0
Proposed speedup of ifelse
Thanks Radford. I concur with all your points. I've attempted to address the issues you raised through the github.io post. The new method appears to be slower for test lengths < 100 and possibly longer lengths (not just < 10). Of course length(test) < 100 is very quick, so I simply added this to the...
2017 Mar 19
3
RFC: (in-principle) native unquoting for standard evaluation
...ht then be used by many)? If the later, it seems undesirable to me. There is an opportunity cost to grabbing the presently-unused unary @ operator for this, in that it might otherwise be used for some other extension. For example, see the last five slides in my talk at http://www.cs.utoronto.ca/~radford/ftp/R-lang-ext.pdf for a different proposal for a new unary @ operator. I'm not necessarily advocating that particular use (my ideas in this respect are still undergoing revisions), but the overall point is that there may well be several good uses of a unary @ operator (and there aren't ma...
2011 Jul 25
2
Best practices for writing R functions (really copying)
..."); print(system.time( { A[1,1]<-7; 0 } )) You'll find that the time printed after b:, d:, and g: is near zero, but that there is non-negligible time for f:. This is because sqrt is primitive but t is not, so the modification to A after the call t(A) requires that a copy be made. Radford Neal
2017 Jun 16
4
[WISH / PATCH] possibility to split string literals across multiple lines
...y thing they wouldn't do that the Python-style literals would do is allow you to put big blocks of literal text in your program, without having to put quotes around each line. But shouldn't such text really be stored in a separate file that gets read, rather than in the program source? Radford Neal
2015 Feb 18
3
Recycling memory with a small free list
...bject on the PROTECT stack, even though no one should actually be looking at it any more. In the current version of pqR (see pqR-project.org), modifications are (often) done in place for statements such as w = w * Q, but not curretly when the LHS variable does not appear on the RHS. Regards, Radford Neal
2016 Sep 12
1
R (development) changes in arith, logic, relop with (0-extent) arrays
...or of course going through the script trying to find the problem. This wouldn't be a disaster, but I'm not seeing the magnitude of benefit that would justify imposing this burden on users. A language specification shouldn't really be changing all the time for no particular reason. Radford Neal
2015 May 13
1
Why is the diag function so slow (for extraction)?
...matrix-like", but aren't actual matrices. help(c) explicitly says that methods for it are NOT required to convert matrices to vectors. So you're advocating slowing down all ordinary uses of diag to accommodate a usage that nobody thought was important enough to actually document. Radford Neal
2015 Jun 18
1
Improving string concatenation
...ral2" and they'll be concatenated. It is only for literals, but > still very useful. Concatenation of literal strings could easily be added to the R parser without changing anything else. (Getting them to deparse as the same two pieces would be tricky, but is maybe not necessary.) Radford Neal