[R] Installing a newer version of a package - problems

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jul 29 17:10:25 CEST 2010


On 29/07/2010 8:43 AM, Raghu wrote:
> Hi
>
> I am trying to install the latest version of the package quantstrat but I
> get the following error:
>
> install.packages("quantstrat", repos="http://R-Forge.R-project.org")
> Warning in install.packages("quantstrat", repos = "
> http://R-Forge.R-project.org") :
>   argument 'lib' is missing: using
> 'C:\Users\Owner\Documents/R/win-library/2.11'
> Warning: package 'quantstrat' is in use and will not be installed
>   

Start a new session of R that doesn't load quantstrat.  Then the above 
warning should go away.
> > Warning in install.packages("quantstrat", repos = "
> http://R-Forge.R-project.org") :
> Error: unexpected 'in' in "Warning in"
>   

This is bizarre:  you are attempting to execute the warning message.  
What front end are you using?

Duncan Murdoch

> >   argument 'lib' is missing: using
> 'C:\Users\Owner\Documents/R/win-library/2.11'
> Error: unexpected string constant in "  argument 'lib'"
> > Warning: package 'quantstrat' is in use and will not be installed
> Error: unexpected string constant in "Warning: package 'quantstrat'"
>
>
> This package works with 32-bit and so I had installed a 32-bit before. Can
> anyone help pls? Update Package did not help either.
>
> Thx
>



More information about the R-help mailing list