From maechler at stat.math.ethz.ch  Wed May  4 09:02:20 2011
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 4 May 2011 09:02:20 +0200
Subject: [Rd] Wishlist: write R's bin path to the PATH variable and
 remove the version string in the installation dir under Windows
In-Reply-To: <BANLkTimZiR8FN3aR9T1sdzPiOjbduqWp8A@mail.gmail.com>
References: <BANLkTikkAsmfmyspnVF_8kXPb-4WuB4now@mail.gmail.com>
	<4DC0A88A.4070908@gmail.com>
	<BANLkTikqoxO9+5iPH9_1D0-HKVxsQG15Hw@mail.gmail.com>
	<BANLkTi=xMs8TVSpT3_SG5d7=o=YCo_TePw@mail.gmail.com>
	<BANLkTimZiR8FN3aR9T1sdzPiOjbduqWp8A@mail.gmail.com>
Message-ID: <19904.63996.415478.695901@stat.math.ethz.ch>

>>>>> Wincent  <ronggui.huang at gmail.com>
>>>>>     on Wed, 4 May 2011 13:46:13 +0800 writes:

    > I also prefer to keep the old versions.  Sometimes, I have
    > spent time to set up the system with older version and
    > don't want to update to the latest (e.g. the new RGtk2
    > needs updated GTk2 as well) because the older still works
    > and I don't need the new features.

Well....  Thomas gave good reasons to keep old versions of R
*IN ADDITION* to the latest R version.
Exactly *because* that is so easy, it makes very much sense to
update to the newest version:

Use the latest R, and if you really have doubts, quickly run the
same R code in the older R version that is still available.

Note to Yihui Xie:  I agree 100% with the other R core members 
(Duncan, Simon, Thomas) who already explained why it is *GOOD*
to install R in version-named directories by default.

BTW: If you use ESS (Emacs Speaks Statistics) on Windows,
it now automatically(*) finds all versions of R
(* well, less generally, probably than Gabor's batch files; IIRC,
 we assume that the R versions were installed in the default place),
and provides them, both the 32bit and 64bit versions, in the ESS
menu, or via 
  M-x R- [Tab completion]
Very nice, very useful in my eyes.

Martin 

    > Regards Ronggui

    > On 4 May 2011 13:26, Thomas Lumley <tlumley at uw.edu> wrote:
    >> On Wed, May 4, 2011 at 3:25 PM, Yihui Xie
    >> <xie at yihui.name> wrote:
    >>> 1. "Few Windows users use these commands" does not imply
    >>> they are not useful, and I have no idea how many Windows
    >>> users really use them. How do you run "R CMD build" when
    >>> you build R packages under Windows? You don't write
    >>> "C:/Program Files/R/R-2.13.0/bin/i386/R.exe CMD build",
    >>> do you?
    >>> 
    >>> I think the reason we have to mess with the PATH
    >>> variable for each single software package is that
    >>> Windows is Not Unix, so you may hate Windows instead of
    >>> a package that modifies your PATH variable.
    >>> 
    >>> For the choice of i386 and x64, you can let the user
    >>> decide which bin path to use. I believe the number of
    >>> users who frequently switch back and forth is fairly
    >>> small.
    >>> 
    >>> 2. Under most circumstances I just keep the latest
    >>> version of R. To maintain R code with old R versions
    >>> will be more and more difficult with new features and
    >>> changes coming in. Disk space is cheap, but time is not.
    >>> 
    >> 
> I keep old versions for basically the same reasons you don't
    >> -- that is, I have analyses that ran under the old
    >> versions, and I can be sure they will give the same
    >> answer a year later if I keep the old versions. This
    >> isn't so much because of changes in R as because of
    >> changes in packages.
    >> 
    >> ? -thomas
    >> 
    >> --
    >> Thomas Lumley Professor of Biostatistics University of
    >> Auckland
    >> 
    >> ______________________________________________
    >> R-devel at r-project.org mailing list
    >> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 



-- 
Wincent Ronggui HUANG
    > Sociology Department of Fudan University PhD of City
    > University of Hong Kong
    > http://asrr.r-forge.r-project.org/rghuang.html

    > ______________________________________________
    > R-devel at r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows
Martin Maechler