[Bioc-devel] Error during wrapup, what does this mean?
Dipl.-Ing. Johannes Rainer wrote:
hi, it's again me, but i found the problem... as i am working with database connections and if an error occurs in a function call i want to roll back the whole stuff that has been written into a database, i thought to be smart and defined with
options(error=expression(.rollItBack(Con)))
where .rollItBack is a function that sends the command ROLLBACK TRANSACTION to the database. well, i did not think, that when the error occurs the object Con, which is a local variable in the function does not exist, unless the user has called the connection object also 'Con'. now i want to ask how i can define a global variable from within a function.
See ?"<<-" and ?assign HTH, Jim
cheers, jo Quoting "Dipl.-Ing. Johannes Rainer" <johannes.rainer@tugraz.at>:
hi, i am getting the error message:
Error during wrapup: Object "Con" not found
in my functions and have no idea from where this message comes (i have renamed some function arguments from 'Con' to 'con', maybe the message comes from there :) ). nevertheless i do not know where i should search for this error (as the functions work like they should...). can anybody tell me more to this error message? cheers, jo
_______________________________________________ Bioc-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
_______________________________________________ Bioc-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623