Thanks Ivan! You've solved my problem!! -- View this message in context: http://r.789695.n4.nabble.com/Getting-the-source-file-s-name-where-the-custom-function-is-written-tp3343135p3343197.html Sent from the R help mailing list archive at Nabble.com.