On 6/7/05, Marc Schwartz <[EMAIL PROTECTED]> wrote: On 6/7/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: On 6/7/05, Liaw, Andy <[EMAIL PROTECTED]> wrote: <snips>
Thanks Andy, Gabor and Marc. ---- contents of .Rprofile ---- .First <- function() {source("startup.r")} ---- contents of wrapR.v1 ---- #!/bin/bash ln -s $1 startup.r R rm -f startup.r ---- contents of wrapR.v2 ---- #!/bin/bash echo ".First <- function() {source(\"$1\")}" > .Rprofile R ---- contents of project_A.r ---- library(graphics) plot(1:10) and then start R with either of the following command lines: ## ./wrapR.v1 project_A.r ## ./wrapR.v2 project_A.r What do you think? is this the most simple way? Thanks in advance, Mike ______________________________________________ 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