Hi , When a R session runs , it creates a temporary directory . I am using R_CleanTempDir() to clean it up . It looks like its not working properly . So what exactly is going on here is , my example is main() start______R______Interpreter while(1) { execute R scripts using R_parseVector and R_tryEval . . break; } R_cleanup_tempDir() R_session_End() So is the Rtemp directory created in every R_Tryeval call ? The R temporary file looks like this RtmpzgKWqU: RtmpzieK01: RtmpzleSGb: RtmpzqlvWS: Thanks, Sandip [[alternative HTML version deleted]]