[R-SIG-Mac] How to move existing packages?
Simon Urbanek
simon.urbanek at r-project.org
Wed Apr 10 15:29:40 CEST 2013
On Apr 10, 2013, at 7:18 AM, Karsten wrote:
>
> Am 10.04.2013 um 12:00 schrieb r-sig-mac-request at r-project.org:
>
>> You can either use the GUI (in the Package Installer -> "Select Packages from R 2.15" -> Install) or the command line:
>>
>> a=rownames(installed.packages("/Library/Frameworks/R.framework/Versions/2.15/Resources/library"))
>> install.packages(!(a %in% rownames(installed.packages())))
>>
>> The latter works on any OS.
>
> Possibly
>
> install.packages(a[!(a %in% rownames(installed.packages()))])
>
> works better
>
Yes, that's what I meant
Thanks,
Simon
More information about the R-SIG-Mac
mailing list