Comments (7)
Hi Effie,
can you please try this:
- Remove packages "gWidgets", "gWidgetsRGtk2" and "RGtk2" using
remove.packages
or from RStudio - Remove package
MODIStsp
in the same way update.packages()
- Close and reopen RStudio
install.packages("gWidgetsRGtk2")
. Install GTK+ when asked - kill RStudio if necessary- reopen RStudio
library(gWidgetsRGtk2)
if gWidgetsRGtk2
loads correctly, then you should be ok and you can retry MODIStsp
installations.
Otherwise please reply to this with the error message you get.
Lorenzo
Lorenzo
from modistsp.
Hi Lorenzo,
thank you so much for the immediate response. The error message reads:
library("gWidgetsRGtk2", lib.loc="D:/R-3.2.3/R-3.3.3/library")
Loading required package: RGtk2
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'D:/R-3.2.3/R-3.3.3/library/RGtk2/libs/x64/RGtk2.dll':
LoadLibrary failure: The specified module could not be found.
trying URL 'http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip'
Content type 'application/zip' length 25830230 bytes (24.6 MB)
downloaded 24.6 MB
Learn more about GTK+ at http://www.gtk.org
If the package still does not load, please ensure that GTK+ is installed and that it is on your PATH environment variable
IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
Loading required package: gWidgets
Loading required package: cairoDevice
Warning messages:
1: Failed to load RGtk2 dynamic library, attempting to install it.
2: In dir.create(config_path, recursive = TRUE) :
'D:\R-3.2.3\R-3.3.3\library\RGtk2\gtk\x64\etc\gtk-2.0' already exists
GTK+ indeed exists, and the path is updated.
from modistsp.
ok. What happens if you now close and reopen RStudio and try to load gWidgetsRGtk
again ?
from modistsp.
The packages are loading, but MODIStsp installation is interrupted at
*** arch -i386
With the message:
The procedure entry point deflateSetHeader could not be located in the dynamic link library zlib1.dll
The same happens when I load gWidgets2RGtk. I do close/reopen R, and the system as well.Do you think this has to do with the package and its dependencies, or with the architecture of the installation? (Would it help uninstalling and reinstalling R from scratch?)
Thank you again for the support..!
from modistsp.
ok... that's slightly different from what happens usually.
Can you try to follow instructions reported here:
https://www.stat.auckland.ac.nz/%7Ekimihia/rgtk2
, starting from "Download the GTK+ all-in-one bundle. I downloaded version 2.22 for Windows 64-bit."
?
from modistsp.
Yes!, it worked very nicely. The page you referred to is very useful. The only thing not working was the link to the bundle. I downloaded the GTK+ bundle from http://www.tarnyko.net/dl/gtk.htm (apparently my system had issues with the GTK+ Windows Runtime Environment Installers).
To successfully install MODISTsp I also had to manually (re)install the following packages:
foreach, Rcpp, R.utils, stringi, magrittr, and zoo.
Thank you again for the support, and for taking the effort and time to put this tool online-it is great, and much needed!
from modistsp.
Ok, glad that it worked !
By the way: the issue about having to manually install some packages is due to a bug in install_github
that can usually be solved by installing the github
version of devtools
:
On a fresh R session:
devtools::install_github("hadley/devtools")
Lorenzo
from modistsp.
Related Issues (20)
- MODIStsp GUI issues HOT 6
- KNDVI (expression) - MODIStsp HOT 3
- bounding box does not work HOT 1
- Error in .local(.Object, ...) when trying to use MODIStsp_extract HOT 2
- M*D17A3H server change HOT 2
- Update products HOT 5
- Problems of processing MCD19A1 and MCD19A3 HOT 1
- Timeout HOT 1
- Timeout MODIS server error when downloading HOT 4
- Problem with GUI in GitHub version 2.0.6.9000 of MODIStsp HOT 2
- Connection refused HOT 2
- How to download the NDVI-MODIS product of the version 6.1 using the package MODIStsp v.2.0.6 HOT 2
- The package doesn't work on the new Spectral Indexes I added HOT 1
- [SOLVED] MODIStsp package is showing Username and password invalid even when the same credentials are working for NASA earth data search website HOT 20
- Missing dependency for pkgdown HOT 2
- Fix image location for pkgdown HOT 7
- Call for maintainer HOT 9
- Issues related to product version update in #238 HOT 23
- Spatial packages update HOT 2
- Error: http server seems to be down! Please try again later. Aborting! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modistsp.