If you do ?Startup then you get the help page that describes all that R does as 
it starts up and there are a few places in there that it describes where you 
can put things to be run automatically.

I have done this for a doctor before who wanted to show the demonstration I 
showed him to others, but did not know any R, so I installed R for him and set 
a script to automatically run so he just double clicked on the icon and R 
started and ran the demonstration for him.  This sounds similar to what you 
want.  In my case I used .Rprofile, but there are other options in the Startup 
help page that may work better for you.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[email protected]
801.408.8111


> -----Original Message-----
> From: [email protected] [mailto:r-help-bounces@r-
> project.org] On Behalf Of Jeela Mohammadian
> Sent: Wednesday, March 16, 2011 4:18 AM
> To: [email protected]
> Subject: [R] a question
> 
> Hi,
> 
> I must seek a favour regarding of R project,
> 
> 
> 
> can we make an application out of R. I mean a small application that
> automatically runs and do the estimation automatically. Because the
> things I do is that I copy codes from script to work book and then it
> runs and gives the output. can it be done automatically?
> 
> I will appreaciate if you could answer.
> 
> Best Regards
> 
> Jeela
> 
> 
> 
> 
> 
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> [email protected] 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.

______________________________________________
[email protected] 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.

Reply via email to