[R] FW: RE: .First functin
Uwe Ligges
ligges at statistik.uni-dortmund.de
Mon Mar 13 11:26:09 CET 2006
Vera, Graciela : Insurance Services (BISCO) wrote:
>
>
>
>
> _____
>
> From: Vera, Graciela : Insurance Services (BISCO)
> Sent: 10 March 2006 14:47
> To: 'r-help-request at stat.math.ethz.ch'
> Subject: RE: .First functin
>
>
>
> I have not used R for some time. Please accept my apologies if my question
> has an obvious answer. I am trying to use R. For convenience and due to IT
> restrictions libraries additional to MASS have been stored in a different
> directory to R's. My initial attempt has not produced the results expected
> and would appreciate some help.
>
>
>
> I would also like to include in function .First commands to read the data,
> store the results and graphs. For this the addresses would need to be
> different to the library address.
See ?.libPaths
>
>
> .First <- function() {
>
> options(prompt="$ ", continue="+\t") # $ is the prompt
>
> options(digits=5, length=999) # custom numbers and printout
What is option "length" doing? I do not know it.
> x11() # for graphics
>
> par(pch = "+") # plotting character
>
> source(file.path("U:\WORKAREA\R\Library\Bayesian_inf_Marketing"))
So we are on Windows? Please see the R for Windows FAQs how to specify
paths.
Uwe Ligges
> # my personal functions
>
> library(bayesm)
>
> library(MASS) # attach a package
>
> }
>
>
>
> Many thanks.
>
>
>
> Graciela
>
>
> This e-mail and any attachments are confidential and intende...{{dropped}}
>
> ______________________________________________
> R-help at 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
More information about the R-help
mailing list