Rodney Sparapani | 1 Sep 2010 15:57
Picon
Gravatar

Re: ESS with S+ 8.1 Linux: C-c C-V Infinitely Hangs

On 08/31/10 03:51 PM, Allison, James wrote:
> Attempting to get help on a function by 'C-c C-v' yields "Help on:" at
> the command line. Upon entering an S+ command for which help is desired
> and hitting "Enter" the emacs session hangs and must be killed. Is there
> a setting necessary to direct ESS/Emacs to the help pages?
>
> Thanks,
>
> Jim

Hi Jim:

We don't have access to Splus any more.  What happens if you try this
outside of ESS?  Does it change the prompt by any chance?

--

-- 
Rodney Sparapani       Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA

______________________________________________
ESS-help <at> stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

gerald.jean | 1 Sep 2010 17:04
Picon

Re: ESS with S+ 8.1 Linux: C-c C-V Infinitely Hangs

Hello,

I use Splus daily through ESS, on a setting very similar to Jim, same
version, 8.1.1 on a Linux platform as well and I don't observe this
behaviour.  C-c C-v yields "Help on:" as mentionned by Jim but when I enter
a fonction name, or part of a name and use tab for completion, I do get the
requested function's help buffer and Emacs does'nt hang.  I do get what I
think is the normal behaviour!

Cheers,

Gérald Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions d'assurances,
Desjardins Groupe d'Assurances Générales
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean <at> dgag.ca

"We believe in God, others must bring Data."

W. Edwards Deming

ess-help-bounces <at> stat.math.ethz.ch a écrit sur 2010/09/01 09:57:46 :

> On 08/31/10 03:51 PM, Allison, James wrote:
> > Attempting to get help on a function by 'C-c C-v' yields "Help on:" at
> > the command line. Upon entering an S+ command for which help is desired
> > and hitting "Enter" the emacs session hangs and must be killed. Is
there
(Continue reading)

Erik Iverson | 1 Sep 2010 17:13
Picon

Re: ESS with S+ 8.1 Linux: C-c C-V Infinitely Hangs

What are the ESS and Emacs versions for you both?

gerald.jean <at> dgag.ca wrote:
> Hello,
> 
> I use Splus daily through ESS, on a setting very similar to Jim, same
> version, 8.1.1 on a Linux platform as well and I don't observe this
> behaviour.  C-c C-v yields "Help on:" as mentionned by Jim but when I enter
> a fonction name, or part of a name and use tab for completion, I do get the
> requested function's help buffer and Emacs does'nt hang.  I do get what I
> think is the normal behaviour!
> 
> Cheers,
> 
> Gérald Jean
> Conseiller senior en statistiques,
> VP Actuariat et Solutions d'assurances,
> Desjardins Groupe d'Assurances Générales
> télephone            : (418) 835-4900 poste (7639)
> télecopieur          : (418) 835-6657
> courrier électronique: gerald.jean <at> dgag.ca
> 
> "We believe in God, others must bring Data."
> 
> W. Edwards Deming
> 
> ess-help-bounces <at> stat.math.ethz.ch a écrit sur 2010/09/01 09:57:46 :
> 
>> On 08/31/10 03:51 PM, Allison, James wrote:
>>> Attempting to get help on a function by 'C-c C-v' yields "Help on:" at
(Continue reading)

gerald.jean | 1 Sep 2010 18:19
Picon

Re: ESS with S+ 8.1 Linux: C-c C-V Infinitely Hangs

Hello again,

for me it is: Emacs 22.3.1, which I can't upgrade, I'm not admin on the
Linux server; ESS 5.11

Gérald Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions d'assurances,
Desjardins Groupe d'Assurances Générales
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean <at> dgag.ca

"We believe in God, others must bring Data."

W. Edwards Deming

ess-help-bounces <at> stat.math.ethz.ch a écrit sur 2010/09/01 11:13:02 :

> What are the ESS and Emacs versions for you both?
>
> gerald.jean <at> dgag.ca wrote:
> > Hello,
> >
> > I use Splus daily through ESS, on a setting very similar to Jim, same
> > version, 8.1.1 on a Linux platform as well and I don't observe this
> > behaviour.  C-c C-v yields "Help on:" as mentionned by Jim but when I
enter
> > a fonction name, or part of a name and use tab for completion, I do get
the
(Continue reading)

Martin Maechler | 1 Sep 2010 20:40
Picon
Favicon
Gravatar

Re: ESS with S+ 8.1 Linux: C-c C-V Infinitely Hangs

On Wed, Sep 1, 2010 at 17:04,  <gerald.jean <at> dgag.ca> wrote:
> Hello,
>
> I use Splus daily through ESS, on a setting very similar to Jim, same
> version, 8.1.1 on a Linux platform as well and I don't observe this
> behaviour.  C-c C-v yields "Help on:" as mentionned by Jim but when I enter
> a fonction name, or part of a name and use tab for completion, I do get the
> requested function's help buffer and Emacs does'nt hang.  I do get what I
> think is the normal behaviour!

So do I, ... when I "use" S+  ... which has become  extremely rare
nowadays, though..
typically only for testing ESS or compare S+ with R...

Martin

> Cheers,
>
> Gérald Jean
> Conseiller senior en statistiques,
> VP Actuariat et Solutions d'assurances,
> Desjardins Groupe d'Assurances Générales
> télephone            : (418) 835-4900 poste (7639)
> télecopieur          : (418) 835-6657
> courrier électronique: gerald.jean <at> dgag.ca
>
> "We believe in God, others must bring Data."
>
> W. Edwards Deming
>
(Continue reading)

Paul Johnson | 1 Sep 2010 21:43
Picon

Warning about Emacs/ESS administration and Windows 7 Weirdness

I installed Emacs with ESS from Prof Goulet's site (thanks again!
http://vgoulet.act.ulaval.ca/en/ressources/emacs/) on some machines
and everything worked great.  For me.  I mean,  not for other users on
the machines.   I had that same old problem that R was installed in
c:\Program Files, but Emacs in C:\Program Files (x86) did not find it.
 Then I removed R and installed the 32bit version in C:\Program Files
(x86), but Emacs/Ess could not find it either.  I suppose my registry
settings were so full of crap by that time it was a lost cause.

But that's not such a bad problem.  As the Windows admin, I can change
the site-start.el file in Emacs to let it know where Rterm is.  No big
deal.

But when another user logs in, WHAMO, site-start.el is changed back to
the original thing. Rterm.exe not found.  It was very maddening. I
kept having to make the same change every time a new user came along.

Later I learned that Win7 has a 'security' setup called UAR and if you
edit a file in C:\Program Files (x86), even if you are the
administrator, Win7 thinks you don't mean what you are doing, and so
it transparently saves your changes in a different place inside your
own user account.  So the change you make works for you only, not for
other users.  The new version goes into a folder "VirtualStore" that
is in a hidden part of the user folder.  Any program the user runs
that looks for C:\Program Files (x86)\GNU Emacs
23.7\site-lisp\site-start.el  does not get what it asks for. Instead,
it gets C:\Users\pauljohn\AppData\Local\VirtualStore\...

I pokee and bashed this long enough to find a "workaround".  If you
use the admin power to copy the file to some "unprotected" directory,
(Continue reading)

Rodney Sparapani | 1 Sep 2010 21:59
Picon
Gravatar

Re: Warning about Emacs/ESS administration and Windows 7 Weirdness

On 09/ 1/10 02:43 PM, Paul Johnson wrote:
> I installed Emacs with ESS from Prof Goulet's site (thanks again!
> http://vgoulet.act.ulaval.ca/en/ressources/emacs/) on some machines
> and everything worked great.  For me.  I mean,  not for other users on
> the machines.   I had that same old problem that R was installed in
> c:\Program Files, but Emacs in C:\Program Files (x86) did not find it.
>   Then I removed R and installed the 32bit version in C:\Program Files
> (x86), but Emacs/Ess could not find it either.  I suppose my registry
> settings were so full of crap by that time it was a lost cause.
>
> But that's not such a bad problem.  As the Windows admin, I can change
> the site-start.el file in Emacs to let it know where Rterm is.  No big
> deal.

Two things jump to mind.  First, why doesn't ESS find R in those 
circumstances?  I thought that was fixed.  But, secondly, one solution 
would be to use .emacs instead of site-start.el.  That way you could set 
HOME to be some directory that you all share that would have the 
redefinition of Rterm in it.

Rodney

______________________________________________
ESS-help <at> stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Daniel Nordlund | 1 Sep 2010 23:47
Picon

Re: Warning about Emacs/ESS administration and Windows 7 Weirdness


> -----Original Message-----
> From: ess-help-bounces <at> stat.math.ethz.ch [mailto:ess-help-
> bounces <at> stat.math.ethz.ch] On Behalf Of Paul Johnson
> Sent: Wednesday, September 01, 2010 12:44 PM
> To: ess-help
> Subject: [ESS] Warning about Emacs/ESS administration and Windows 7
> Weirdness
> 
> I installed Emacs with ESS from Prof Goulet's site (thanks again!
> http://vgoulet.act.ulaval.ca/en/ressources/emacs/) on some machines
> and everything worked great.  For me.  I mean,  not for other users on
> the machines.   I had that same old problem that R was installed in
> c:\Program Files, but Emacs in C:\Program Files (x86) did not find it.
>  Then I removed R and installed the 32bit version in C:\Program Files
> (x86), but Emacs/Ess could not find it either.  I suppose my registry
> settings were so full of crap by that time it was a lost cause.
> 
> But that's not such a bad problem.  As the Windows admin, I can change
> the site-start.el file in Emacs to let it know where Rterm is.  No big
> deal.
> 
> But when another user logs in, WHAMO, site-start.el is changed back to
> the original thing. Rterm.exe not found.  It was very maddening. I
> kept having to make the same change every time a new user came along.
> 
> Later I learned that Win7 has a 'security' setup called UAR and if you
> edit a file in C:\Program Files (x86), even if you are the
> administrator, Win7 thinks you don't mean what you are doing, and so
> it transparently saves your changes in a different place inside your
(Continue reading)

RICHARD M. HEIBERGER | 2 Sep 2010 05:45
Picon
Favicon

Re: Warning about Emacs/ESS administration and Windows 7 Weirdness

Paul,

Please send the ess-help list the full paths of all versions of Rterm
on your system, including development
of 2.12.0 if you have them, both 32-bit and 64-bit.

Also please evaluate the three environment variables
"ProgramFiles"
"ProgramFiles(x86)"
"ProgramW6432"

from the DOS prompt (32 and 64 if that is meaningful)
and from inside both the 32-bit and 64-bit Rterm executions.

Also send the value of the emacs variable
ess-rterm-version-paths

If there is anything obvious that I forgot to ask for, please send that too.
I don't have Windows 7 as my working environment, but I do have user
access to machines
that run Windows 7.

I won't be able to pay serious attention to this for about two weeks.
Our classes have started now.

Rich

______________________________________________
ESS-help <at> stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
(Continue reading)

Stephen Eglen | 2 Sep 2010 14:47
Picon
Picon
Favicon

Re: Warning about Emacs/ESS administration and Windows 7 Weirdness

hi Rich,

Our dept has recently set up a windows server, so that I can use
'rdesktop' from my linux machine to remotely login.  When I start
Rgui on windows, and do

> getwd()

it tells me :
  "C:/Program Files/q/R-2.11.1/bin"

Do I just need to manually set ess-rterm-version-paths ?

Also, is there a nice R command that tells me the directory in which I
can find Rterm.exe?   

... and then I'm thinking of whether we can get R to include a default
function, say ess.find.rterm() that could automatically generate the
lisp code that a user would need to stick in their ~/.emacs so that that
version of R is found by a fresh emacs.

Stephen

______________________________________________
ESS-help <at> stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Gmane