Message-ID: <CC6623A3-3FA8-4A0F-8284-8CCCBBBD09CC@comcast.net>
Date: 2011-05-07T12:58:48Z
From: David Winsemius
Subject: Exporting list with unequal length of rows
In-Reply-To: <BANLkTi=KtVtDrvx-Oz+=ZmQ2KUFEPmT-cQ@mail.gmail.com>
On May 7, 2011, at 6:54 AM, ashutosh srivastava wrote:
> Dear users
>
> I have received an output from one of the functions of igraph. The
> output is
> in the following form
> [[1]]
> [1] 1 196 94 89 92 197 0
>
> [[2]]
> [1] 1
>
> [[3]]
> [1] 1 196 97 193 4
>
> [[4]]
> [1] 1 194 97 193 4
>
> [[5]]
> [1] 1 194 97 193 4 6
>
> [[6]]
> [1] 1 196 97 193 4 6
>
> [[7]]
> [1] 1 196 97 193 4 185 7
>
> [[8]]
> [1] 1 194 97 193 4 185 7
>
> [[9]]
> [1] 1 196 97 193 188 185 7
>
> [[10]]
> [1] 1 194 97 193 188 185 7
>
> However I can not figure out how to save this output in a text file
> as all
> the write commands that i know of save lists with equal number of
> elements?
?dump
(As described in the Posting Guide as a mechanism for offering
reproducible examples which would have been desired here as well.)
--
David Winsemius, MD
West Hartford, CT