Comments (6)
Hello,
thanks for trying out powsimR!
So there appears to be an issue with the subversion (SVN).
If you successfully installed all dependencies of powsimR (see also https://github.com/bvieth/powsimR/issues/20#issuecomment-393850730), you can manually install powsimR:
Step 1: Download the source zip from github.
Step 2: Unzip the content.
Step 3: Run the following code (adjust the path as necessary):
library(devtools); source <- devtools::source_pkg("E:/temp/powsimR-master"); devtools::install(source); library(powsimR)
I hope this helps!
Kind regards
Beate
from powsimr.
hi
i still get error message.
library(devtools); source <- devtools::source_pkg("C:/Users/gcrynen/Documents/powsimR-master"); devtools::install(source); library(powsimR)
Error: 'source_pkg' is not an exported object from 'namespace:devtools'
so I added one more : between devtools and source pkg and i get the SVN error.
library(devtools); source <- devtools:::source_pkg("C:/Users/gcrynen/Documents/powsimR-master"); devtools::install(source); library(powsimR)
Installing powsimR
Error: SVN does not seem to be installed on your system.
from powsimr.
Hello,
One alternative is to download the zip file, unzip it and subsequently zip it as a tar.gz file and then install the source package in R:
install.packages("powsimR.tar.gz", type="source", repos=NULL)
Kind regards
Beate
from powsimr.
Thank you for the advice, I hate to be the bearer of bad news but that didnt work either, here is the log
install.packages("C:/Users/.../Downloads/powsimR.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/.../Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
- installing source package 'powsimR' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Warning: replacing previous import 'DECENT::lrTest' by 'MAST::lrTest' when loading 'powsimR'
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Users/..../Documents/R/win-library/3.4/rtracklayer/libs/x64/rtracklayer.dll':
`maximal number of DLLs reached...
ERROR: lazy loading failed for package 'powsimR' - removing 'C:/Users/gcrynen/Documents/R/win-library/3.4/powsimR'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA1/R/R-341.4/bin/x64/R" CMD INSTALL -l "C:\Users...\Documents\R\win-library\3.4" "C:/Users/.../DROPBO1/DOWNLO1/powsimR.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/.../DROPBO1/DOWNLO1/powsimR.tar.gz’ had non-zero exit status
from powsimr.
Hello,
so from your message above I can see that you have reached the maximum number of DLLs. As explained in the README file, you can set this system environmental variable to a higher number:
Starting with R version 3.4.0, one can set the environmental variable 'R_MAX_NUM_DLLS' to a higher number. I recommend to increase the maximum number of DLLs that can be loaded to at least 500. For that locate the Renviron file: First determine your R_HOME directory (see the output of R.home(component="home")
), then in there, you will find the Renviron file in etc/ folder. Open the file with an editor and add the following line: R_MAX_NUM_DLLS=500. Save the changes to the file and restart your R to load the changes.
Kind regards
Beate
from powsimr.
thank you for the quick reply. This helped me through installation but then when i loaded the package it gave me a similar maximum dll error. I looked at ?Startup file and reading that I created a "Renviron.site" file with the same line you suggested (R_MAX_NUM_DLLS=500) under the same etc folder (C:\Program Files\R\R-3.4.4\etc) and it worked!
thank you very much for all the help.
from powsimr.
Related Issues (20)
- Which distributions are considered nested in `evaluateDist`? HOT 2
- Installation Issue HOT 7
- Dependency Issue HOT 6
- RNA Bulk pipeline HOT 1
- Issue with PowerSimR installation HOT 1
- Can't install in R v4.01 HOT 1
- error building vignette HOT 1
- pLFC input question HOT 1
- installation issue HOT 1
- FDR HOT 1
- Package installation failed HOT 1
- Installation Failed R v. 4.1.0 HOT 1
- simulateDE() error
- installation failed HOT 1
- Unable to install
- The gene number simulated by powsimR is not equal to the custom setting HOT 1
- plotEvalROC bug and statistical question on conditional to the mean TPR
- vector size HOT 2
- Installation error HOT 4
- installation failed: SummarizedExperiment HOT 1
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 powsimr.