Simon I was hopeful that your suggestion would resolve the problem — however, when I execute the exact code that you suggested from a terminal, I get an error. > library(Cocoa) > quartz(); w = .M(.M("NSApplication", "sharedApplication"), "keyWindow") > .M(w, "setFrameTopLeftPoint:", NSMakePoint(100, 1000)) Error in .M(w, "setFrameTopLeftPoint:", NSMakePoint(100, 1000)) : cannot find target class or object. A quartz window opens but the .M command did not move the window. I searched the rforge website to see if it provided any insight but I could not find anything relevant.
I then executed from RGui successfully. Can you advise how to make this work when executed from a terminal? On a different note, the change log contains: new conversions code, support for many types has been added. Structs are converted to pairlists with a "stuct.name" attribute and vice versa. Is there an “r” missing from: stuct.name Any help would be appreciated. Thanks. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Apr 30, 2018, at 1:26 PM, Simon Urbanek <simon.urba...@r-project.org> > wrote: > > Dennis, > > unfortunately, the Quartz windows are always placed at the same coordinates > 100 x 100 and there is no option to change that. > > However, you can move it around using the Cocoa package if you so desire > (assuming you're in the R.app): > > install.packages("Cocoa",,"http://rforge.net <http://rforge.net/>") > > library(Cocoa) > > ## create a quartz device and get its window > ## make sure you run the following as one command or else you'll get the > console window instead > quartz(); w = .M(.M("NSApplication", "sharedApplication"), "keyWindow") > > ## move the window: > .M(w, "setFrameTopLeftPoint:", NSMakePoint(100, 1000)) > > > You can move it anywhere on any screen - also off-screen. > > The other alternative is to move it using AppleScript. > > Cheers, > Simon > > > >> On Apr 30, 2018, at 11:46 AM, Dennis Fisher <fis...@plessthan.com >> <mailto:fis...@plessthan.com>> wrote: >> >> R 3.5.0 >> OS X >> >> Colleagues >> >> When I open a plot() window on-screen, it appears in the lower left corner >> of the screen. >> Is it possible to control the location? If so, what commands? >> And, if so, can I locate it to a display other than the primary display? >> >> Dennis >> >> >> >> Dennis Fisher MD >> P < (The "P Less Than" Company) >> Phone / Fax: 1-866-PLessThan (1-866-753-7784) >> www.PLessThan.com <http://www.plessthan.com/> <http://www.plessthan.com/ >> <http://www.plessthan.com/>> >> >> >> >> >> >> [[alternative HTML version deleted]] >> >> _______________________________________________ >> R-SIG-Mac mailing list >> R-SIG-Mac@r-project.org <mailto:R-SIG-Mac@r-project.org> >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> <https://stat.ethz.ch/mailman/listinfo/r-sig-mac> [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac