[R] Reading in a value of .Random.seed in .Rprofile

Rolf Turner r.turner at auckland.ac.nz
Thu Aug 21 05:43:16 CEST 2008


On 21/08/2008, at 3:24 PM, Charles C. Berry wrote:

> On Thu, 21 Aug 2008, Rolf Turner wrote:

	<snip>

>> 	But why does this happen on *my* system, and not on Chuck's???

> Because I goofed by rerunning ALL the lines in .Rprofile rather  
> than just the last two.
> When I run just the last two, I get the behavior you describe.

	Well, that's a relief.  It's nice to know that the paranoids aren't
	really after me! :-)

> Sorry for the misdirection.

	'Sa'right.  I've committed more egregious sins myself.

	BTW, the workaround that I've found is to run R with the --no- 
restore-data flag
	and then explicitly load .RData in my .Rprofile *before* I do the  
reading in of
	.Random.seed.

	Of course if I were to run R without the --no-restore-data flag,  
then .RData
	would get loaded twice; once from explicit load in .Rprofile, and  
once from
	what the ``system'' does.  But that only wastes a few electrons.

		cheers,

			Rolf

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list