On Thu, Feb 3, 2011 at 7:11 PM, Paul Johnson <pauljohn32@gmail.com> wrote:

> On Thu, Feb 3, 2011 at 12:06 PM, RICHARD M. HEIBERGER <rmh@temple.edu>
> wrote:
>

The only big Vista/Win7 complication I see is that "VirtualStore"
disaster. When I try to configure something in ESS or install an R
package and I'm not acting as the administrator, then Windows tries to
"fool me" by installing the app in a hidden part of the user  account,
in a folder named like
C:\Users\pauljohn\AppData\...\LocalSettings\VirtualStore\.  Then it
creates an "illusion" that it did install into C:\Program Files\R by
re-routing my user requests from the C:\Program Files area into that
VirtualStore.  So after I log off, then other users come along and R
packages or Emacs ESS config changes I made are not available to them.

Thank you Paul.  The Virtual Store shenanigans solved my latex problem.
All my .sty files were put there, and then could not be found during
execution of
latex.  All the advice of running initexmf -u as administrator and similar
were irrelevant
because the admin account didn't see the files.  Armed with the VS
information, I opened a
second emacs as administrator and from there moved the VS files to where
they really
belong. Now the latex finds them.  I do this relatively safely by using a
different color
scheme for the administrator emacs window than for my own emacs.  Here are
the three
lines I use in my admin.el file to make them visually distinct.

(load-library "ess-font-lock")
(ess-font-lock-wheat)
(setq frame-title-format
      '(multiple-frames "%b" ("" "Administrator" "@" system-name)))

In my regular emacs window I use (ess-font-lock-rmh)

Rich

	[[alternative HTML version deleted]]

