my list al is as below:
mylist=list(c(2,3),5,7)
> mylist
[[1]]
[1] 2 3

[[2]]
[1] 5

[[3]]
[1] 7

How could I get the following FOUR lists:

First one
[[1]]
[1] 3

[[2]]
[1] 5

[[3]]
[1] 7

Second one
[[1]]
[1] 2

[[2]]
[1] 5

[[3]]
[1] 7

Third One
[[1]]
[1] 2 3

[[2]]
[1] 7

Last one
[[1]]
[1] 2 3

[[2]]
[1] 5

Do I have to use 'for' loops? Please give me sone suggestions!

Thank you all!!!!!

	[[alternative HTML version deleted]]

