Bug 14475 - Lingering R.css files
Lingering R.css files
Status: CLOSED INVALID
Product: R
Classification: Unclassified
Component: Installation
R 2.12.0 patched
ix86 (32-bit) Linux
: P5 minor
Assigned To: R-core
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-16 07:11 UTC by Kingsley G. Morse Jr.
Modified: 2011-01-24 08:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kingsley G. Morse Jr. 2011-01-16 07:11:49 UTC
I like R.

Thanks for maintaining it.
 
I happened to notice that several R.css files
remained after purging all R packages with
"aptitude purge" or "remove.packages()".
 
They were in ~/R/i486-pc-linux-gnu-library/2.12/,
~/R/i486-pc-linux-gnu-library/2.10/,
/usr/lib/R/site-library, and
/usr/local/lib/R/site-library.
 
Then I noticed that the 2.0 SERIES NEWS at
 
     http://svn.r-project.org/R/trunk/OONEWS
 
says

      `R.css' is copied to all library directories.

Maybe these files shouldn't be left behind, or
perhaps they shouldn't be copied to all
library directories in the first place.

I'll trust your judgement as to whether this is
important enough to fix, and if so, what exactly
to do about it.

All the best,
~K
Comment 1 Brian Ripley 2011-01-23 13:18:42 UTC
I think you misunderstand: an R library tree by definition contains R.css at the top level, and it is needed to display the packages' HTML indices.

I have no idea what 'aptitude purge' has to do with R (perhaps you need
to consult your unstated Linux vendor).

The setup will change in R 2.13.0, and likely R.css will be installed per-package.
Comment 2 Kingsley G. Morse Jr. 2011-01-24 08:15:47 UTC
Hi,

For your convenience, my comments are interspersed
with yours, below.

I hope they're helpful.

On 01/23/11 07:18, r-bugs@r-project.org wrote:
> https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14475
> 
> Brian Ripley <ripley@stats.ox.ac.uk> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |CLOSED
>          Resolution|                            |INVALID
> 
> --- Comment #1 from Brian Ripley <ripley@stats.ox.ac.uk> 2011-01-23 07:18:42 EST ---
> I think you misunderstand: an R library tree by definition contains R.css at
> the top level, and it is needed to display the packages' HTML indices.
> 
> I have no idea what 'aptitude purge' has to do with R 


'aptitude' is a package managing application used
by Debian, and Debian's derivatives, like Ubuntu.

'purge' tells aptitude to remove the named
package, and all of the files associated with it.

> (perhaps you need > to consult your unstated Linux vendor).


I actually already consulted with Debian's R
maintainer, Dirk Eddelbuettel <edd@debian.org>.

He wrote on January 15th:

| That's upstream behaviour. Talk to R Core.
| 
| My policy is to do the least amount of intervention and change that is
| sensible as R *works* and people have expectations that it works on Debian
| the same way.
| 
| Your gb of data are a red herring.
| 
| I see see no actionable bug report here.
| 
| Dirk

> The setup will change in R 2.13.0, and likely R.css will be installed
> per-package.


I'll still trust your judgement of what, if
anything, should be done.

Thanks,
Kingsley