Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
Thanks, Bill. Bruce __ > On May 5, 2017, at 5:54 PM, William Dunlap wrote: > > Use Google: a search for "R Reporter package" shows that the package is named > "ReporteRs". > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > >> On Fri, May 5, 2017 at 2:50 PM, BR_email wrot

Re: [R] Formatting column displays

2017-05-05 Thread William Dunlap via R-help
Use Google: a search for "R Reporter package" shows that the package is named "ReporteRs". Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, May 5, 2017 at 2:50 PM, BR_email wrote: > Jeff: > I cannot install the ReporteR package. Is there a work-around, or is the > error message correct? > T

Re: [R] Formatting column displays

2017-05-05 Thread BR_email
Jeff: I cannot install the ReporteR package. Is there a work-around, or is the error message correct? Thanks. Bruce R> install.packages("ReporteR") Installing package into ‘C:/Users/BruceRatner/Documents/R/win-library/3.3’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘Re

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
Ulrike: Thanks for the afterthought. I'll let you know if I'm successful. Thanks, again. Bruce __ > On May 5, 2017, at 10:55 AM, Ulrik Stervbo wrote: > > Hi Bruce, > > while working with data I would not touch the formatting of the columns. If > knowing the units is importan

Re: [R] Formatting column displays

2017-05-05 Thread Ulrik Stervbo
Hi Bruce, while working with data I would not touch the formatting of the columns. If knowing the units is important, you can add it to the column name rather than the values of the columns. For presentation purposes - where everything is turned into strings - it is a different story. Once you ar

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
Jeff: Thanks for reply. I will follow your lead. Thanks. Bruce __ > On May 5, 2017, at 9:15 AM, Jeff Newmiller wrote: > > Data frames are primarily data storage objects, not data display objects. You > can create a separate version of your data frame with formatted text strings

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
Ulrik: Thanks for reply. I obviously new to R, so I feel if the output on the console looks right I'm half way through my problem. I know it's not WYSIWYG, but it's a quasi start. Thanks. Bruce __ > On May 5, 2017, at 8:56 AM, Ulrik Stervbo wrote: > > Hi Bruce, > > display as

Re: [R] Formatting column displays

2017-05-05 Thread Jeff Newmiller
Data frames are primarily data storage objects, not data display objects. You can create a separate version of your data frame with formatted text strings, but what you usually really want is to handle column alignment as well and that really has to be addressed as part of your data output proce

Re: [R] Formatting column displays

2017-05-05 Thread Ulrik Stervbo
Hi Bruce, display as in the console or as a table for presentation? For the latter, look at sprintf: sprintf("%,1f", 1) sprintf("%.2f", 2.5678) sprintf("$%.3f", 2.5678) HTH Ulrik On Fri, 5 May 2017 at 14:08 Bruce Ratner PhD wrote: > R-helpers: > I need some references for formatting the disp