Hi Hernán, On 18 January 2018 at 05:41, Hernán Morales Durand <hernan.mora...@gmail.com> wrote: > > Note that in R you can set the current working directory with setwd() > and this is very common in R scripts. > > I like the idea around #imageDirectory and #vmStartupDirectory or just > #vmDirectory. > And maybe renaming #workingDirectory to #userWorkingDirectory would be > more clear? Assuming 1 image = 1 user?
In Pharo 7: FileLocator workingDirectory = C getcwd() # same as R and most languages FileLocator imageDirectory = the directory where the image is located FileLocator vmDirectory = the directory where the vm is located + several others FileLocator class>>workingDirectory: (i.e. setwd()) doesn't exist, but is straightforward to add. Pharo 6 has the same, but workingDirectory = imageDirectory. Cheers, Alistair