How to save output of a function?

Hii, I'm new to R studio.
I am just using one package (huge) and my code goes as follows

L= huge.generator(graph = "hub", g = 6, vis = TRUE)

In global environment (I'm getting this List of 7)

I just want save that Omega matrix in csv format.
How can I save that?


write.csv(L$omega, "Omeg.csv", row.names = FALSE)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.