Information shows in browser, not “R Help” pane, when using StatET












2















I am using Eclipse 2018-09 and StatET 3.6.1. I have two R environments: one for R 3.3.2, another for R 3.5.1. When I execute a command like ?lm to call up a help page in v3.3.2, the page appears in the StatET "R Help" pane, as I want it to. But when I execute the same command to call up a help page in v3.5.1, the console tells me "starting httpd help server," and the help page loads in my browser. How can I get help to load in the "R Help" pane when using v3.5.1?



The problem arises whether or not I run Eclipse as an administrator, and whether or not I "Auto Run" R 3.5.1 upon booting. And as far as I can tell, the configurations for the two versions of R are nearly identical:




  • Both are running Windows 10 and JRE 1.8.0_121.

  • Both with version 2.1 of the rj package.

  • For both, I've checked every box in "Run Configurations > R Console > R Console > Eclipse Integration," including "Enable R Help for StatET."

  • For both, options("help_type") == 'html'.


Inspection of the different log files that I get when using Auto Run with the two versions of R suggests that there is some sort of StatET config problem that has to do with Derby. These messages appear only when I boot R 3.5.1:



!ENTRY de.walware.statet.r.core 4 -1 2018-11-16 02:50:29.092
!MESSAGE An error occurred when initializing DB for model.
!STACK 1
org.eclipse.core.runtime.CoreException: An error occurred when loading embedded DB (Derby + DBCP)
DB ConnectionURL=[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb
[...]
Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.
[...]
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.


But I don't know what to make of this problem or how to fix it.










share|improve this question





























    2















    I am using Eclipse 2018-09 and StatET 3.6.1. I have two R environments: one for R 3.3.2, another for R 3.5.1. When I execute a command like ?lm to call up a help page in v3.3.2, the page appears in the StatET "R Help" pane, as I want it to. But when I execute the same command to call up a help page in v3.5.1, the console tells me "starting httpd help server," and the help page loads in my browser. How can I get help to load in the "R Help" pane when using v3.5.1?



    The problem arises whether or not I run Eclipse as an administrator, and whether or not I "Auto Run" R 3.5.1 upon booting. And as far as I can tell, the configurations for the two versions of R are nearly identical:




    • Both are running Windows 10 and JRE 1.8.0_121.

    • Both with version 2.1 of the rj package.

    • For both, I've checked every box in "Run Configurations > R Console > R Console > Eclipse Integration," including "Enable R Help for StatET."

    • For both, options("help_type") == 'html'.


    Inspection of the different log files that I get when using Auto Run with the two versions of R suggests that there is some sort of StatET config problem that has to do with Derby. These messages appear only when I boot R 3.5.1:



    !ENTRY de.walware.statet.r.core 4 -1 2018-11-16 02:50:29.092
    !MESSAGE An error occurred when initializing DB for model.
    !STACK 1
    org.eclipse.core.runtime.CoreException: An error occurred when loading embedded DB (Derby + DBCP)
    DB ConnectionURL=[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb
    [...]
    Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.
    [...]
    Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.


    But I don't know what to make of this problem or how to fix it.










    share|improve this question



























      2












      2








      2








      I am using Eclipse 2018-09 and StatET 3.6.1. I have two R environments: one for R 3.3.2, another for R 3.5.1. When I execute a command like ?lm to call up a help page in v3.3.2, the page appears in the StatET "R Help" pane, as I want it to. But when I execute the same command to call up a help page in v3.5.1, the console tells me "starting httpd help server," and the help page loads in my browser. How can I get help to load in the "R Help" pane when using v3.5.1?



      The problem arises whether or not I run Eclipse as an administrator, and whether or not I "Auto Run" R 3.5.1 upon booting. And as far as I can tell, the configurations for the two versions of R are nearly identical:




      • Both are running Windows 10 and JRE 1.8.0_121.

      • Both with version 2.1 of the rj package.

      • For both, I've checked every box in "Run Configurations > R Console > R Console > Eclipse Integration," including "Enable R Help for StatET."

      • For both, options("help_type") == 'html'.


      Inspection of the different log files that I get when using Auto Run with the two versions of R suggests that there is some sort of StatET config problem that has to do with Derby. These messages appear only when I boot R 3.5.1:



      !ENTRY de.walware.statet.r.core 4 -1 2018-11-16 02:50:29.092
      !MESSAGE An error occurred when initializing DB for model.
      !STACK 1
      org.eclipse.core.runtime.CoreException: An error occurred when loading embedded DB (Derby + DBCP)
      DB ConnectionURL=[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb
      [...]
      Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.
      [...]
      Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.


      But I don't know what to make of this problem or how to fix it.










      share|improve this question
















      I am using Eclipse 2018-09 and StatET 3.6.1. I have two R environments: one for R 3.3.2, another for R 3.5.1. When I execute a command like ?lm to call up a help page in v3.3.2, the page appears in the StatET "R Help" pane, as I want it to. But when I execute the same command to call up a help page in v3.5.1, the console tells me "starting httpd help server," and the help page loads in my browser. How can I get help to load in the "R Help" pane when using v3.5.1?



      The problem arises whether or not I run Eclipse as an administrator, and whether or not I "Auto Run" R 3.5.1 upon booting. And as far as I can tell, the configurations for the two versions of R are nearly identical:




      • Both are running Windows 10 and JRE 1.8.0_121.

      • Both with version 2.1 of the rj package.

      • For both, I've checked every box in "Run Configurations > R Console > R Console > Eclipse Integration," including "Enable R Help for StatET."

      • For both, options("help_type") == 'html'.


      Inspection of the different log files that I get when using Auto Run with the two versions of R suggests that there is some sort of StatET config problem that has to do with Derby. These messages appear only when I boot R 3.5.1:



      !ENTRY de.walware.statet.r.core 4 -1 2018-11-16 02:50:29.092
      !MESSAGE An error occurred when initializing DB for model.
      !STACK 1
      org.eclipse.core.runtime.CoreException: An error occurred when loading embedded DB (Derby + DBCP)
      DB ConnectionURL=[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb
      [...]
      Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.
      [...]
      Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database C:[path redacted]eclipse-workspace.metadata.pluginsde.walware.statet.r.coredb.


      But I don't know what to make of this problem or how to fix it.







      r eclipse derby statet






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 16 '18 at 16:12







      user697473

















      asked Nov 7 '18 at 2:20









      user697473user697473

      615626




      615626
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Stephan Wahlbrink, the creator of StatET, recommended running this command at startup:



          registerS3method("print", "help_files_with_topic", rj::print.help_files_with_topic)


          I ran the command, and it solved the problem.



          (Stephan added that the Derby errors that I saw in the logs were unrelated to the problem of displaying help in the "R Help" pane.)






          share|improve this answer
























            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%2f53182792%2finformation-shows-in-browser-not-r-help-pane-when-using-statet%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Stephan Wahlbrink, the creator of StatET, recommended running this command at startup:



            registerS3method("print", "help_files_with_topic", rj::print.help_files_with_topic)


            I ran the command, and it solved the problem.



            (Stephan added that the Derby errors that I saw in the logs were unrelated to the problem of displaying help in the "R Help" pane.)






            share|improve this answer




























              0














              Stephan Wahlbrink, the creator of StatET, recommended running this command at startup:



              registerS3method("print", "help_files_with_topic", rj::print.help_files_with_topic)


              I ran the command, and it solved the problem.



              (Stephan added that the Derby errors that I saw in the logs were unrelated to the problem of displaying help in the "R Help" pane.)






              share|improve this answer


























                0












                0








                0







                Stephan Wahlbrink, the creator of StatET, recommended running this command at startup:



                registerS3method("print", "help_files_with_topic", rj::print.help_files_with_topic)


                I ran the command, and it solved the problem.



                (Stephan added that the Derby errors that I saw in the logs were unrelated to the problem of displaying help in the "R Help" pane.)






                share|improve this answer













                Stephan Wahlbrink, the creator of StatET, recommended running this command at startup:



                registerS3method("print", "help_files_with_topic", rj::print.help_files_with_topic)


                I ran the command, and it solved the problem.



                (Stephan added that the Derby errors that I saw in the logs were unrelated to the problem of displaying help in the "R Help" pane.)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 '18 at 18:45









                user697473user697473

                615626




                615626
































                    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%2f53182792%2finformation-shows-in-browser-not-r-help-pane-when-using-statet%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

                    Florida Star v. B. J. F.

                    Danny Elfman

                    Lugert, Oklahoma