[ESS] help() and library() in R return "... cat: not found"
vincent.goulet at act.ulaval.ca
Wed Mar 5 16:14:50 CET 2008
Le mer. 05 mars à 09:27, Martin Maechler a écrit :
> Hi Eiji,
> I think none of the ESS developers currently have MacOS X as
> their ESS + R "work machine".
> So it's hard to help from the developer side.
> Can anyone on ESS-help help Eiji?
I am on OS X, but I never had this sort of problems. I think we would
need some more details: that "GNU Emacs 126.96.36.199" is the terminal
version bundled with OS X? How was ESS installed, then?
What I would like to suggest, though, is to try Aquamacs (http://aquamacs.org
). It is a version of GNU Emacs very well integrated with the OS X
interface. (Personally, I "demac-ified" many things; I'm just too used
to M-w, C-w, C-y for copy-cut-paste.) It comes bundled with many
goodies, including ESS and AUCTeX.
> If not, I'd recommend to post this question
> (maybe with slightly more details) to the
> R-SIG-Mac mailing list.
> Martin Maechler, ETH Zurich
>>>>>> "NEN" == N Eiji Nawa <globusbogus at yahoo.co.jp>
>>>>>> on Wed, 5 Mar 2008 17:25:44 +0900 (JST) writes:
> NEN> A follow-up to my previous email.
> NEN> When I quit R on ess/emacs, a warning message pops-up that
> NEN> could be related to my problem:
> NEN> Save workspace image? [y/n/c]: n
> NEN> sh: line 1: rm: command not found
> NEN> I don't see that when I quit R running on xterm or the GUI
> NEN> R. Any help is welcome. Thanks a lot!
> NEN> E.
> NEN> --
> NEN> Hello:
> NEN> this is my first post to ess-help (a great software by the
> NEN> way!). I must say first that I am not quite sure my
> NEN> problem can be solved within ess (apologies in advance if
> NEN> that's the case). Let me first describe my system:
> NEN> ess 5.3.6
> NEN> Mac OS X 10.4.11 (G5)
> NEN> GNU Emacs 188.8.131.52
> NEN> R 2.6.2
> NEN> I am having trouble viewing the R help files from within
> NEN> ess/emacs. This is what happens. When I type
> NEN> help(read.table)
> NEN> a second buffer (named *help[R](read.table)*) opens up but
> NEN> with an error message
> NEN> /Library/Frameworks//R.framework/Resources/bin/pager: line
> NEN> 10: exec: cat: not found
> NEN> When I type
> NEN> library()
> NEN> I get exactly the same message as above but now in R's
> NEN> main buffer (*R*).
> NEN> Both commands work fine if I run R from a terminal window
> NEN> (like xterm) or from the GUI version of R.
> NEN> What is puzzling me the most is that if I open a shell in
> NEN> emacs, run R, and try help(read.table) or library(), I get
> NEN> the correct results.
> NEN> I first thought it was something related to environment
> NEN> variables, so I first defined R_HOME as
> NEN> /Library/Frameworks/R.framework/Resources but it didn't
> NEN> work. Then I defined R_ENVIRON as
> NEN> /Library/Frameworks/R.framework/Resources/etc/ppc/Renviron
> NEN> but got the same output as before.
> NEN> If you have seen this before or have an idea on how I
> NEN> could nail this down in more details, I will be happy to
> NEN> hear from you.
> NEN> Thank you very much in advance!
> NEN> N. Eiji Nawa
> NEN> ______________________________________________
> NEN> ESS-help at stat.math.ethz.ch mailing list
> NEN> https://stat.ethz.ch/mailman/listinfo/ess-help
> ESS-help at stat.math.ethz.ch mailing list
More information about the ESS-help