[R] R logo size in package information tab of Rstudio
jdnewmil at dcn.davis.ca.us
Wed Mar 30 06:18:19 CEST 2016
You are not clarifying yet. If this requires RStudio to reproduce then this question doesn't belong here. I am not yet convinced that RStudio IS required, but every time you mention it the water gets muddier.
Sent from my phone. Please excuse my brevity.
On March 29, 2016 9:07:49 PM PDT, Marc Girondot via R-help <r-help at r-project.org> wrote:
>Here are my R session information:
> > sessionInfo()
>R version 3.3.0 alpha (2016-03-24 r70373)
>Platform: x86_64-apple-darwin13.4.0 (64-bit)
>Running under: OS X 10.11.4 (El Capitan)
>If the help is displayed within the R gui using:
>The Rlogo.svg is scaled correctly.
>However if the help is shown within Rstudio, the Rlogo.svg is not
>corrected and is shown at huge size.
>The choice of logo displayed in the help comes from the file in folder
>html within each package. For example for package numDeriv, within the
>There is this link:
><h1> Accurate Numerical Derivatives
><img class="toplogo" src="../../../doc/html/logo.jpg" alt="[R logo]" />
>Whereas for packrat package, within the file
>The link is this one:
><h1> A Dependency Management System for Projects and their R Package
><img class="toplogo" src="../../../doc/html/Rlogo.svg" alt="[R logo]"
>And the Rlogo.svg is badly scaled in Rstudio Version 0.99.1119 (beta)
>in public 0.99.893 version.
>So there are two solutions. Or Rstudio changes the way they scale
>Rlogo.svg, or Rlogo.svg is correctly scaled during R install. Here is a
>Rlogo.svg correctly scaled to replace the original version:
>Le 30/03/2016 00:44, Duncan Murdoch a écrit :
>> On 29/03/2016 3:42 PM, Marc Girondot via R-help wrote:
>>> Two different sizes of R logo are shown in Rstudio in the Help at
>>> package level.
>>> For example, numderiv shows a nice discreet logo located at (in
>>> whereas packrat shows a huge logo located at:
>>> The choice between both depends on the path indicated in the file
>>> Index.html located in html folder for each package.
>>> It would be better to have svg version of Rlogo.svg of the same size
>>> than logo.jpg (I have converted the Rlogo.svg into the same size
>>> logo.jpg and it looks much better whit the new version).
>> What versions are you talking about? I'd guess your packages were
>> built with different versions of R if they ended up with different
>> links to the logo.
>> Why is RStudio relevant here? I don't think RStudio does anything
>> with the R help files other than to display them in its built-in
>> Duncan Murdoch
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help