Skip to content

Can't load layers from previous session #137

@JacobusS

Description

@JacobusS

I ran a buffer on a very large raster, but forgot to write out the layer using the writeRaster() function before I closed R.
I setup is as follows:
faster(
grassDir = "C:/Program Files/GRASS GIS 8.4",
workDir = "C:/GRASS_DB"
)

But every session creates a new sub directory within C:/GRASS_DB, in my case the sub folder is Hartebeesthoek94_DxfSjjIWGILH with a grass raster called "buffer_BGOyE84BGB0S"
This is great but how do now create a new gRaster R object that points to "buffer_BGOyE84BGB0S"

I can open grass gui and get the layer, but in future it would be nice to list all the layers in a project and then create a gRaster object in R.
Maybe I'm missing something, so please correct me if that's the case.

Great library by the way, it's absolutely increasable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions