[R] About upgrade R

Stephen Liu satimis at yahoo.com
Mon Nov 15 06:14:52 CET 2010


Hi Josh and all,

> I think .Rprofile is something you have to create yourself....
No, it is a file on Linux OS


Start R as Admin
> update.packages(checkBuilt=TRUE)
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository 
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11

It didn't work.

Start MS Excel 2007
to make sure following packages;
RExcel
rcom
statconnDCOM

work


To remove R 2.11.1
Start -> Control Panel -> Uninstall a program ->
highlight R for windows x64 2.11.1

-> Uninstall


Download Windows
R-2.12.0 for Windows (32/64 bit)
http://cran.at.r-project.org/

-> Windows -> base -> Download R 2.12.0 for Windows (32/64 bit)
-> Run

Select Destination Location
C:\Program Files\R-2.12.0
-> Next
select Default settings and add;
On-line PDF Manuals
[check] Technical Manual
[check] PDF help pages
SupportFiles for Package tcltk
[check] Timezone files for Tcl
[check] Tcl/Tk Help (Compiled HTML)

[check Test files
-> Next

Startup options
[check] No (accep defaults)
-> Next

Select Start Menu Folder
R
-> Next

Select Additional Tasks
[check] Create a desktop icon
[check] Save version number in registry
[check] Associate R with .RData files
-> Next

-> Finish

Installation went throught w/o complaint

To my surprise there are 2 R icons on desktop
- R x64 2.12.0
- R 2.12.0

I suppose the 2nd one is 32bit version?  

I don't need 2 R versions here.  This is a 64bit Win7.  Can I delete the 32bit 
R?


Start MS Excel 2007
-> start R
complaining R server not available.


I have to reinstall;
rcom
statconnDCOM
RExcel


Now R 2.12 is running on Win7.  RExcel also works


B.R.
Stephen L





----- Original Message ----
From: Joshua Wiley <jwiley.psych at gmail.com>
To: Stephen Liu <satimis at yahoo.com>
Cc: r-help at r-project.org
Sent: Mon, November 15, 2010 11:19:38 AM
Subject: Re: [R] About upgrade R

Hi Stephen,

I think .Rprofile is something you have to create yourself.  It is not
needed, but you can create it and then put your customizations in it
(just put it in the same directory as the directory R starts in.

Cheers,

Josh

On Sun, Nov 14, 2010 at 6:15 PM, Stephen Liu <satimis at yahoo.com> wrote:
> Hi Stephen and folks
>
>> mv .Rprofile Rprofile
>
> I can't find .Rprofile on Win7 even with [uncheck] Hide extension for known 
>file
> types on Windows Explorer.  Nor I can search for it.  Would it be under 
another
> name in Windows?
>
> B.R.
> Stephen L
>
>
>
> ----- Original Message ----
> From: stephen sefick <ssefick at gmail.com>
> To: r-help at r-project.org
> Sent: Mon, November 15, 2010 4:19:15 AM
> Subject: Re: [R] About upgrade R
>
> update.packages has always worked well for me.  I have a customized
> .Rprofile file and just
>
> update from linux repos, or build from source
>
> mv .Rprofile Rprofile
>
> update all packages
>
> mv Rprofile .Rprofile
>
> It only takes a couple of minutes and everything is up
>
> I like being in control of what happens on my system.
>
> Stephen
>
> On Sun, Nov 14, 2010 at 2:05 PM, John C Frain <frainj at gmail.com> wrote:
>> The current method allows one to easily retain several versions
>> working in parallel. This particularly important if some package is
>> not available in the new version. A few years ago there were problems
>> such as these during a major overhaul of the rmetrics group of
>> packages. My current practice is to retain older versions until I am
>> sure that all I need is available in the new version. Thus I am in
>> favour of retaining the current system.
>>
>> John
>>
>> On Sunday, Novembe 14, 2010, Uwe Ligges <ligges at statistik.tu-dortmund.de>
>>wrote:
>>>
>>>
>>> On 14.11.2010 17:59, Ajay Ohri wrote:
>>>
>>> wont it make more common sense to make updating packages also as part
>>> of every base version install BY Default...... just saying
>>>
>>>
>>> At least I do not like the idea: If I just want to try a beta version, I do 
>>not
>>>want that everything is updated and I can't switch back to my last stable
>>>version.
>>>
>>> Uwe Ligges
>>>
>>>
>>>
>>>
>>>
>>> Websites-
>>> http://decisionstats.com
>>> http://dudeofdata.com
>>>
>>>
>>> Linkedin- www.linkedin.com/in/ajayohri
>>>
>>>
>>>
>>>
>>>
>>> 2010/11/14 Uwe Ligges<ligges at statistik.tu-dortmund.de>:
>>>
>>> Upgrading is mentioned in the FAQs / R for Windows FAQs.
>>>
>>> If you have your additionally installed packages in a separate library (not
>>> the R base library) you can simply run
>>>
>>> update.packages(checkBuilt=TRUE)
>>>
>>> If not ...
>>>
>>> Uwe Ligges
>>>
>>>
>>> On 14.11.2010 15:51, Stephen Liu wrote:
>>>
>>>
>>> Hi all,
>>>
>>> Win 7 64-bit
>>> R version 2.11.1 (2010-05-31)
>>>
>>> I want to upgrade R to version 2.12.0
>>> R-2.12.0 for Windows (32/64 bit)
>>> http://cran.r-project.org/bin/windows/base/
>>>
>>> I found steps on following site;
>>> How to upgrade R on windows – another strategy (and the R code to do it)
>>>
>>>http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/
>>>
>>>/
>>>
>>>
>>> I wonder is there a straight forwards way to upgrade the package direct on
>>> repo?  TIA
>>>
>>> B.R.
>>> Stephen L
>>>
>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>> --
>> John C Frain
>> Economics Department
>> Trinity College Dublin
>> Dublin 2
>> Ireland
>> www.tcd.ie/Economics/staff/frainj/home.html
>> mailto:frainj at tcd.ie
>> mailto:frainj at gmail.com
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> --
> Stephen Sefick
> ____________________________________
> | Auburn University                                   |
> | Department of Biological Sciences           |
> | 331 Funchess Hall                                  |
> | Auburn, Alabama                                   |
> | 36849                                                    |
> |___________________________________|
> | sas0025 at auburn.edu                             |
> | http://www.auburn.edu/~sas0025             |
> |___________________________________|
>
> Let's not spend our time and resources thinking about things that are
> so little or so large that all they really do for us is puff us up and
> make us feel like gods.  We are mammals, and have not exhausted the
> annoying little problems of being mammals.
>
>                                -K. Mullis
>
> "A big computer, a complex algorithm and a long time does not equal science."
>
>                              -Robert Gentleman
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/






More information about the R-help mailing list