[R-sig-Geo] temp directory not actually reset by rasterOptions()
Agustin Lobo
alobolistas at gmail.com
Sun Sep 24 21:05:58 CEST 2017
Thanks. Yes, I also had found using Simon Urbanek’s unixtools to be an
alternative solution.
But this does not address the core of my question:
raster::rasterOptions(tmpdir="/home/alobo/provi")
does not work.
Agus
On Thu, Sep 21, 2017 at 12:34 AM, Michael Sumner <mdsumner at gmail.com> wrote:
> FYI It's also important to set the max size for raster, default is way too
> low:
>
> https://discuss.ropensci.org/t/how-to-avoid-space-hogging-raster-tempfiles/864
>
> On Thu, 21 Sep 2017, 01:25 Agustin Lobo <alobolistas at gmail.com> wrote:
>
>> I have problems with an small /tmp partition
>> and thought using
>> rasterOptions(tmpdir="/home/alobo/provi")
>>
>> Nevertheless, this has no effect, and temp raster files keep growing
>> in the default directory within /tmp
>>
>> Is this a bug?
>>
>> Thanks
>> Agus
>>
>> > sessionInfo()
>> R version 3.3.3 (2017-03-06)
>> Platform: i686-pc-linux-gnu (32-bit)
>> Running under: Debian GNU/Linux buster/sid
>>
>> locale:
>> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
>> LC_TIME=en_US.UTF-8
>> [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
>> LC_MESSAGES=en_US.UTF-8
>> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
>> LC_ADDRESS=C
>> [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8
>> LC_IDENTIFICATION=C
>>
>> attached base packages:
>> [1] stats graphics grDevices utils datasets methods base
>>
>> other attached packages:
>> [1] raster_2.5-8 sp_1.2-5
>>
>> loaded via a namespace (and not attached):
>> [1] rgdal_1.2-11 parallel_3.3.3 tools_3.3.3 Rcpp_0.12.12
>> grid_3.3.3
>> [6] lattice_0.20-35
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
> --
> Dr. Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> 203 Channel Highway
> Kingston Tasmania 7050 Australia
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list