similar to: R-alpha: Patch2

Displaying 20 results from an estimated 7000 matches similar to: "R-alpha: Patch2"

2009 May 08
1
anyDuplicated(incomp=NA) fails
With today's R 2.10.0(devel) I get: > anyDuplicated(c(1,NA,3,NA,5), incomp=NA) # expect 0 Warning: stack imbalance in 'anyDuplicated', 20 then 21 Warning: stack imbalance in '.Internal', 19 then 20 Warning: stack imbalance in '{', 17 then 18 [1] 0 > anyDuplicated(c(1,NA,3,NA,3), incomp=NA) # expect 5 Warning: stack imbalance in 'anyDuplicated', 20 then 21
2006 May 17
1
protect/unprotect howto in C code
Hi, Im currently trying to debug a 'error in unprotect: stack imbalance' problem and I am curious about two basic questions on the use of PROTECT and UNPROTECT, which I could not figure out: - which objects have to be protected, namely, if the code is something like: SEXP fun, e; /* get the expression e ... */ fun = eval(e, R_GlobalEnv); /* or like this?: PROTECT(fun = eval(e,
2002 Jan 09
1
bug in read.table?
Hello, in the new Relase (1.4) i get a different (worser) result for read.table with as.is=T: it crash! Input file (t.txt, with a name, 5 character and a numeric column) Name short kind logable use save lag m "mo" "x" "n" "1" "n" 0 Ptp "PT" "l" "y" "m" "n" 0 R-Code
2001 Dec 25
1
read.table (PR#1227)
Full_Name: Antonio Possolo Version: 1.4.0 OS: Linux Submission from: (NULL) (24.25.141.205) ## inputFile has the following three lines (each without the initial ``## '') ## a,b ## m,1 ## n,3 ## and resides in $HOME/R fileHOME <- paste(Sys.getenv("HOME"), "/R/", sep="") fileNAME <- "inputFile" ## Given the command, z <-
2002 Jan 03
1
type.convert() (PR#1236)
Full_Name: Don Sun Version: 1.4.0 OS: Red Hat Linux release 6.2 Submission from: (NULL) (204.178.20.14) > type.convert(letters[1:2],as.is=T) stack imbalance in internal type.convert, 7 then 6stack imbalance in .Internal, 6 then 5 [1] "a" "b" Error: unprotect(): stack imbalance > version _ platform i686-pc-linux-gnu arch i686 os
2015 Nov 23
4
Custom C finalizers for .Call
WRE explains that R_alloc() can be used to allocate memory which automatically gets released by R at the end of a .C, .Call or .External, even in the case of an error or interruption. This is a really great feature to prevent memory leaks. I was wondering if there is a way to extend this mechanism to allow for automatically running UNPROTECT and custom finalizers at the end of a .Call as well.
1997 Jun 18
1
R-beta: BATCH
Does R have the ability run in batch mode as described in the S New 'blue book'? Richard -- Richard Lammers Phone: (603) 862-4699 Complex System Research Center Fax: (603) 862-0188 University of New Hampshire email: Richard.Lammers at unh.edu Durham, NH 03824 (USA) URL: TBA
2006 Oct 01
1
stack imbalance in contour
I'm not sure if this has much significance or not -- but it sounds rather ominous. It doesn't appear to be new as it happens with 2.0.0 in Linux (but the formatting of the warning messages has improved). > contour(array(3e10, c(10,10), list(1:10, 11:20))) Warning: stack imbalance in 'contour', 20 then 24 Warning: stack imbalance in '.Internal', 19 then 23 Warning:
2004 Feb 11
1
.Call setAttrib(ans,R_DimSymbol,dim); Crashes.
Hi! I want to return a matrix. The code does the R interfacing. This version does it fine. SEXP ans,dim; PROTECT(ans = NEW_NUMERIC(count*2)); memcpy(NUMERIC_POINTER(ans),result,count*sizeof(double)); memcpy(&(NUMERIC_POINTER(ans)[count]),occur,count*sizeof(double)); /** PROTECT(dim=NEW_INTEGER(2)); INTEGER_POINTER(dim)[0]=2; INTEGER_POINTER(dim)[1]=count;
2003 Sep 01
2
File Reading Problem
Dear all, I am trying to read characters byte by byte(in their ASCII codes) from a file(already transferred from text file to a file of ASCII codes, by C language). I am using scan() function. But it seems that this is impossible. If I read data as 'character' type, data are read word by word, separated by spaces(though in default setting, sep=""). e.g. if a file contains
2013 Apr 17
1
stack imbalance in max.col for non-real matrices
It's tough to reliably reproduce, but I often get stack imbalance warnings when calling max.col() on non-real/double matrix. The code is conditionally PROTECTing but not incrementing its nprot counter for the eventual UNPROTECT. Pretty sure this would fix (but I haven't tested it): Index: array.c =================================================================== --- array.c (revision
2002 Feb 22
1
Summary: read.table on Mac OS X, CARBON vs. DARWIN
Thanks a lot, James!! The problem is fixed. On the version 1.4.0 Mac/darwin (the latest available version for this system) the function read.table (which is called from read.delim etc., too) has the bug you explained. Inserting the row nlines <- nlines+1 after lines <- c(lines, line) removes this bug. M. On Friday, February 22, 2002, at 02:33 PM, james.holtman at convergys.com
2000 Oct 23
3
behaviour of plot(...,type="l")
plot(rnorm(100000),type="l") plots only about 7e4 lines while the same without type="l" works fine. Is this a feature or a bug or is this configurable? R : Copyright 2000, The R Development Core Team Version 1.1.1 (August 15, 2000) SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1 Thanks Adrian -- Adrian Trapletti, Olsen & Associates Ltd., See- feldstrasse
2009 Jan 06
2
Strange error message
I'm testing out some changes to survreg and got the following output, the likes of which I've never seen before: ---------------------------------------------------------------------- R version 2.7.1 (2008-06-23) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it
2009 Jan 08
1
Callbacks seems to get GCed.
Dear list, I am trying to implement a publish-subscribe mechanism in for an embedded R interpreter. But somehow my registered closures seem to get collected by the GC, even though I have protected them. I have reducted my code to the following sample. Sorry if it is a little verbose. The first couple of call of calls still work, but at some point one of the callbacks (callback1 in my
2001 Aug 23
5
rsync hangs on solaris
Hi All, I've got a cron-run rsync (2.4.6) hang on both sides (solaris to solaris). The platform is: SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-80 Sorry if this has been asked before, for I couldn't find a searchable archive for this list on . Regards, Jie
2005 Oct 07
3
Building dovecot with SSL support on Solaris
Hi all, I'm just trying to build dovecot-1.0.alpha3 on a Solaris 9 machine with SSL support. No matter which options I call ./configure with - it always results in: Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : none Building with SSL support ........... : no
2009 Sep 28
5
zfs receive should allow to keep received system unmounted
zfs receive should allow option to disable immediately mount of received filesystem. In case of original filesystem have changed mountpoints, it''s hard to make clone fs with send-receive, because received filesystem immediately try to mount to old mountpoint, that locked by sourcr fs. In case of different host mountpoint can be locked by unrelated filesystem. Can anybody recommend a
2002 Feb 12
4
Rsync with script
Hi, I am trying to mirror a server every night using rsync. I have to backup multiple directories and multiple individual files. I also want to use ssh as transport. The problem is that I cannot get ssh to work without asking password for each step. I tried the public key thing but it doesnt work. Can some one give instructions for a layman like me. Also I want to know how to pass argument to
1999 Nov 19
0
[patch2, 1.2pre13] solaris 7 patch for bsd-login.c
Solaris 7 doesn't have a ut_host element in utmp...patch let's bsd-login.c compile with this knowledge: *** openssh-1.2pre13.orig/bsd-login.c Fri Nov 19 00:32:34 1999 --- openssh-1.2pre13/bsd-login.c Fri Nov 19 14:23:49 1999 *************** *** 40,45 **** --- 40,46 ---- static char *rcsid = "$Id: bsd-login.c,v 1.1 1999/11/19 04:32:34 damien Exp $"; #endif /*