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> Warning in install.packages("quantstrat", repos = "http://R-Forge.R-project.org") : Error: unexpected 'in' in "Warning in"> 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 installedError: 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 -- 'Raghu' [[alternative HTML version deleted]]
Duncan Murdoch
2010-Jul-29 15:10 UTC
[R] Installing a newer version of a package - problems
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 >