The R Project SVN R

Rev

Rev 61160 | Rev 65999 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61160 Rev 61433
Line 105... Line 105...
105
 
105
 
106
  These functions check for a user interrupt every 1000 lines of output.
106
  These functions check for a user interrupt every 1000 lines of output.
107
 
107
 
108
  If \code{file} is a non-open connection, an attempt is made to open it
108
  If \code{file} is a non-open connection, an attempt is made to open it
109
  and then close it after use.
109
  and then close it after use.
110
  
110
 
111
  To write a Unix-style file on Windows, use a binary connection
111
  To write a Unix-style file on Windows, use a binary connection
112
  e.g. \code{file = file("filename", "wb")}.
112
  e.g. \code{file = file("filename", "wb")}.
113
}
113
}
114
\section{CSV files}{
114
\section{CSV files}{
115
  By default there is no column name for a column of row names.  If
115
  By default there is no column name for a column of row names.  If
Line 132... Line 132...
132
 
132
 
133
  These wrappers are deliberately inflexible: they are designed to
133
  These wrappers are deliberately inflexible: they are designed to
134
  ensure that the correct conventions are used to write a valid file.
134
  ensure that the correct conventions are used to write a valid file.
135
  Attempts to change \code{append}, \code{col.names}, \code{sep},
135
  Attempts to change \code{append}, \code{col.names}, \code{sep},
136
  \code{dec} or \code{qmethod} are ignored, with a warning.
136
  \code{dec} or \code{qmethod} are ignored, with a warning.
137
  
137
 
138
  CSV files do not record an encoding, and this causes problems if they
138
  CSV files do not record an encoding, and this causes problems if they
139
  are not ASCII for many other applications.  Windows Excel 2007/10 will
139
  are not ASCII for many other applications.  Windows Excel 2007/10 will
140
  open files (e.g. by the file association mechanism) correctly if they
140
  open files (e.g. by the file association mechanism) correctly if they
141
  are ASCII or UTF-16 (use \code{fileEncoding = "UTF-16LE"}) or perhaps in
141
  are ASCII or UTF-16 (use \code{fileEncoding = "UTF-16LE"}) or perhaps in
142
  the current Windows codepage (e.g. \code{"CP1252"}), but the
142
  the current Windows codepage (e.g. \code{"CP1252"}), but the