search for: fromc

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

Did you mean: from
2015 Jul 27
2
Error sql en función
...DADES_SQL = sqldf (paste ("select * from", XDADES, XWHE, sep = " ")) + return(XDADES_SQL) + } > DADES_SEL = SQL_PROVA (XDADES = birthwt, XWHE = "where age < '40'") Error in sqliteSendQuery(con, statement, bind.data) : error in statement: near "fromc": syntax error ========================== Alguien puede ayudarme y decir que estoy haciendo mal? El problema debe estar en el "paste" ya que si coloco la orden original funciona: ========================== > SQL_PROVA = function (XDADES, XWHE) + { + XDADES_SQL2 = sqldf (&quo...
2015 Jul 27
2
Error sql en función
...t;, XDADES, XWHE, sep = " ")) > > + return(XDADES_SQL) > > + } > > > DADES_SEL = SQL_PROVA (XDADES = birthwt, XWHE = "where age < '40'") > > Error in sqliteSendQuery(con, statement, bind.data) : > > error in statement: near "fromc": syntax error > > ========================== > > > > Alguien puede ayudarme y decir que estoy haciendo mal? El problema debe > > estar en el "paste" ya que si coloco la orden original funciona: > > > > ========================== > > > SQL...
2010 Apr 14
2
Why no race condition when returning UNPROTECT-ed memory from C?
Consider the C (or C++) code called from the .Call interface: SEXP foo() { SEXP *p = PROTECT(allocVector(REALSXP, 10)); ... UNPROTECT(1); return p; } Why is there no danger that the allocated memory will be garbage collected after the UNPROTECT, but before the return of p? I have used code like this for some time and have never had a problem, but I'm not sure if/why it is guaranteed