On Sunday, 4 March 2018 19:12:14 UTC-7, Andrey Novoseltsev wrote:
>
> On the first run of Sage, it is supposed to create some folders in .sage 
> What I observe is that R directory is created only on the second run (and 
> Sage fails to start if by then .sage is made immutable). Looking at 
> https://github.com/sagemath/sage/blob/master/src/bin/sage-env I fail to 
> see how it can happen.
>

Looking at it from the beginning, here is what happens:
- sage-env sets a variable for  .sage, but does not care about its 
(non)existence
- if .sage does not exist, it will be created by some other scripts later on
- sage-env creates files/directories to make R happier, but only if .sage 
exists, which is not the case on the first run

Personally I find this logic a bit convoluted and unexpected - why not 
create all pieces of the required tree in a single place or at least in 
hierarchical order? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to