[R] Executing a DOS proram from R

2007-09-04 Thread Walter Paczkowski
Good morning,

I wrote a function to generate tables using LaTex.  The function creates a .tex 
file with all the layouts I want.  I would now like to call pdflatex.exe from 
inside this same function.  Does anyone know an R command to do this?  And 
also, what is the form of the pdflatex command to compile a .tex file?  I 
always use WinEdt so I never actually call pdflatex.exe directly.  Is the call 
just:

pdflatex filename.tex

or is there something else I need to know to create a pdf file using LaTex?

Thanks,

Walt Paczkowski

__
R-help@stat.math.ethz.ch 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] multinomial logit estimation

2007-07-19 Thread Walter Paczkowski
Good morning,

I'd like to estimate a simple multinomial logit model in R (not a McFadden 
conditional logit).  For instance, I'd like to estimate the probability of 
someone having one of eight titles in a company with the independent variables 
being the company characteristics.  A binary logit is well documented.  What 
about the multinomial?

Thanks,

Walt Paczkowski

__
R-help@stat.math.ethz.ch 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] looking at a function's code

2007-07-16 Thread Walter Paczkowski
Good morning,

I'd like to look at the code for the R function head.  When I type just the 
word head, I get back

function(x, ...)
UseMethod("head")



I expected to see several lines of R code.  Any suggestions?

Thanks,

Walt Paczkowski

__
R-help@stat.math.ethz.ch 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] Changing working directory

2007-04-23 Thread Walter Paczkowski
Good morning,

I keep copies my .RData file in different directories for different projects on 
Windows XP.  There is an icon on my desktop for each project so all I have to 
do is click on the icon to open R for a specific project, i.e. a specific 
.RData file.  How do I change to another .RData file from within R without 
first closing R?

Thanks,

Walt Paczkowski

__
R-help@stat.math.ethz.ch 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.