[R] Several simple but hard tasks to do with R
aliengenesis at yahoo.com
Thu Aug 20 20:22:57 CEST 2009
Thanks to all for your useful comments. I'll try to take them into account to
advance with my research. If I got stuck again I'll ask again.
Greg Snow-2 wrote:
> If you are using a pre created script file, then you may want to consider
> going one more step and creating a sweave file. Then you can process this
> file and the results will include the commands (unless you suppress them)
> as well as the output, nicely formatted. It can also include graphics and
> any commentary that you desire.
> If you want the more live transcript/log approach, then the R2HTML package
> is one option (already mentioned) or the txtStart and related commands in
> the TeachingDemos package (a bit simpler than R2HTML and results in a text
> rather than html file).
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> project.org] On Behalf Of Rakknar
>> Sent: Thursday, August 20, 2009 9:00 AM
>> To: r-help at 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
>> STATA terms, a "do" file) of commands and then "source" the script.
>> 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 contain methods to store output as HTML files. You can store
>> both the commands and output in the same file."
>> 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.
>> "You can save one object at a time if you want, and do it during a
>> script. I usually save the primary data object after I have translated
>> it from whatever format it came to me. You can save subsets of the data
>> as different files and simply use "load" to read in the data you want.
>> "load" can also signal if the data is not there, albeit in a fairly
>> messy way."
>> Yes, I already know I can do things that way but it doesn't work for
>> me: I
>> want to be able to store several objects in one .Rdata file in a
>> and fast way. Writing one for each object seems too messy for me.
>> View this message in context: http://www.nabble.com/Several-simple-but-
>> Sent from the R help mailing list archive at Nabble.com.
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/Several-simple-but-hard-tasks-to-do-with-R-tp25052563p25067291.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help