similar to: Possible bug in R parser

Displaying 20 results from an estimated 6000 matches similar to: "Possible bug in R parser"

2010 Feb 19
1
Fix for incorrect use of restrict in xz third party code
Hello, the included XZ Utils source code contains an incorrect use of the restrict keyword. This leads to data corruption under certain circumstances. For a short discussion of the problem see http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/3306733 This was fixed in the XZ Utils git repository in commit commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef Author: Lasse
2004 Jan 06
1
Grouping data.frames
Hello all, I'm new to R (and the S language in general) so go easy on me if this is really simple. Given a data.frame df which looks like this: f1 f2 f3 f4 c1 c2 1 y y a b 10 20 2 n y b a 20 20 3 n n b b 8 10 4 y n a a 30 5 I'd like to aggregate it by the factors f1 and f2 (or f2 and f3, or any other combination of the three) and compute the sum of c1 and c2 (as separate values). I
2005 Jul 08
3
pairs() uses col argument for axes coloring
Hi list, not sure if this is the wanted behavior, but running the following code: > version platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.1 year 2005 month 06 day 20 language R > n <- 500 > d <- 4 > m <- matrix(runif(n*d, -1, 1), ncol=d) > c <- hsv(apply(m, 1, function(x) {sum(x*x)/d}),
2005 Jul 08
3
pairs() uses col argument for axes coloring
Hi list, not sure if this is the wanted behavior, but running the following code: > version platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.1 year 2005 month 06 day 20 language R > n <- 500 > d <- 4 > m <- matrix(runif(n*d, -1, 1), ncol=d) > c <- hsv(apply(m, 1, function(x) {sum(x*x)/d}),
2010 Aug 30
1
Surprising behavior of Negate()
Dear R-developers, I find the current behavior of Negate() somewhat confusing. It does not match the passed function 'f' until the returned function is called for the first time. To see an example of what this can do see the following (contrived) example: f <- function(x) is.integer(x) not_f <- Negate(f) f <- function(x) is.character(x) ## Both should, in my mind,
2004 Aug 19
2
How to randomize a set of integers in R
Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received-SPF: none (hypatia: domain of sokamp at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch X-Spam-Level: *** X-Spam-Status: No, hits=3.2 required=5.0
2008 Dec 27
1
Patch to fix small bug in do_External and do_dotcall
I've stumbled upon a small bug/inconsitency in do_External and do_dotcall: Here's an example: % LC_ALL=C R --vanilla < symname-bug.R R version 2.8.0 (2008-10-20) *snip* > options(error=expression(0)) > ## Call 'R_GD_nullDevice' with incorrect parameter count: > .Call("R_GD_nullDevice", 1) Error in .Call("R_GD_nullDevice", 1) :
2012 May 20
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * bisectr (0.0.2) Maintainer: Winston Chang Author(s): Winston Chang <winston at stdout.org> License: GPL-2 http://crantastic.org/packages/bisectr Tools to find bad commits with git bisect * CUMP (1.0) Maintainer: Xuan Liu Author(s): Xuan Liu <liuxuan at bu.edu> and Qiong Yang <qyang at bu.edu>
2009 Feb 10
2
Logical Error? (PR#13516)
Full_Name: Suzi Alves Camey Version: 2.7.2 OS: Submission from: (NULL) (143.54.37.254) Using the commands bellow I expected that the answer is TRUE, but it is FALSE! P_exposicao=.9 (1-P_exposicao)==.1
2009 Jul 16
1
model.matrix memory problem (PR#13838)
Hi, `model.matrix' might kill R with a segfault (on a illposed problem, but anyway): mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100))) f <- as.formula(paste("~ - 1 + ", paste(names(mydf), collapse = ":"), sep = "")) X <- model.matrix(f, data = mydf) *** caught segfault *** address 0x18, cause 'memory not mapped' Segmentation fault
2009 Jul 09
2
Improvement of [dpq]wilcox functions
Hi, I believe I have significantly improved [dpq]wilcox functions by implementing Harding's algorithm: Harding, E.F. (1984): An Efficient, Minimal-storage Procedure for Calculating the Mann-Whitney U, Generalized U and Similar Distributions, App. Statist., 33, 1-6 Results on my computer show (against R-2.9.1): > system.time( dwilcox( 800, 800, 80) ) user system elapsed 0.240
2011 Feb 25
0
R 2.12.2 is released
I've rolled up R-2.12.2.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues, and one major issue in which complex arithmetic was being messed up on some compiler platform. You can get it from http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will
2011 Feb 25
0
R 2.12.2 is released
I've rolled up R-2.12.2.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues, and one major issue in which complex arithmetic was being messed up on some compiler platform. You can get it from http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will
2010 May 31
1
R 2.11.1 is released
I've rolled up R-2.11.1.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues. The most annoying one was probably the problem with format.POSIXlt causing C stack overflow on long date vectors. See the full list of changes below. You can get it from http://cran.r-project.org/src/base/R-2/R-2.11.1.tar.gz or wait for it to be mirrored at a CRAN site
2010 May 31
1
R 2.11.1 is released
I've rolled up R-2.11.1.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues. The most annoying one was probably the problem with format.POSIXlt causing C stack overflow on long date vectors. See the full list of changes below. You can get it from http://cran.r-project.org/src/base/R-2/R-2.11.1.tar.gz or wait for it to be mirrored at a CRAN site
2011 Oct 28
4
Contrasts with an interaction. How does one specify the dummy variables for the interaction
Forgive my resending this post. To data I have received only one response (thank you Bert Gunter), and I still do not have an answer to my question. Respectfully, John Windows XP R 2.12.1 contrast package. I am trying to understand how to create contrasts for a model that contatains an interaction. I can get contrasts to work for a model without interaction, but not after adding the
2008 Dec 18
0
DTrace probes for R
I've integrated some DTrace [1] probes into R. Namely a probe which fires on fuction entry and return and one which fires before / after a garbage collection. Is there any interest in merging something like this into R-devel? If yes, I'd like to discuss which probes and what data would be useful / interesting from a developers standpoint. Greetings from Dortmund, Olaf Mersmann [1]
2011 Jan 03
2
error in calling source(): invalid multibyte character in parser
Being italians when writing comments/instructions we use accented letters - like ?, ?, ?, etc.... when running R scripts using such characters I get and error saying: invalid multibyte character in parser I have been looking at the help and searched the r-help archives but I haven't find anything that I could intelligibly apply to my case. Can anyone suggest a fix for this error? Thanks,
2004 Dec 12
12
switching to Linux, suggestions?
Dear List, I have acquired a new desktop and wanted to put a free OS on it. I am trying Fedora Core 1, but not sure what the best Linux OS is for using R 2.0.1? Thank you in advance for your input, Tom Volscho ************************************ Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882
2009 Aug 24
0
R 2.9.2 is released
I've rolled up R-2.9.2.tar.gz a short while ago. This is a maintenance release and fixes a number of mostly minor issues. See the full list of changes below. You can get it from http://cran.r-project.org/src/base/R-2/R-2.9.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course (Duncan Murdoch is out of town, so Windows