[R] SAS and R on multiple operating systems

Roger DeAngelis(xlr82sas) rdeangel at amgen.com
Tue Apr 6 05:32:52 CEST 2010


  About the forest plot.

   Some Phrarma companies demand the report and graphics follow very
restrictive layouts.

   SAS allows uses to use one template for graphs and tables.

   Margins have to the same for all reports.
   Fonts, fontsizes, linewidths, boxing body, cell spacing, cell padding ...

   The output has to look perfect in MS-Word.

    I am not a R graphics expert but I tried to run the forest plot and
output the graphs to png and svg.
In both cases the plots were mangled. This was probably not fair, because it
looked like the SVG issue was just a font size issue and the png issues was
a width issue, but I know SAS tends to produce graphs that can be scaled
post processing.

I also imported the png into word and is was right clipped.

 devSVG(file = "c:\\temp\\Rplots.svg", width = 10, height = 8,  
 bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)      

png("c:\\temp\\myplot.png", bg="transparent", width=700, height=500)

 Also I have seen 5,000 page listings in SAS.

View this message in context: http://n4.nabble.com/SAS-and-R-on-multiple-operating-systems-tp1752043p1752362.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list