简体   繁体   中英

Can we install a `.zip` R package under linux?

I have found an old R package with a .zip extension on my PC. I would like to run it, but I do not have the tar.gz that was used to create it and I use linux. What are my options?

Few, essentially.

A .zip package for R is almost surely a binary built for Windows so you need to find a suitable Windows computer -- or emulator -- to use it.

So, this can be done this way:

  • install wine (wine is not an emulator),
  • install R for Windows , which you download manually from CRAN
  • install the zip package using the usual commands ( install.packages("filename.zip",source=NULL) ). You will probably get error messages for the dependencies, but incrementally installing those, it should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM