Displaying 1 result from an estimated 1 matches for "pupilarea".
Did you mean:
builarea
2010 Sep 16
1
Odd graphics output problem
...trial_data = patient_data[ patient_data$Trial == trial, ]
trial_str = sprintf( "%03d", as.integer( trial ) )
path = paste( wd, ID, "/", trial_str, ".png", sep = "" )
cat( path, "\n" )
png( path )
xyplot( PupilArea ~ Offset, data = trial_data )
dev.off()
}
}
Everything runs, the cat() command displays output to the console, but
no files are created. However, if I interrupt the script with control-C and
execute the png(), xyplot(), and dev.off() commands manually, the
appropriate plot image...