Re: [R] export only if data is available

2013-02-08 Thread Ben Tupper
Hi, On Feb 8, 2013, at 2:49 AM, Mat wrote: > Hello together, > > i have a problem with an export. > I want to export a data.frame, only if there ist data in it. > My data.frame (CO.PHB) ist empty but with this code, the .txt-file gets > exported every time, with no content. > > { > pfad<-paste(

[R] export only if data is available

2013-02-08 Thread Mat
Hello together, i have a problem with an export. I want to export a data.frame, only if there ist data in it. My data.frame (CO.PHB) ist empty but with this code, the .txt-file gets exported every time, with no content. { pfad<-paste(paste(paste("C:/Test/","Reminder",sep=""), "Orders",sep="/"),"t