Can't load package FSelector for hill.climbing.search












0















I want to use the hill.climbing.search on my data to detect the most significant deviation in my data.
Therefore, I wanted to install the package FSelector which works, but when loading the package I receive this error message:



> library(FSelector)
Error: package or namespace load failed for ‘FSelector’:
.onLoad in loadNamespace() for 'rJava' failed, Details:
Call: fun(libname, pkgname)
Error: JAVA_HOME cannot be determined from the Registry


In addition, I read the introduction to hill.climbing.search from the pdf from CRAN for FSelector package, but I am confused what in my data the parameters attributes and eval.fun are.



Here is my data:



> df1
date count
1 2012-07-01 2.327684
2 2012-08-01 1.351609
3 2012-09-01 1.532830
4 2012-10-01 2.135562
5 2012-11-01 2.847107
6 2012-12-01 3.585103
7 2013-01-01 4.375418
8 2013-02-01 4.138450
9 2013-03-01 5.929983
10 2013-04-01 5.178621
11 2013-05-01 6.756757
12 2013-06-01 4.749200
13 2013-07-01 2.208296
14 2013-08-01 2.244003
15 2013-09-01 2.016025
16 2013-10-01 1.698015
17 2013-11-01 1.459854
18 2013-12-01 3.350970









share|improve this question























  • JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

    – Maylo
    Nov 26 '18 at 9:29













  • Thanks for your comment!How do I install JDK?

    – pineapple
    Nov 26 '18 at 9:38











  • you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

    – Maylo
    Nov 26 '18 at 12:10


















0















I want to use the hill.climbing.search on my data to detect the most significant deviation in my data.
Therefore, I wanted to install the package FSelector which works, but when loading the package I receive this error message:



> library(FSelector)
Error: package or namespace load failed for ‘FSelector’:
.onLoad in loadNamespace() for 'rJava' failed, Details:
Call: fun(libname, pkgname)
Error: JAVA_HOME cannot be determined from the Registry


In addition, I read the introduction to hill.climbing.search from the pdf from CRAN for FSelector package, but I am confused what in my data the parameters attributes and eval.fun are.



Here is my data:



> df1
date count
1 2012-07-01 2.327684
2 2012-08-01 1.351609
3 2012-09-01 1.532830
4 2012-10-01 2.135562
5 2012-11-01 2.847107
6 2012-12-01 3.585103
7 2013-01-01 4.375418
8 2013-02-01 4.138450
9 2013-03-01 5.929983
10 2013-04-01 5.178621
11 2013-05-01 6.756757
12 2013-06-01 4.749200
13 2013-07-01 2.208296
14 2013-08-01 2.244003
15 2013-09-01 2.016025
16 2013-10-01 1.698015
17 2013-11-01 1.459854
18 2013-12-01 3.350970









share|improve this question























  • JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

    – Maylo
    Nov 26 '18 at 9:29













  • Thanks for your comment!How do I install JDK?

    – pineapple
    Nov 26 '18 at 9:38











  • you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

    – Maylo
    Nov 26 '18 at 12:10
















0












0








0








I want to use the hill.climbing.search on my data to detect the most significant deviation in my data.
Therefore, I wanted to install the package FSelector which works, but when loading the package I receive this error message:



> library(FSelector)
Error: package or namespace load failed for ‘FSelector’:
.onLoad in loadNamespace() for 'rJava' failed, Details:
Call: fun(libname, pkgname)
Error: JAVA_HOME cannot be determined from the Registry


In addition, I read the introduction to hill.climbing.search from the pdf from CRAN for FSelector package, but I am confused what in my data the parameters attributes and eval.fun are.



Here is my data:



> df1
date count
1 2012-07-01 2.327684
2 2012-08-01 1.351609
3 2012-09-01 1.532830
4 2012-10-01 2.135562
5 2012-11-01 2.847107
6 2012-12-01 3.585103
7 2013-01-01 4.375418
8 2013-02-01 4.138450
9 2013-03-01 5.929983
10 2013-04-01 5.178621
11 2013-05-01 6.756757
12 2013-06-01 4.749200
13 2013-07-01 2.208296
14 2013-08-01 2.244003
15 2013-09-01 2.016025
16 2013-10-01 1.698015
17 2013-11-01 1.459854
18 2013-12-01 3.350970









share|improve this question














I want to use the hill.climbing.search on my data to detect the most significant deviation in my data.
Therefore, I wanted to install the package FSelector which works, but when loading the package I receive this error message:



> library(FSelector)
Error: package or namespace load failed for ‘FSelector’:
.onLoad in loadNamespace() for 'rJava' failed, Details:
Call: fun(libname, pkgname)
Error: JAVA_HOME cannot be determined from the Registry


In addition, I read the introduction to hill.climbing.search from the pdf from CRAN for FSelector package, but I am confused what in my data the parameters attributes and eval.fun are.



Here is my data:



> df1
date count
1 2012-07-01 2.327684
2 2012-08-01 1.351609
3 2012-09-01 1.532830
4 2012-10-01 2.135562
5 2012-11-01 2.847107
6 2012-12-01 3.585103
7 2013-01-01 4.375418
8 2013-02-01 4.138450
9 2013-03-01 5.929983
10 2013-04-01 5.178621
11 2013-05-01 6.756757
12 2013-06-01 4.749200
13 2013-07-01 2.208296
14 2013-08-01 2.244003
15 2013-09-01 2.016025
16 2013-10-01 1.698015
17 2013-11-01 1.459854
18 2013-12-01 3.350970






r hill-climbing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 '18 at 9:26









pineapplepineapple

747




747













  • JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

    – Maylo
    Nov 26 '18 at 9:29













  • Thanks for your comment!How do I install JDK?

    – pineapple
    Nov 26 '18 at 9:38











  • you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

    – Maylo
    Nov 26 '18 at 12:10





















  • JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

    – Maylo
    Nov 26 '18 at 9:29













  • Thanks for your comment!How do I install JDK?

    – pineapple
    Nov 26 '18 at 9:38











  • you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

    – Maylo
    Nov 26 '18 at 12:10



















JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

– Maylo
Nov 26 '18 at 9:29







JAVA_HOME is an environmental variable set by installing JDK. Installing JDK and pointing your JAVA_HOME env variable to the /bin sub-folder of the JDK should resolve that. Sys.setenv(JAVA_HOME='PATH_TO_JDK')

– Maylo
Nov 26 '18 at 9:29















Thanks for your comment!How do I install JDK?

– pineapple
Nov 26 '18 at 9:38





Thanks for your comment!How do I install JDK?

– pineapple
Nov 26 '18 at 9:38













you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

– Maylo
Nov 26 '18 at 12:10







you can download the latest JDK from here: oracle.com/technetwork/java/javase/downloads/…

– Maylo
Nov 26 '18 at 12:10














0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53478059%2fcant-load-package-fselector-for-hill-climbing-search%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53478059%2fcant-load-package-fselector-for-hill-climbing-search%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ottavio Pratesi

Tricia Helfer

15 giugno