Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no slot of name "file" for this object of class "RasterStack" #315

Closed
achubaty opened this issue Jul 17, 2023 · 2 comments
Closed

no slot of name "file" for this object of class "RasterStack" #315

achubaty opened this issue Jul 17, 2023 · 2 comments

Comments

@achubaty
Copy link

I'm hitting an issue reported in a comment on a related but closed issue:

          This example also doesn't work in the current stable and devel versions (it worked fine before):
library("raster")
r = stack(system.file("external/rlogo.grd", package = "raster"))
r = readAll(r)
tmp = tempfile(fileext = ".tif")
writeRaster(r, tmp)
#> Error in .startGDALwriting(x, filename, gdal = options, ...) : 
#>   no slot of name "file" for this object of class "RasterStack"

Originally posted by @kadyb in #307 (comment)

@rhijmans
Copy link
Member

rhijmans commented Oct 5, 2023

Thanks, fixed now. Sorry for the long wait.

@achubaty
Copy link
Author

achubaty commented Oct 5, 2023

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants