search for: nsink

Displaying 3 results from an estimated 3 matches for "nsink".

Did you mean: sink
2012 Feb 01
3
Crash in R using embedded.
...f_initialize_R(sizeof(R_argv)/sizeof(R_argv[0]), const_cast<char **>(R_argv)); setup_Rmainloop(); ParseStatus status; SEXP cmdSexp, cmdexpr = R_NilValue; int error; string rcommand = "f<-file(paste(tempdir(), \"/Routput.txt\", sep = \"\"), open=\"wt+\")\nsink(f)\n"; PROTECT(cmdSexp = allocVector(STRSXP, 1)); SET_STRING_ELT(cmdSexp, 0, mkChar(rcommand.c_str())); cmdexpr = PROTECT(R_ParseVector(cmdSexp, -1, &status, R_NilValue)); for(int i = 0; i < length(cmdexpr); i++) { R_tryEval(VECTOR_ELT(cmdexpr, i),NULL,&error); } UNPROTECT(2...
2005 Sep 18
0
Updated rawConnection() patch
...env)) + makeActiveBinding(object, function(v) .Internal(grabOutput(con)), env) + } + con } seek <- function(con, ...) --- ./src/main/connections.c.orig 2005-08-29 17:47:35.000000000 -0700 +++ ./src/main/connections.c 2005-09-18 11:54:49.752647400 -0700 @@ -59,7 +59,6 @@ #define NSINKS 21 static Rconnection Connections[NCONNECTIONS]; -static SEXP OutTextData; static int R_SinkNumber; static int SinkCons[NSINKS], SinkConsClose[NSINKS], R_SinkSplit[NSINKS]; @@ -76,16 +75,6 @@ return i; } -static int ConnIndex(Rconnection con) -{ - int i; - for(i = 0; i < NC...
2004 Mar 25
1
Error : sink stack is full
Hello, I have implemented a method which uses sink to follow the progression status of an iterative process (Below is part of the code) I have already used such kind of code with no problem. Today, I get a "sink stack is full" error. I wonder if it could be linked with the fact that my .RData has a large size (around 7 Mo) ??? I hope that someone can help me ... Thanks in advance