[R] detach and install package
Uwe Ligges
ligges at statistik.tu-dortmund.de
Mon Jul 20 11:45:53 CEST 2009
Roslina Zakaria wrote:
> Hi R-users,
>
> I would like to detach and installed the fBasics package but it gives me this message:
>
>> detach("package:fBasics",unload=TRUE)
> Error in detach("package:fBasics", unload = TRUE) : invalid name
>
>> install.packages(repos=NULL,pkgs="c:\\Tinn-R\\fBasics_2100.77.zip")
> package 'fBasics' successfully unpacked and MD5 sums checked
> Warning: cannot remove prior installation of package 'fBasics'
> updating HTML package descriptions
>
> I did tried to remove all the fBasics file from my directory. What should I do?
In principle it should work the way you indicated.
Anyway, if the namepsace is used by another package or so, it may be
locked. What you always can do:
Close R and restart it without loading/attaching/importing fBasics. Then
you should always be able to install.packages() it.
Best,
Uwe Ligges
>
> Thank you so much for your help.
>
>
>
>
> [[alternative HTML version deleted]]
>
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> 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.
More information about the R-help
mailing list