<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="+1"><tt>Hi,<br>
<br>
I continue testing rKward. I dont know how to save the results from a
script execution without use copy and paste or using a rkward output
system.<br>
<br>
Now I try to understand how adapt my script do use the rKward output
system.<br>
<br>
Example:<br>
<br>
I have this script:<br>
----------------------<br>
## Carregar a tabela de riqueza e equitabilidade<br>
library(gdata)<br>
dadosriq <- read.xls("Panalise.xls",h=T,sheet=2)<br>
<br>
## Resumo dos dados<br>
summary(dadosriq)<br>
----------------------<br>
<br>
Using rkward output system I try:<br>
----------------------<br>
rk.header("Carregar a tabela de riqueza e equitabilidade")<br>
library(gdata)<br>
<br>
dadosriq <- read.xls("Panalise.xls",h=T,sheet=2)<br>
<br>
rk.header("Resumo dos dados")<br>
rk.print(summary(dadosriq))<br>
----------------------<br>
<br>
Ok. The problems:<br>
<br>
1) my script become rkward specific and it is not a good idea.<br>
<br>
2) I cant print the command in output unless I repeat the command like
a string:<br>
</tt></font><font size="+1"><tt>rk.header("</tt></font><font size="+1"><tt>dadosriq
<-
read.xls("Panalise.xls",h=T,sheet=2)</tt></font><font size="+1"><tt>")</tt></font>,
but
it is also not a good idea.<br>
<br>
Anyone know if exist a global rkward command to send all (commands e
results) to the output? In this way if I'm a rkward user I use this
global command, if I'm not a rkward user I comment this command and my
script work.<br>
<br>
This is possible or I need to forget rkward as a linux R script IDE?<br>
<br>
Thanks<br>
Ronaldo<br>
<pre class="moz-signature" cols="72">-- 
8ª lei - Colete seus dados hoje como se você soubesse que seu equipamento vai quebrar amanhã.

      --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. 228.
> Prof. Ronaldo Reis Júnior
|  .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional
| : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
| `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
|   `- Fone: (38) 3229-8192 | <a class="moz-txt-link-abbreviated"
 href="mailto:ronaldo.reis@unimontes.br">ronaldo.reis@unimontes.br</a> 
| <a class="moz-txt-link-freetext"
 href="http://www.ppgcb.unimontes.br/lecc">http://www.ppgcb.unimontes.br/lecc</a> | LinuxUser#: 205366
</pre>
</body>
</html>