Use 'sprintf' to format your data before writing out: > sprintf("%G", runif(10,1e6, 1e10)) [1] "3.67382E+09" "9.47111E+09" "1.02591E+09" "5.368E+09" "8.17346E+08" "2.89006E+09" "6.62398E+09" "1.29721E+09" "9.99348E+09" [10] "6.73539E+09"
On Wed, Aug 5, 2009 at 8:05 AM, Wittmer, Irene<irene.witt...@eawag.ch> wrote: > > Dear Helpers, > > I would like to export a large dataset to a txt file in order to use it > in an other programm. > Unfurtunatly the R the scientific format is a small e: > > 2 e-1 > > while the other programm requires the format to be a capital E: > > 2E-1 > > How can I change this in R? > > Thanks for your help > > PS: I already found the command to turn them into a non scientific > format (scientific=FALSE) > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > 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. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ R-help@r-project.org mailing list 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.