Comments (6)
Use a better file system / disks / OS:
R> system.time(install.packages("BH"))
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/BH_1.69.0-1.tar.gz'
Content type 'application/x-gzip' length 12378154 bytes (11.8 MB)
==================================================
downloaded 11.8 MB
* installing *source* package ‘BH’ ...
** package ‘BH’ successfully unpacked and MD5 sums checked
** using staged installation
** inst
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (BH)
The downloaded source packages are in
‘/tmp/RtmpYmaz2f/downloaded_packages’
user system elapsed
7.915 2.523 10.496
R>
10.5 seconds elapsed including the download for me. Linux, 1 1/2 year old "nice" machine, but nothing extravagant.
from bh.
I am using a very high performance PC, with pretty good RAM, with Windws 10. Tried again by reinstalling R inside D:// as well as C://Programs directory. R version: 3.6.0. But it doesn't succeed even after successful download.
system.time(install.packages("BH"))
Installing package into ‘\S575FJIYH061.jpadc.corpintra.net/home/GAUTKUM/Data/My Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://mirror-hk.koddos.net/CRAN/bin/windows/contrib/3.6/BH_1.69.0-1.zip'
Content type 'application/zip' length 19008275 bytes (18.1 MB)
downloaded 18.1 MB
and it never finishes the installation.
May be this issue is because somehow it is trying to access network resource \S575FJIYH061.jpadc.corpintra.net/ to refer to a folder locally ? Is there a way for me to specify the path in terms of local address, like "C:\Users\GAUTKUM\Data\My Documents/R/win-library/3.6" etc ??
I also see the BH zipped folder downloaded nicely at the below location,
C:\Users\GAUTKUM\AppData\Local\Temp\RtmpU9MWZS\downloaded_packages.
Is there a way to do the installation manually using this downloaded folder becuase installation.packages command fails ?
from bh.
I have some experience with MS networked file systems and at least where I work that is really really slow. So blame the infra guys or MS. On the positive side, ?install.packages
tells us that you can install in any folder you want:
install.packages("BH", lib="path/to/your/local/folder/that/is/not/on/the/network")
If all your folders are virtualized, that will not help.
Alternatively, just download the .zip
straight from CRAN and unpack in your library directory to install.
from bh.
Many thanks. I finally had to unzip it manually from the downloaded zipped folder and it worked fine. Many thanks for replying so quickly.
Regards
Gautam Kumar
from bh.
Your network drive is the guilty party (or, more specifically, how Windows deals with it). The workaround you used is fine.
You can of course also install from source. In BH's case that is easy as it is essentially just a massive copy.
from bh.
I install it on Windows 10 C drive no virtual or network drives involved but still it takes more than 10 minutes to install BH package using Rstudio!
from bh.
Related Issues (20)
- BH 1.84.0 CRAN Release Planning HOT 2
- include license file HOT 5
- Include Boost Beast in next upstream update HOT 21
- Update BH to 1.75.0 and minor regressions requiring downstream changes HOT 37
- boost geometry C++14 R 3.6 patch HOT 8
- Include boost process? HOT 8
- Include boost ublas? HOT 3
- Upgrade to Boost 1.78 HOT 11
- Add Boost::Lambda2 ?
- Installation error r-devel-linux-x86_64-debian-gcc HOT 24
- A request to add timer/include/boost/progress.hpp HOT 11
- Compilation of `bigmemory` fails in Alpine Linux apparently due to BH version HOT 2
- BH 1.81.0 upgrade plan HOT 10
- CRAN warning "Found 'sprintf', possibly from 'sprintf' (C)" using BH HOT 5
- Compile failure of BH as a dependency of https://github.com/steven-shuken/permFDP HOT 4
- clang16 compatibility under C++17 HOT 6
- Undefined reference to `scoped_static_mutex_lock` on Windows R 3.6 HOT 1
- system.file("include", package = "BH") returns empty string HOT 4
- Current version breaks CRAN checks HOT 7
- QVM support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bh.