Hello, I am trying to export the results from symnum() while maintain their readability. I tried using sink to text file and also copying and pasting but the results end up looking like this:> symnum(c5.s)bC bED bEN bLP bLS bPA bPD bPR p bbContag 1 bbED + 1 bbENN_MN + B 1 bbLPI , , , 1 bbLSI + B B , 1 bbPAFRAC , * * , * 1 bbPD , B B , B B 1 bbPROX_MN + B B , B * * 1 pfor 1 attr(,"legend") Is there a way I can get these out of R with their readability intact so I can share them with non-R users? Is it possible to export the way things look in View() ? Thanks, Michael Just [[alternative HTML version deleted]]
Michael Just wrote:> > Hello, > I am trying to export the results from symnum() while maintain their > readability. I tried using sink to text file and also copying and pasting > but the results end up looking like this: > >> symnum(c5.s) > bC bED bEN bLP bLS bPA bPD bPR p > bbContag 1 > bbED + 1 > bbENN_MN + B 1 > bbLPI , , , 1 > bbLSI + B B , 1 > bbPAFRAC , * * , * 1 > bbPD , B B , B B 1 > bbPROX_MN + B B , B * * 1 > pfor 1 > attr(,"legend") > > > Is there a way I can get these out of R with their readability intact so I > can share them with non-R users? Is it possible to export the way things > look in View() ? >write.csv works, e.g. write.csv(symnum(c5.s), "test.csv") ----- Regards, Richie. Mathematical Sciences Unit HSL -- View this message in context: http://www.nabble.com/Exporting-symnum%28%29-result-from-cor%28%29-tp19895075p19897840.html Sent from the R help mailing list archive at Nabble.com.
Perhaps save the file as a csv (?write.table) and present the results in a spreadsheet or word processor table? --- On Thu, 10/9/08, Michael Just <mgjust at gmail.com> wrote:> From: Michael Just <mgjust at gmail.com> > Subject: [R] Exporting symnum() result from cor() > To: "r-help" <r-help at r-project.org> > Received: Thursday, October 9, 2008, 5:04 AM > Hello, > I am trying to export the results from symnum() while > maintain their > readability. I tried using sink to text file and also > copying and pasting > but the results end up looking like this: > > > symnum(c5.s) > bC bED bEN bLP bLS bPA bPD bPR p > bbContag 1 > bbED + 1 > bbENN_MN + B 1 > bbLPI , , , 1 > bbLSI + B B , 1 > bbPAFRAC , * * , * 1 > bbPD , B B , B B 1 > bbPROX_MN + B B , B * * 1 > pfor 1 > attr(,"legend") > > > Is there a way I can get these out of R with their > readability intact so I > can share them with non-R users? Is it possible to export > the way things > look in View() ? > > Thanks, > Michael Just > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code.