Hi there:
I'm having a weird problem with my startup procedure. R.app is reading an 
unknown .Rprofile file.

First, I'm on a Mac Os 10.6.8 running R.app 2.15.0

On startup
 > getwd()
[1] "/Users/simon"

But: the contents of my .Rprofile file in my home directory when viewed with a 
text editor are:

.First<-function() {
         source("/Users/simon/Documents/R/functions/trim.leading.R")
        source("/Users/simon/Documents/R/functions/trim.trailing.R")
    source("/Users/simon/Documents/R/functions/trim.R")
      source("/Users/simon/Documents/R/functions/pseudor2.R")
    source("/Users/simon/Documents/R/functions/dates.R")
    source("/Users/simon/Documents/R/functions/andersen.R")
    source("/Users/simon/Documents/R/functions/tabfun.R")
        source("/Users/simon/Documents/R/functions/cox_snell.R")
        source("/Users/simon/Documents/R/functions/cor.prob.R")
                source("/Users/simon/Documents/R/functions/kmo.R")
                source("/Users/simon/Documents/R/functions/residual.stats.R")
                        
source("/Users/simon/Documents/R/functions/missings.plot.R")
        }


but then, when I type .First from the command line I get
function () 
{
    source("/Users/simon/Documents/R/functions/sample_size.R")
    source("/Users/simon/Documents/R/functions/pseudor2.R")
    source("/Users/simon/Documents/R/functions/dates.R")
    source("/Users/simon/Documents/R/functions/andersen.R")
    source("/Users/simon/Documents/R/functions/tabfun.R")
    source("/Users/simon/Documents/R/functions/cox_snell.R")
    source("/Users/simon/Documents/R/functions/cor.prob.R")
    source("/Users/simon/Documents/R/functions/kmo.R")
}

Needless to say, I get an error because the file sample.size.R was deleted a 
long time ago.

So how do I get R.app to read the updated .Rprofile file?

______________________________________________
R-help@r-project.org 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