kornl / crossover Goto Github PK
View Code? Open in Web Editor NEWCrossover Designs
Crossover Designs
Hi again!
I tried installing it from CRAN (I am on OS X 'El Capitan'), and the GUI doesn't run. The error is:
Error in .jnew("org/mutoss/gui/CrossoverGUI") :
java.awt.HeadlessException
The files that it is looking for are not in the /java/ folder. The only one in the java folder is 'crossover.jar' and it cannot be run (it is missing a manifest attribute and can't be executed). This is how it looks in the terminal:
XXX-XXX:~ ywebbvar$ java -jar /Library/Frameworks/R.framework/Versions/3.2/Resources/library/Crossover/java/crossover.jar
no main manifest attribute, in /Library/Frameworks/R.framework/Versions/3.2/Resources/library/Crossover/java/crossover.jar
Also, I tried copying the contents of the /java/ folder from the /pkg/ folder in this repo, and still got the same error in .jnew()
Thank you for your work!
searchCrossOverDesign(s=6, p=4, v=2, model="Treatment decay model", v.rep=c(12,12), eff.factor=c(1,0.01), contrast="Tukey")
vs.
searchCrossOverDesign(s=6, p=4, v=2, model="Treatment decay model", v.rep=c(12,12), eff.factor=c(1,0.01))
Hello,
I installed the Crossover
package and its dependencies from CRAN. However, when I run CrossoverGUI()
, I get the following error:
Error in .jnew("org/mutoss/gui/CrossoverGUI") :
java.awt.HeadlessException
2017-11-30 15:15:03.072 R[511:4469] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
I'm running OS 10.13.1 and R 3.4.2. My java version is:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
I searched for "Process manager already initialized: can't fully enable headless mode." errors in google, but found nothing obvious.
Any ideas?
Thanks,
-Bradley
Hi Kornelius!
I got the following error when attempting to install from github (install_github("kornl/Crossover")
):
Downloading GitHub repo kornl/Crossover@master
from URL https://api.github.com/repos/kornl/Crossover/zipball/master
Error: Does not appear to be an R package (no DESCRIPTION)
The package looks very useful! Thank you for developing it.
I am not able to install Crossover in R. It has been removed from CRAN, so I tried to install the build from GitHub. I get the following output:
install_github("kornl/Crossover", subdir="pkg/Crossover", dependencies = TRUE, build_vignettes = TRUE)
Downloading GitHub repo kornl/Crossover@master
Skipping 1 packages not available: LinkingTo: Rcpp
✓ checking for file ‘/private/var/folders/jh/hqp4yffn5sj5x5fw_1j4hff80000gn/T/Rtmpcwp6b4/remotes48342a9ffb1a/kornl-crossover-a400d40/pkg/Crossover/DESCRIPTION’ ...
─ preparing ‘Crossover’: (563ms)
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ installing the package to build vignettes
-----------------------------------
ERROR: dependency ‘LinkingTo’ is not available for package ‘Crossover’
─ removing ‘/private/var/folders/jh/hqp4yffn5sj5x5fw_1j4hff80000gn/T/Rtmpk7nwfI/Rinst4bcd3ee1f97e/Crossover’
-----------------------------------
ERROR: package installation failed
Error: Failed to install 'Crossover' from GitHub:
System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/private/var/folders/jh/hqp4yffn5sj5x5fw_1j4hff80000gn/T/Rtmpcwp6b4/remotes48342a9ffb1a/kornl-crossover-a400d40/pkg/Crossover/DESCRIPTION’ ... OK
E> * preparing ‘Crossover’:
E> * checking DESCRIPTION meta-information ... OK
E> * cleaning src
E> * installing the package to build vignettes
E> -----------------------------------
E> ERROR: dependency ‘LinkingTo’ is not available for package ‘Crossover’
E> * removing ‘/private/var/folders/jh/hqp4yffn5sj5x5fw_1j4hff80000gn/T/Rtmpk7nwfI/Rinst4bcd3ee1f97e/Crossover’
E> -----------------------------------
E> ERROR: package installation failed
Any advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.