[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 t

[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 i

[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

[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 f