thank you Antonio
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???
1 answer
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
- Install RStudio
- In the console, write
setRepositories() #upper and lower cases as shown - Use the keyboard to write
1 2 3 4 5 6(leaving a space between numbers). This will select cran and bioconductor repositories - Then go to Tools/Install Packages
- 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
Log in to answer this question.