Or
lapply(LIST, cat, file='outtext.txt', append=TRUE)
On Thu, Mar 1, 2012 at 6:20 AM, R. Michael Weylandt
wrote:
> Perhaps something like
>
> sink("outtext.txt")
> lapply(LIST, print)
> sink()
>
> You could replace print with cat and friends if you wanted more
> detailed control over the look of
Perhaps something like
sink("outtext.txt")
lapply(LIST, print)
sink()
You could replace print with cat and friends if you wanted more
detailed control over the look of the output.
Michael
On Thu, Mar 1, 2012 at 5:28 AM, wrote:
> Dear R users,
>
> Is it possible to write the following list to
Dear R users,
Is it possible to write the following list to a text-file?
List:
[[1]]
[1] 500
[[2]]
[1] 1
[[3]]
[,1] [,2] [,3] [,4] [,5]
FID12345
Var20211
I would like to have the textfile look like this:
500
1
FID 1 2 3 4 5
Var 2 0 2 1 1
3 matches
Mail list logo