Hi all:
I’m using Stata 13.1. I’m trying to create a codebook for several variables with an appendix showing a list of values and frequencies, using the following command:
. codebook2 *ethnic*, header type(appx)
[Edit: This is a user-written command from SSC.]
Stata goes through the standard codebook2 output, for example:
--------------------------------------------------------------------------------
variable name: aeethnic08
variable label: Ethnicity, Aprenda Environment 2007-08
type: numeric
range: 1 to 5
unique values: 5
missing obs: 364904
The list of values for this variable is in the Appendix
--------------------------------------------------------------------------------
But when Stata gets to the point where it should list the Appendix, I get the following error message:
I/O error writing .dta file
Usually such I/O errors are caused by the disk or file system being full.
r(693);
I am working with a large data set (about 18GB), but the data read into Stata with no problems, and I still have plenty of disk storage space (at least 36GB) and 3GB of memory remaining. I have the same problem when I try the same command for only one variable, so I don’t think it’s the number of variables that is the problem. When I try the command without the -type(appx)- option, I have no problems, and have not found this problem with any other Stata command. So there is something going wrong with the -type(appx)- part of this command. I’m guessing that Appendix writes something to the .dta file, and whatever this is uses a lot of disk storage space?
Does anyone have any ideas about what is going wrong, and what I can do to fix this? Thanks, Holly
I’m using Stata 13.1. I’m trying to create a codebook for several variables with an appendix showing a list of values and frequencies, using the following command:
. codebook2 *ethnic*, header type(appx)
[Edit: This is a user-written command from SSC.]
Stata goes through the standard codebook2 output, for example:
--------------------------------------------------------------------------------
variable name: aeethnic08
variable label: Ethnicity, Aprenda Environment 2007-08
type: numeric
range: 1 to 5
unique values: 5
missing obs: 364904
The list of values for this variable is in the Appendix
--------------------------------------------------------------------------------
But when Stata gets to the point where it should list the Appendix, I get the following error message:
I/O error writing .dta file
Usually such I/O errors are caused by the disk or file system being full.
r(693);
I am working with a large data set (about 18GB), but the data read into Stata with no problems, and I still have plenty of disk storage space (at least 36GB) and 3GB of memory remaining. I have the same problem when I try the same command for only one variable, so I don’t think it’s the number of variables that is the problem. When I try the command without the -type(appx)- option, I have no problems, and have not found this problem with any other Stata command. So there is something going wrong with the -type(appx)- part of this command. I’m guessing that Appendix writes something to the .dta file, and whatever this is uses a lot of disk storage space?
Does anyone have any ideas about what is going wrong, and what I can do to fix this? Thanks, Holly
Comment