Re: [R] xts zoo "cannot remove prior installation of package"

2013-07-08 Thread Pooya Lalehzari
Thank you for your help.
It seems like there was an issue with the libPath. The path is setup to 
reference a cached copy of a shared drive and somehow the cache and the shared 
drive were not synching. I finally located the real place (i.e. the cached 
area) where R was looking and manually removed everything.

Thanks again,
Pooya.


-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net] 
Sent: Monday, July 08, 2013 4:26 PM
To: Pooya Lalehzari
Cc: r-help@r-project.org
Subject: Re: [R] xts zoo "cannot remove prior installation of package"


On Jul 8, 2013, at 10:21 AM, Pooya Lalehzari wrote:

> Hello,
> Some how, my xts/zoo package ran into trouble. I tried to re-install the 
> packages, I get an error that it cannot remove the prior installation.
> I uninstalled R and the deleted all the libraries and reinstalled everything 
> fresh. It still complains the same thing. I try to remove.packages("zoo"), it 
> tells me there is no such package. I am really baffled. Does anyone know how 
> to fix this problem?

If you look at the help page for remove.packages(), it states that the second 
argument is taken to be the first element in .libPaths(). You have not told us 
what .libPaths() is returning and you should do so (even though it wasn't 
mentioned in the Posting Guide.)  It seems possible that you set up an 
additonal library location which your new installation of R is "finding" but 
which is not the first item in the list of directories with library entries. 

I have found that having two locations for libraries is an annoyance, and have 
removed all "user library" locations.

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

Let me second Prof. Ripley's suggestion that you do more reading of the 
/listinfo/ page and the  Posting Guide.

-- 

David Winsemius
Alameda, CA, USA

THIS E-MAIL IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND
PRIVILEGED INFORMATION.

ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR
DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE
INTENDED RECIPIENT, PLEASE CONTACT THE SENDER
BY REPLY E-MAIL AND DESTROY ALL COPIES
OF THE ORIGINAL E-MAIL.





__
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] xts zoo "cannot remove prior installation of package"

2013-07-08 Thread David Winsemius

On Jul 8, 2013, at 10:21 AM, Pooya Lalehzari wrote:

> Hello,
> Some how, my xts/zoo package ran into trouble. I tried to re-install the 
> packages, I get an error that it cannot remove the prior installation.
> I uninstalled R and the deleted all the libraries and reinstalled everything 
> fresh. It still complains the same thing. I try to remove.packages("zoo"), it 
> tells me there is no such package. I am really baffled. Does anyone know how 
> to fix this problem?

If you look at the help page for remove.packages(), it states that the second 
argument is taken to be the first element in .libPaths(). You have not told us 
what .libPaths() is returning and you should do so (even though it wasn't 
mentioned in the Posting Guide.)  It seems possible that you set up an 
additonal library location which your new installation of R is "finding" but 
which is not the first item in the list of directories with library entries. 

I have found that having two locations for libraries is an annoyance, and have 
removed all "user library" locations.

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

Let me second Prof. Ripley's suggestion that you do more reading of the 
/listinfo/ page and the  Posting Guide.

-- 

David Winsemius
Alameda, CA, USA

__
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] xts zoo "cannot remove prior installation of package"

2013-07-08 Thread Prof Brian Ripley

On 08/07/2013 18:21, Pooya Lalehzari wrote:

Hello,
Some how, my xts/zoo package ran into trouble. I tried to re-install the 
packages, I get an error that it cannot remove the prior installation.
I uninstalled R and the deleted all the libraries and reinstalled everything fresh. It 
still complains the same thing. I try to remove.packages("zoo"), it tells me 
there is no such package. I am really baffled. Does anyone know how to fix this problem?

Thank you,
Pooya.


THIS E-MAIL IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND
PRIVILEGED INFORMATION.

ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR
DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE
INTENDED RECIPIENT, PLEASE CONTACT THE SENDER
BY REPLY E-MAIL AND DESTROY ALL COPIES
OF THE ORIGINAL E-MAIL.




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


Please do: we cannot answer this without the information we asked for.

--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] xts zoo "cannot remove prior installation of package"

2013-07-08 Thread Pooya Lalehzari
Hello,
Some how, my xts/zoo package ran into trouble. I tried to re-install the 
packages, I get an error that it cannot remove the prior installation.
I uninstalled R and the deleted all the libraries and reinstalled everything 
fresh. It still complains the same thing. I try to remove.packages("zoo"), it 
tells me there is no such package. I am really baffled. Does anyone know how to 
fix this problem?

Thank you,
Pooya.


THIS E-MAIL IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND
PRIVILEGED INFORMATION.

ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR
DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE
INTENDED RECIPIENT, PLEASE CONTACT THE SENDER
BY REPLY E-MAIL AND DESTROY ALL COPIES
OF THE ORIGINAL E-MAIL.




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