Stata import spss portable

broken image
broken image
broken image

'Read' R data that have been 'written'ĭata can be saved to disk with the write.table command, which basically works like this: write.table(name-of-object, 'name-of-file'). Therefore we must deal with this aspect as well. How to read data files that have been created (and saved) via R depends on the specific way the file has been created. In what follows, I try to indicate whether you can assume that data will be available as a ame or not. However, ame is a name for a specific class of objects sometimes what we would ordinarily call a data file is, for R, just a 'matrix', and then again it might be a totally different and very special object. Note that in R parlance, a data file is called a 'data frame'. Be prepared to find a lot of stuff here that is rather tedious. It also depends on a number of other factors. The specific command to be used to read data depends on the format in which data are available. Even though you may enter data in R via a built-in spreadsheet (the command is newdata <- edit(ame())), data will normally be available as an external file.

broken image