Re: [R] About upgrade R

2010-11-24 Thread Gavin Simpson
On Sun, 2010-11-14 at 21:14 -0800, Stephen Liu wrote:
 Hi Josh and all,
 
  I think .Rprofile is something you have to create yourself
 No, it is a file on Linux OS

No, it isn't! It doesn't mysteriously appear on any system. You create
it to personalise certain aspects of your use of R and runtime:

I currently have this in mine (Linux):

$ cat ~/.Rprofile
options(repos = http://cran.uk.r-project.org;)

You need to check out the Windows specific help in regard to this aspect
of configuring R as where you stick these files etc may be different on
Windows.

G

snip /

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London  [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

__
R-help@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.


Re: [R] About upgrade R

2010-11-17 Thread csrabak

Em 16/11/2010 04:55, Tal Galili escreveu:

Hello Cesar,
Thank you for the reply.

Another question I have is if it is possible to detect the library path of
an old R install, from the terminal of the new R install.

Cheers,

Tal,

An at large reply would be no.  The old install can be in a completely 
different directory and obtaining this information is somewhat OS 
dependent.  For Linux and Windows you can use some tools from these OS 
to query the location of installed programs¹.


Regards,

--
Cesar Rabak

[1] Albeit in Linux parlance the programs are called 'packages' as well 
so need to be careful.


__
R-help@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.


Re: [R] About upgrade R

2010-11-15 Thread John C Frain
Tal

My main use of R now is on Windows 7.  As explained I always retain at
least one previous version on windows 7 PCs.  My upgrade is done as
follows -

1) Download and install the binary install program for R and install.
2) Rename the library directory (default - C:\Program
Files\R\R-2.12.0patched\library) to library2. (Windows 7 will ask for
confirmation)
3) Copy the library directory from the previous version of R to the R
directory (default - C:\Program Files\R\R-2.12.0patched\) ((Windows 7
will ask for confirmation).
4) copy the contents of the library2 directory to the library
directory in the new R directory.
5) Right click on the R directory and select run as administrator to
start R as administrator.
6) In R run some variant of update.packages(checkBuilt=TRUE).  On
occasion one will find that packages are reporting errors in the CRAN
compile and binary versions are not yet available for the new version
of R.  I delete these from the library directory and look in CRAN for
possible explanations.  Anyway I can revert back to the old version if
I need these packages.  Generally one may find that the missing
packages are available shortly afterwards.
.
This procedure is fairly close to that recommended in the R FAQ and
meets my needs.  I think that it is necessary to keep libraries for
different versions separate.  Other users may have different
requirements and other update methods may be more appropriate to them.
 There may be no method that is best for all users.  I would imagine
that one could write a DOS or Power Shell or Python (or other) script
that would  automate this process.

Best Regards

John

On 14 November 2010 20:24, Tal Galili tal.gal...@gmail.com wrote:
 Hi John, thank you for that input.
 It could be that the code I wrote here:
 http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/
 Should be updated so every time you install a new R version, you run the
 code for it to:
 1) copy all packages from the old R version to the new R version library
 2) update all the packages.
 But I have no clue how to do step 1.
 How do you find out the latest R version that was install previous to the
 current one?
 And then, how would you find where it's package library is?
 If you could do this in R, then installing a new version of R could be made
 simpler for you.
 Cheers,
 Tal



 Contact
 Details:---
 Contact me: tal.gal...@gmail.com |  972-52-7275845
 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
 www.r-statistics.com (English)
 --




 On Sun, Nov 14, 2010 at 10:05 PM, John C Frain fra...@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 lig...@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 Liggeslig...@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-h...@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, 

Re: [R] About upgrade R

2010-11-15 Thread csrabak

Em 14/11/2010 20:42, csrabak escreveu:

Em 14/11/2010 18:24, Tal Galili escreveu:

Hi John, thank you for that input.
It could be that the code I wrote here:
http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/


Should be updated so every time you install a new R version, you run the
code for it to:
1) copy all packages from the old R version to the new R version library
2) update all the packages.

But I have no clue how to do step 1.


I've a clue but not the exact syntax for doing it:

a) you need to get the library directory path of your current
installation or if putting it manually;
b) list.files(path = 'path to your libraries')
select the directories with the return of file.info();


I've been educated that all above (a - b) can be obtained in a single 
object with a call to library().


 libs - library()

libs$results[,Package] will contain the list of installed packages.


c) save the list for processing in the newer R version;
d) in the newer version you use the list as argument to
install.packages().

All the aforementioned /caveats/ about packages not in CRAN still apply.
. .

Regards,


HTH

--
Cesar Rabak

__
R-help@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.


Re: [R] About upgrade R

2010-11-15 Thread Tal Galili
Hello Cesar,
Thank you for the reply.

Another question I have is if it is possible to detect the library path of
an old R install, from the terminal of the new R install.

Cheers,
Tal


Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Tue, Nov 16, 2010 at 1:49 AM, csrabak cesar.ra...@gmail.com wrote:

 Em 14/11/2010 20:42, csrabak escreveu:

  Em 14/11/2010 18:24, Tal Galili escreveu:

 Hi John, thank you for that input.
 It could be that the code I wrote here:

 http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/


 Should be updated so every time you install a new R version, you run the
 code for it to:
 1) copy all packages from the old R version to the new R version library
 2) update all the packages.

 But I have no clue how to do step 1.


 I've a clue but not the exact syntax for doing it:

 a) you need to get the library directory path of your current
 installation or if putting it manually;
 b) list.files(path = 'path to your libraries')
 select the directories with the return of file.info();


 I've been educated that all above (a - b) can be obtained in a single
 object with a call to library().

  libs - library()

 libs$results[,Package] will contain the list of installed packages.


  c) save the list for processing in the newer R version;
 d) in the newer version you use the list as argument to
 install.packages().

 All the aforementioned /caveats/ about packages not in CRAN still apply.
 . .

 Regards,


 HTH

 --
 Cesar Rabak

 __
 R-help@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.


[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] About upgrade R

2010-11-14 Thread Uwe Ligges

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@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@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.


Re: [R] About upgrade R

2010-11-14 Thread Stephen Liu
Hi Uwe,

 If you have your additionally installed packages in a separate library 
 (not the R base library) you can simply run

 update.packages(checkBuilt=TRUE)

I have following packages installed in addition to R base

rcom
RExcel
statconnDCOM

IIRC statconnDCOM and RExcel are on different directories.  rcom was installed 
on repo.

I'll run;
 update.packages(checkBuilt=TRUE)

In the worst case I just reinstall abovementioned packages.  Any further advice 
before I start?

Thanks

B.R.
Stephen L





- Original Message 
From: Uwe Ligges lig...@statistik.tu-dortmund.de
To: Stephen Liu sati...@yahoo.com
Cc: r-help@r-project.org
Sent: Sun, November 14, 2010 11:03:57 PM
Subject: Re: [R] About upgrade R

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@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@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.


Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi Stephen,
I just happened to have upgraded my R today.
Tips:
1) Make sure the folder has full permissions so that you'll be able to
install/update packages on it.
2) I still find the advices (and code) I gave in that article to be
worthwhile.  And do pay attention to the directory into which you want to
install the packages.

Good luck,
Tal

Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Sun, Nov 14, 2010 at 6:28 PM, Stephen Liu sati...@yahoo.com wrote:

 Hi Uwe,

  If you have your additionally installed packages in a separate library
  (not the R base library) you can simply run

  update.packages(checkBuilt=TRUE)

 I have following packages installed in addition to R base

 rcom
 RExcel
 statconnDCOM

 IIRC statconnDCOM and RExcel are on different directories.  rcom was
 installed
 on repo.

 I'll run;
  update.packages(checkBuilt=TRUE)

 In the worst case I just reinstall abovementioned packages.  Any further
 advice
 before I start?

 Thanks

 B.R.
 Stephen L





 - Original Message 
 From: Uwe Ligges lig...@statistik.tu-dortmund.de
 To: Stephen Liu sati...@yahoo.com
 Cc: r-help@r-project.org
 Sent: Sun, November 14, 2010 11:03:57 PM
 Subject: Re: [R] About upgrade R

 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@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@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.


[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] About upgrade R

2010-11-14 Thread Ajay Ohri
wont it make more common sense to make updating packages also as part
of every base version install BY Default.. just saying



Websites-
http://decisionstats.com
http://dudeofdata.com


Linkedin- www.linkedin.com/in/ajayohri





2010/11/14 Uwe Ligges lig...@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@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@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@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.


Re: [R] About upgrade R

2010-11-14 Thread Uwe Ligges



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 Liggeslig...@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@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@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@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.


Re: [R] About upgrade R

2010-11-14 Thread John C Frain
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 lig...@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 Liggeslig...@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-h...@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-h...@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-h...@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:fra...@tcd.ie
mailto:fra...@gmail.com

__
R-help@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.


Re: [R] About upgrade R

2010-11-14 Thread stephen sefick
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 fra...@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 lig...@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 Liggeslig...@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-h...@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-h...@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-h...@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:fra...@tcd.ie
 mailto:fra...@gmail.com

 __
 R-help@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                                                    |
|___|
| sas0...@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@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.


Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi John, thank you for that input.
It could be that the code I wrote here:
http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/

Should be updated so every time you install a new R version, you run the
code for it to:
1) copy all packages from the old R version to the new R version library
2) update all the packages.

But I have no clue how to do step 1.
How do you find out the latest R version that was install previous to the
current one?
And then, how would you find where it's package library is?
If you could do this in R, then installing a new version of R could be made
simpler for you.

Cheers,
Tal




Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Sun, Nov 14, 2010 at 10:05 PM, John C Frain fra...@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 lig...@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 Liggeslig...@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@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@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@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:fra...@tcd.ie
 mailto:fra...@gmail.com

 __
 R-help@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.


[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] About upgrade R

2010-11-14 Thread Stephen Liu
Hi Ajay

 wont it make more common sense to make updating packages also as part
 of every base version install BY Default.. just saying

I also have this doubt?  The packages have been updated.  Are those packages 
updated belong to version 2.12 OR still version 2.11.1

In Linux/Unix if the latest version, say 5.2.0, and the running version is 
5.1.0 
I have to upgrade the version NOT the packages.  I have no idea on R

B.R.
Stephen L




- Original Message 
From: Ajay Ohri ohri2...@gmail.com
To: Uwe Ligges lig...@statistik.tu-dortmund.de
Cc: Stephen Liu sati...@yahoo.com; r-help@r-project.org
Sent: Mon, November 15, 2010 12:59:22 AM
Subject: Re: [R] About upgrade R

wont it make more common sense to make updating packages also as part
of every base version install BY Default.. just saying



Websites-
http://decisionstats.com
http://dudeofdata.com


Linkedin- www.linkedin.com/in/ajayohri





2010/11/14 Uwe Ligges lig...@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@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@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@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.


Re: [R] About upgrade R

2010-11-14 Thread Stephen Liu
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 ssef...@gmail.com
To: r-help@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 fra...@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 lig...@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 Liggeslig...@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@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@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@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:fra...@tcd.ie
 mailto:fra...@gmail.com

 __
 R-help@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|
|___|
| sas0...@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] About upgrade R

2010-11-14 Thread Joshua Wiley
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 sati...@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 ssef...@gmail.com
 To: r-help@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 fra...@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 lig...@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 Liggeslig...@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@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@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@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:fra...@tcd.ie
 mailto:fra...@gmail.com

 __
 R-help@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                                                    |
 |___|
 | sas0...@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

Re: [R] About upgrade R

2010-11-14 Thread stephen sefick
Sorry for the confusion.  My post applies to *NIX.  I am sorry for not
reading your post thoroughly and also not specifying the system that I
am using.

Stephen

On Sun, Nov 14, 2010 at 8:15 PM, Stephen Liu sati...@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 ssef...@gmail.com
 To: r-help@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 fra...@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 lig...@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 Liggeslig...@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@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@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@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:fra...@tcd.ie
 mailto:fra...@gmail.com

 __
 R-help@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                                                    |
 |___|
 | sas0...@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

Re: [R] About upgrade R

2010-11-14 Thread Stephen Liu
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.ps...@gmail.com
To: Stephen Liu sati...@yahoo.com
Cc: r-help@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 sati...@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 ssef...@gmail.com
 To: r-help@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 fra...@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 lig...@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 Liggeslig...@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@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting

Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi Stephen,
It doesn't exist before you'll make it (that's one of the thing the code in
my post does)




Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Mon, Nov 15, 2010 at 4:15 AM, Stephen Liu sati...@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 ssef...@gmail.com
 To: r-help@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 fra...@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 lig...@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 Liggeslig...@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@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@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@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:fra...@tcd.ie
  mailto:fra...@gmail.com
 
  __
  R-help@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|
 |___|
 | sas0

Re: [R] About upgrade R

2010-11-14 Thread csrabak

Em 14/11/2010 18:24, Tal Galili escreveu:

Hi John, thank you for that input.
It could be that the code I wrote here:
http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/

Should be updated so every time you install a new R version, you run the
code for it to:
1) copy all packages from the old R version to the new R version library
2) update all the packages.

But I have no clue how to do step 1.


I've a clue but not the exact syntax for doing it:

   a) you need to get the library directory path of your current
  installation or if putting it manually;
   b) list.files(path = 'path to your libraries')
  select the directories with the return of file.info();
   c) save the list for processing in the newer R version;
   d) in the newer version you use the list as argument to
  install.packages().

All the aforementioned /caveats/ about packages not in CRAN still apply. . .

Regards,

--
Cesar Rabak

__
R-help@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.