[R-SIG-Finance] [R-sig-finance] another silly question

gug guygreen at netvigator.com
Thu Sep 3 02:07:40 CEST 2009


Yes - sink().

I use it like this:

multireg=lm(.....data....)
sink("C:/folder/destination-file.txt")
print(summary(multireg))
sink()

If you're looking for a step by step guide on using R for regression, I
found the "Basic Statistics and R: An Introductory Tutorial" (linked PDF) on
this page  http://ehsan.karim.googlepages.com/
http://ehsan.karim.googlepages.com/  to be very useful.

Guy




Sean O'Riordain wrote:
> 
> Hi Gaspar,
> 
> Not really finance related... but have a look at sink()  I use it to save
> long sessions to a text file automatically
> 
> Kind regards,
> Seán
> 
> 
> On Wed, Sep 2, 2009 at 6:21 PM, Gaspar Núñez <nurogaleo at gmail.com> wrote:
> 
>> Hi everybody
>>
>> i've been looking through tutorials ant the web
>> but have not found a way to export the results
>> of a regression, such as the summary,
>> either as a .txt file or as a table
>> so that i can read it with the OO Calc (or Excel)
>>
>> any help on this will be appreciated
>> thanks in advance
>>
>> as a matter of fact:
>> i'm thinking about writing a small tutorial
>> based on a simple regression were everything
>> can be replicated by a student
>> following easy directions
>> I've found that most of the documentation
>> comes in a very technical jargon
>> not easy to follow by non-experts
>>
>>
>>
>> --
>> Gaspar
>>
> 

-- 
View this message in context: http://www.nabble.com/another-silly-question-tp25262050p25267771.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list