[SOLVED] Cannot load RGeostats on RStudio

Any problem when installing, launching or using RGeostats, on different Operating Systems or Working Environments

[SOLVED] Cannot load RGeostats on RStudio

Postby gabrielclimb » Wed Aug 24, 2016 3:28 am

I had a error to load RGeostats on R Studio, someone could help me, please?

Error : .onAttach failed in attachNamespace() for 'RGeostats', details:
call: get(".Last.projection")$projection
error: object of type 'closure' is not subsettable
Error: package or namespace load failed for ‘RGeostats’
gabrielclimb
 
Posts: 1
Joined: Wed Aug 24, 2016 2:46 am

Re: cannot load RGeostats on RStudio

Postby Fabien Ors » Mon Aug 29, 2016 8:36 am

Did you installed mapproj or maps package ?
Could you send me back the results of following commands:
Code: Select all
getwd()
R.Version()$platform
R.Version()$version.string
packageVersion("Rcpp")
packageVersion("RGeostats")
packageVersion("maps")
packageVersion("mapproj")
for (trgo_ in ls(all.names=T)) { print(trgo_); print(class(eval(parse(text=trgo_)))); cat("\n") }; rm(trgo_)
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: cannot load RGeostats on RStudio

Postby Fabien Ors » Wed Sep 06, 2017 12:57 pm

Dear Gabriel.
A workaround has been found to the problem about the 'closure' error:
Please have a look to the workaround here while waiting for the next RGeostats version which will fix this issue.
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: cannot load RGeostats on RStudio

Postby Fabien Ors » Fri Sep 29, 2017 1:27 pm

The new RGeostats version 11.1.2 fixes the closure error when using projection:
viewtopic.php?f=2&t=390
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm


Return to Installing RGeostats

Who is online

Users browsing this forum: No registered users and 2 guests

cron