[R] positioning of R windows

Glenn Stauffer gestauffer at gmail.com
Thu Apr 18 16:54:03 CEST 2013


I said I would post if I figured this out - here is what I found. When my
working directory is located anywhere within my user folder (e.g.
"C/Users/Stauffer") on my Windows 7 computer, then the "Browse for folder"
dialog box displays the behavior I described (directory tree always defaults
to "My Computer"). But when the working directory is outside this user
account, then the directory tree behaves normally. 

> -----Original Message-----
> From: Glenn Stauffer [mailto:gestauffer at gmail.com]
> Sent: Tuesday, March 05, 2013 11:11 AM
> To: 'Duncan Murdoch'
> Cc: 'Prof Brian Ripley'; r-help at r-project.org
> Subject: RE: [R] positioning of R windows
> 
> I'm sorry - yes I meant 2.15.3. But I think it probably does not matter.
> Others are not seeing the behavior that I am (with any version), so I
don't think R
> is the problem. But I will post if I ever get it figured out.
> 
> Thanks,
> Glenn Stauffer
> 
> -----Original Message-----
> From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
> Sent: Tuesday, March 05, 2013 10:58 AM
> To: Glenn Stauffer
> Cc: 'Prof Brian Ripley'; r-help at r-project.org
> Subject: Re: [R] positioning of R windows
> 
> On 05/03/2013 10:22 AM, Glenn Stauffer wrote:
> > I've updated to the latest version of R,
> 
> That's a little ambiguous.  Do you mean 2.15.3?  I didn't put the new
change into
> that, because it was too late.  You can try a build of the development
version,
> which will be released as 3.0.0 in April, and you should see different
behaviour.
> 
> Duncan Murdoch
> 
> 
> >   but still the problem persists.
> > Another thing I noticed (but failed to mention before) is that when I
> > initially open the "change working directory" dialog box, the little
> > line labeled "Folder:" (under the window showing the folder tree) does
> > show the current folder for a split second before reverting back to
> > the folder "Computer". But the tree always just selects "Computer" and
> > below that lists the C drive and the D drive.
> >
> > Anyway, I am convinced now that it is not an R issue, but rather
> > something about my computer, specifically.
> >
> > Glenn Stauffer
> >
> >
> > -----Original Message-----
> > From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
> > Sent: Friday, March 01, 2013 8:25 AM
> > To: Glenn Stauffer
> > Cc: 'Prof Brian Ripley'; r-help at r-project.org
> > Subject: Re: [R] positioning of R windows
> >
> > On 13-02-28 11:10 AM, Duncan Murdoch wrote:
> > > On 28/02/2013 11:00 AM, Glenn Stauffer wrote:
> > >> Ahh, I should have known about the MDI and SDI options - choosing
> > >> SDI lets me do what I want. Thanks.
> > >> On #2, I realized that when the change directory dialog window pops
> > >> up, if I resize it, R remembers the resizing so that now the entire
> > >> window is visible. I should have tried that before I posted. No
> > >> luck though on getting the "change directory" dialog box to begin
> > >> at the current working directory the same manner as 'save' or 'open'
> > >> dialog boxes.
> > >> I'll update to the new R version
> > >
> > > In the 2.15.3 release candidate, I see this:
> > >
> > > The first time I open that control, it starts in the current working
> > > directory.
> > >
> > > After that, it starts in the last directory chosen in that control.
> > > If I've used setwd() in the console to change, it doesn't see the
> change.
> > >
> > > This might be fixable, but not for tomorrow.
> >
> > It is now changed so that it starts in the current working directory,
> > whether that was chosen by dialog or setwd().  This will appear in
3.0.0.
> >
> > Duncan Murdoch
> >
> > >
> > > Duncan Murdoch
> > >
> > >>
> > >> Thanks,
> > >> Glenn Stauffer
> > >>
> > >> -----Original Message-----
> > >> From: r-help-bounces at r-project.org
> > >> [mailto:r-help-bounces at r-project.org] On Behalf Of Prof Brian
> > >> Ripley
> > >> Sent: Thursday, February 28, 2013 1:52 AM
> > >> To: r-help at r-project.org
> > >> Subject: Re: [R] positioning of R windows
> > >>
> > >> On 27/02/2013 22:33, Glenn Stauffer wrote:
> > >>> I have 2 (related, I think) questions about positioning of windows
> > >>> within
> > >> R.
> > >>>
> > >>> 1.       I often work with a second monitor and sometimes like to
> > arrange
> > >> 1
> > >>> or more plot windows on the second monitor, while keeping the
> > >>> console on the primary monitor (so I can see things better). I
> > >>> used to be able to do this (when using Windows XP), but it seems
> > >>> that now (using Windows 7) I can't even move the plot window
> > >>> outside of the parent R window. Is this a Windows
> > >>> 7 issue, or something I can fix with R preferences?
> > >>
> > >> Run RGui with --sdi  I don't believe it was ever intentionally
> > >> possible to move MDI windows outside the frame.
> > >>
> > >>> 2.       When I use the file menu to change directories I noticed 2
> > >>> differences from Win XP to Win 7. In Win 7, 1) the bottom of the
> > >>> pop-up window is off the bottom of my computer, and 2) the
> > >>> directory tree defaults to something close to the root, regardless
> > >>> of the current
> > >> working directory.
> > >>> In Win XP, the directory tree defaulted to the current working
> > >>> directory, which made it easy to jump up one folder, etc. Is there
> > >>> any way to make this the default behavior?
> > >>
> > >> Ask Microsoft not to change the behaviour of their common controls
API.
> > >>
> > >>> I am using R 2.15.1
> > >>
> > >> Which is not current: R 2.15.3 will be released tomorrow.  And you
> > >> are comparing an old OS (Win7) with a very old one (XP): R for
> > >> Windows was adapted for Win7 and before that, Vista, several years
ago.
> > >>
> > >>>
> > >>>
> > >>>
> > >>> Thanks,
> > >>>
> > >>> Glenn Stauffer
> > >>>
> > >>>
> > >>> 	[[alternative HTML version deleted]]
> > >>>
> > >>> ______________________________________________
> > >>> R-help at r-project.org mailing list
> > >>> https://stat.ethz.ch/mailman/listinfo/r-help
> > >>> PLEASE do read the posting guide
> > >> http://www.R-project.org/posting-guide.html
> > >>> and provide commented, minimal, self-contained, reproducible code.
> > >>>
> > >>
> > >>
> > >
> >
> >
>



More information about the R-help mailing list