Hi I work with cmsaf package and have a script for prepare data in R. I run this script and have some error like this:Error in if (startdate < dates[1]) (dums <- 1) : missing value where TRUE/FALSE needed In addition: Warning messages: 1: running command 'tar.exe -tf "D:/CM SAF/ORD24552.tar"' had status 2 2: In eval(ei, envir) : NAs introduced by coercion 3: In eval(ei, envir) : NAs introduced by coercion 4: In eval(ei, envir) : NAs introduced by coercion 5: running command 'tar.exe -tf "D:/CM SAF/ORD24552.tar"' had status 2 6: In eval(ei, envir) : NAs introduced by coercion
I dont know how to solve this problem.Can you help me? I attached this script. Best Regards Nooshin ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.