install package from local zip file
4
0
Entering edit mode
Angel ▴ 40
@angel-7981
Last seen 7.7 years ago
Berlin

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???

affy • 2.8k views
ADD COMMENT
4
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 16 minutes ago
The city by the bay

The error message is pretty straightforward; you're missing an installation of the BiocGenerics package. You'll have to install that (and probably a bunch of other dependencies) before affy can be successfully loaded. This seems like a time-consuming and painful effort. Whenever I update R, I just re-install everything using the recommended biocLite approach. This ensures that the correct versions of all packages and their dependencies are installed for that version of R. Of course, it involves re-downloading everything, but I reckon my time is worth more than the institute's bandwidth, so that's okay with me.

ADD COMMENT
1
Entering edit mode
@dimitrileonidlindenwald-7183
Last seen 9.1 years ago
Germany

Dear sa63_tanha, 

have you tried to manually unpack all of your saved packages into the library directory of the "R"? 
By me, it is "[...]\Documents\R\R-3.2.0\library"

After that, try to load your library using library(affy) command, and it should work.

0
Entering edit mode
Angel ▴ 40
@angel-7981
Last seen 7.7 years ago
Berlin

thank you bot Aaron and Dimitri,

then Aaron, you mean me better re-download the packages...

ADD COMMENT
1
Entering edit mode

Pretty much, yes. Installing via biocLite is the supported approach; see this link. If you want to do it some other way, you're on your own.

ADD REPLY
0
Entering edit mode
Angel ▴ 40
@angel-7981
Last seen 7.7 years ago
Berlin

thank you Aaron

ADD COMMENT

Login before adding your answer.

Traffic: 553 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