Windows users note: the rw-faq says
|1.8) Can I use rw0xx with ESS and emacs?
|
|Yes. Some time soon versions of ESS (5.1.3 has a `somewhat rough'
|prototype for rw0632) will come with support for this version of R. If
|yours does not, edit essd-r.el to have
|
| (inferior-ess-start-args . "--ess"))
|
|and make sure you give the full path to Rterm.exe as the R executable.
|(You can add other flags like --vsize 10M after -ess.)
However, if you want to use iESS edit object and many other functions in
the iESS dropdown menu, you must also first edit the distributed file
[ess-path]/lisp/essd-r32.el to reflect the pathname for your
installation of Rterm, and then before calling M-x R you MUST first
issue
M-x load-library RET essd-r32
This will become automatic in future releases of ESS, but I don't know
when that will be.
Now a simple question: I added --vsize 64M --nsize 1000000 options, but
I only get
gc()
free total
Ncells 90030 200000
Vcells 224652 262144
Have I hit a limit or is the command actually ignored? When I give these
options to Rgui I get
gc()
free total
Ncells 890030 1000000
Vcells 8351116 8388608
Finally, there seems to be a bug/incompatibility between rw0633 and
ess-5.1.3. It is necessary to edit out the default addition of
--no-readline within essd-r.el (at least if you don't want a warning
every start-up). I have just quickly edited
; (let ((r-start-args (concat "--no-readline "
(let ((r-start-args (concat ""
but suspect a lot of this code section is redundant now.
Incidentally, what's the problem with interfacing the cygwin bash? In
rw0632/ess despite the warnings I could use system('set') no problem.
Now it says 'set not found'. I can still do
system('uname -a')
CYGWIN_NT-4.0 STATS 20.0 (0.1/1/1) 1998-11-2 05:59:57 i686 unknown
(I resolved my dilemma as to whether this is an ess or R report by
writing to both lists. Apologies to those who get this twice.)
Simon Fear
********************************************
Dr S.C. Fear
Statistician Hon. Lecturer
Roy Castle ICLCR Dept Math. Sci.
200 London Road University of Liverpool
Liverpool L3 9TA Liverpool L69 3BX
fears at rc.liv.ac.uk scf at liv.ac.uk
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, Apr 06, 1999 at 03:45:53PM +0100, Simon Fear wrote:
Windows users note: the rw-faq says
Now a simple question: I added --vsize 64M --nsize 1000000 options, but
I only get
gc()
free total
Ncells 90030 200000
Vcells 224652 262144
Have I hit a limit or is the command actually ignored? When I give these
options to Rgui I get
gc()
free total
Ncells 890030 1000000
Vcells 8351116 8388608
Could you try to execute Rterm outside ESS (i.e., in a dos or bash
window)? Doing that I get exactly your Rgui numbers and so I suspect
that problem is in the way Rterm is called. But, please, if you
have a minutes repeat the test on your machine.
Incidentally, what's the problem with interfacing the cygwin bash? In
rw0632/ess despite the warnings I could use system('set') no problem.
Now it says 'set not found'. I can still do
On the contrary, this is rw not ESS. 'system' is changed in rw0633
and now, as noted in the man page (?system), has no shell behind.
Now, 'set' is an internal command so you have to invoke it
using
system("command /C set",show=T)
or
system("bash -c set",show=T)
In rw0633, there is also a new 'shell' command (written by
Brian Ripley) which provide a more natural interface to thing
as set. Indeed,
shell("set")
works (and automatically remaps to one of the two forms before
if it knows which shell you like - try ?shell to see
the details).
BTW, if people try 'system' and 'shell', I will like to know
what name they prefer. Probably, 'shell' is more near to
the Unix system so, perhaps, it can be the base
of the Windows 'system' with the actual system
renamed to something like system.helper.
In any case, 'shell' will remain for S+ compatibility.
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._