[R] ".Rhistory in Mac OS X"

Charles C. Berry cberry at tajo.ucsd.edu
Sun Apr 11 23:15:04 CEST 2010


On Sun, 11 Apr 2010, Fredrik Lundgren wrote:

> Dear R'ers,
>
> I use
> R version 2.10.1 (2009-12-14)
> Copyright (C) 2009 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> and
> Mac OS X 10.5.8

And should therefore post questions like this to R-sig-mac.

>
> and use to work in different dierectories. When doing so it appears as if the 
> .Rhistory file from my home directory always is loaded
> even when I want the file from the directory where I'm working.
> I have tried to fix it through preferences under R but ...
> How should this be tweeked?
>

By reading the

 	R for Mac OS X FAQ

 	4.3.3 The current and startup working directories

which lays it all out.

Chuck

>
> Fredrik
> ########################
>
> Fredrik Lundgren
> fredrik.bg.lundgren at gmail.com
>
> Engelbrektsgatan 31
> 582 21 Linköping
> tel		013 - 47 30 117
> mob 	0706 - 86 39 29
>
> Sommarhus: Ljungnäs 158
> 380 30 Rockneby
> 0480 - 650 98
>
> ______________________________________________
> R-help at 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.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list