Re: [R] output into an unformatted direct fortran file

2008-01-07 Thread Richard . Cotton
> Is there a way to output data into a file like the unformatted, direct > fortran files? That's the kind that can be opened with: It sounds like you want to use cat(), e.g. cat("x = ", 1:10, file="test.txt") See also write for outputting matices to file; and write.table and write.csv for data f

Re: [R] output into an unformatted direct fortran file

2008-01-07 Thread Prof Brian Ripley
On Mon, 7 Jan 2008, Costas Douvis wrote: > Hello everybody > > Is there a way to output data into a file like the unformatted, direct > fortran files? That's the kind that can be opened with: > > open(30, file='file', format='unformatted', access='direct', rec=1000, > convert='big endian') Fortra

[R] output into an unformatted direct fortran file

2008-01-07 Thread Costas Douvis
Hello everybody Is there a way to output data into a file like the unformatted, direct fortran files? That's the kind that can be opened with: open(30, file='file', format='unformatted', access='direct', rec=1000, convert='big endian') Thank you in advance Kostas Douvis