Hi Rakknar,
I believe that the menu command File -> Save to File (or some such, I
use the German version) in the R GUI for Windows (I'm unclear on your
OS) has not yet been suggested. This writes a file containing the entire
R session. Does this create the kind of log you are looking for?
HT
Center
> Intermountain Healthcare
> greg.s...@imail.org
> 801.408.8111
>
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
>> project.org] On Behalf Of Rakknar
>> Sent: Thursday, August 20, 2009 9:00 AM
>> To: r-h
t; To: r-help@r-project.org
> Subject: Re: [R] Several simple but hard tasks to do with R
>
>
> "To echo what others have said, it is often easier to write a script
> (in
> STATA terms, a "do" file) of commands and then "source" the script.
> When
> it run
"This is why sink() has the split=TRUE option, which logs output to a
connection and sends it to the screen.
The R
sink("analysis.log",split=TRUE)
is almost identical to the Stata
log using analysis.log
with sink() to close the log and flush to disk at the end of the session."
I've alre
On Aug 20, 2009, at 10:59 AM, Rakknar wrote:
"To echo what others have said, it is often easier to write a script
(in
STATA terms, a "do" file) of commands and then "source" the script.
When
it runs to your satisfaction, usually not the first time for me, there
are several ways to store t
On Thu, 20 Aug 2009, Ottorino-Luca Pantani wrote:
Rakknar ha scritto:
1. Make a log. I've been using Stata and there i have a great tool to
register what the program do: the log file, wich it's a simple .txt file
where Stata writes every output it makes (not graphics of course). When I
wanted
On Thu, Aug 20, 2009 at 3:59 PM, Rakknar wrote:
> I already using script. I'm using Tinn-R to write them. Thanks for the
> recommendation of the R2HTML package I'll see how to use it right now.
If you run your script using the command line:
R CMD BATCH script.R script.Rout
then you'll get a f
Put the objects that you want to save in a 'list' and then 'save' the
list. You can build up the contents of the list dynamically in your
program and then save it at the appropriate point.
On Thu, Aug 20, 2009 at 10:59 AM, Rakknar wrote:
>
> "To echo what others have said, it is often easier to w
For history of both commands and output, consider running R inside emacs
using the ESS package and simply saving the buffer to a file. If you save
the session as an "S transcript" file (extension .St) it is also easy to
reload and re-execute any part of it. Emacs or xemacs is available on most
pl
Rakknar ha scritto:
1. Make a log. I've been using Stata and there i have a great tool to
register what the program do: the log file, wich it's a simple .txt file
where Stata writes every output it makes (not graphics of course). When I
wanted to make the same thing with R I started to use the f
Bert:
Thanks for your help. I'll try to clarify some of your doubts
"1. logs. help.search("history") and ?savehistory shows you that R does
exactly what you want very easily (depending on the platform, which contrary
to the posting guide's request, you did not tell us)."
I've already find out a
"To echo what others have said, it is often easier to write a script (in
STATA terms, a "do" file) of commands and then "source" the script. When
it runs to your satisfaction, usually not the first time for me, there
are several ways to store the output. Both the R2HTML and prettyR
packages co
Rakknar wrote:
Hello everybody. I've been learning R for about a month to do a
econometric study and now i'm stuck with some problems to make R do the
things I want. Here I give the list of things I wanna do from the most
simple to the more complex (for me of course):
1. Make a log. I've bee
Rakknar wrote:
Hello everybody. I've been learning R for about a month to do a
econometric study and now i'm stuck with some problems to make R do the
things I want. Here I give the list of things I wanna do from the most
simple to the more complex (for me of course):
1. Make a log. I've bee
ubject: [R] Several simple but hard tasks to do with R
Hello everybody. I've been learning R for about a month to do a
econometric study and now i'm stuck with some problems to make R do the
things I want. Here I give the list of things I wanna do from the most
simple to the more co
Hello everybody. I've been learning R for about a month to do a
econometric study and now i'm stuck with some problems to make R do the
things I want. Here I give the list of things I wanna do from the most
simple to the more complex (for me of course):
1. Make a log. I've been using Stata an
16 matches
Mail list logo