npp2R doesn't always see the existing R console

2013-11-14
2013-11-14
  • Carl Witthoft
    Carl Witthoft
    2013-11-14

    Strange: for the last 2 months, any time I hit <F8> to execute some code in Notepad++, Npp2R would open a new console in SDI mode even though I had a running MDI R session. More or less out of the blue, today I discovered that Npp2R found my running MDI console! I tried opening a second MDI session, and found that <F8> sent the code to whichever console session was last in the foreground. If there are no R sessions running, a new SDI console will be opened.
    Any ideas what happened?
    Windows7-64 "enterprise", R3.0.2, Npp6.5.1, npp2r 2.6.3

     
    • Andrew Redd
      Andrew Redd
      2013-11-14

      I think that I might know what happened. I moved away from window Title,
      due to a package that I am developing that has been rejected from CRAN.
      This means that MDI windows probably have the same class as the SDI
      windows, which means that NppToR could send to either. This is untested
      and unsupported behavior, if it works for you great.

      On Thu, Nov 14, 2013 at 7:50 AM, Carl Witthoft cellocgw@users.sf.netwrote:

      Strange: for the last 2 months, any time I hit to execute some code in
      Notepad++, Npp2R would open a new console in SDI mode even though I had a
      running MDI R session. More or less out of the blue, today I discovered
      that Npp2R found my running MDI console! I tried opening a second MDI
      session, and found that sent the code to whichever console session was last
      in the foreground. If there are no R sessions running, a new SDI console
      will be opened.
      Any ideas what happened?
      Windows7-64 "enterprise", R3.0.2, Npp6.5.1, npp2r 2.6.3


      npp2R doesn't always see the existing R consolehttps://sourceforge.net/p/npptor/discussion/880832/thread/b0389b6a/?limit=25#5174

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/npptor/discussion/880832/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/