install package from local zip file
1
0
Entering edit mode
9.8 years ago
zizigolu ★ 4.3k

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 • 7.3k views
ADD COMMENT
2
Entering edit mode
9.8 years ago

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 dependencies

Hope this helps

ADD COMMENT
0
Entering edit mode

thank you Antonio

ADD REPLY

Login before adding your answer.

Traffic: 2305 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6