Question: install package from local zip file
0
gravatar for A
4.4 years ago by
A3.6k
A3.6k wrote:

dears all,

i had already downloaded many packages from bioconductor...i reinstalled windows and before that copied the file containing those packages from C:\Users\mu\AppData\Local\Temp\RtmpSszekT\downloaded_packages
.....now, i opened R and from the install packeg (s) from local zip file option, loaded affy package, it sadid that:

> utils:::menuInstallLocal()
package ‘affy’ successfully unpacked and MD5 sums checked
> library(affy)
Error: package ‘BiocGenerics’ required by ‘affy’ could not be found
what can i do not have to redownload these packages again and use them please???

r affy • 5.3k views
ADD COMMENTlink modified 4.4 years ago • written 4.4 years ago by A3.6k
2
gravatar for Antonio R. Franco
4.4 years ago by
Spain. Universidad de Córdoba
Antonio R. Franco4.2k wrote:

Once one package is downloaded as a zip file, this is kept into a Temp folder 

BioGenerics is another R package, and the system is alerting you it is needed.

You only need to install that package and maybe some other that are required as well

PS: I recommend you to install (and update) packages using RStudio for convenience

  1. Install RStudio
  2. In the console, write setRepositories()    #upper and lower cases as shown
  3. use the keyboard to write 1 2 3 4 5 6  # (leaving a space between numbers). This will select cran and bioconductor repositories
  4. then go to Tools/Install Packages
  5. write the desired packages in the windows, and hit Install

This way you can make easier the installation of packages an their dependences

Hope this help

ADD COMMENTlink written 4.4 years ago by Antonio R. Franco4.2k
0
gravatar for A
4.4 years ago by
A3.6k
A3.6k wrote:

thank you Antonio

ADD COMMENTlink written 4.4 years ago by A3.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 953 users visited in the last hour