Hi I need to remove source of the library from sweave. Please help me cat("\nlibrary(caret)",file = "abc.Rnw", append = TRUE) cat("\nlibrary(xtable)",file = "abc.Rnw", append = TRUE) i'm getting the source of the library also. can any one help ----- Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/how-to-remove-library-source-from-sweave-tp4323499p4323499.html Sent from the R help mailing list archive at Nabble.com.