[R] Providing a Title for a Write.Table - Thinking of Titles in SPSS CTABLES

2013-11-18 Thread Zach Feinstein
I understand how I may use message() to provide some output on which run I will 
be looking at. However, I wish to automate it, and have it written out to a 
tab-delimited file. Below is the command to output my coefficients:

write.table(zbetas, file = z_coeffs.csv, sep=\t, append = TRUE)

I do this run multiple times. It appends the latter results to the end of my 
.csv file.

Is there a way to say just before the write.table something to the effect of:

title(First Run, append = TRUE)?

Or perhaps there is a sub-command in the write.table to accomplish this.

So when I interactively run my code it could be something like:

First run
Coeff1 0.34
Coeff2 0.96

Second run
Coeff1 0.47
Coeff2 0.95

Thank you very much in advance.

Zach Feinstein
zfeinst...@isgmn.commailto:zfeinst...@isgmn.com
(952) 277-0162
(612) 590-4813 (mobile)


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Zach Feinstein
I have finally decided that I will learn R and learn it very well. For now I am 
using a program that a friend of mine developed to do some advanced statistical 
analyses. I downloaded RStudio to my machine. [Perhaps RStudio is not the best 
platform to work from -  I have heard that Rattle is sort of the new standard.] 
I have so far been able to highlight the rows of the code that I wish to run, 
but then I somehow turned off seeing the output. I also cannot find where I 
would locate the output window. Yes, frustrated.

Would any kind soul be interested in helping kickstart my R learning? I have 
JoinMe installed on my machine so I figure we can do it interactively. It 
should not take more than a few minutes. I am already very experienced with 
both C and VBA languages as well as SPSS syntax so there is not much need to 
worry about me being too much of a novice.

Thank you very much in advance.

Zach Feinstein
zfeinst...@isgmn.commailto:zfeinst...@isgmn.com
(952) 277-0162
(612) 590-4813 (mobile)


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.