Giter Site home page Giter Site logo

Comments (11)

lbusett avatar lbusett commented on May 27, 2024

Hi,

in order to give you better info, could you tell us which version of windows you are using ?

from modistsp.

hammao avatar hammao commented on May 27, 2024

from modistsp.

lbusett avatar lbusett commented on May 27, 2024

To set the environment variable:

  1. Go to control Panel --> system --> settings --> advanced system settings --> Environment variables

  2. In the "system variable" panel on the bottom select "path" and then "edit"

  3. select "Path" and add a new entry to the "bin" subfolder of the folder where you unzipped the bindel (e.g., C:\RGTk\bin)

  4. for good measure, do the same on the "user variables" panel.

  5. ok --> ok

  6. reboot (or logout and reconnect - never understood if logging out is sufficient)

Let us know if you solved it !

By the way: what happens exactly if you do

install.packages(gWidgetsRGtk2)
library(gWidgetsRGtk2) 

aren't you asked for installation of GTK+ ?

from modistsp.

hammao avatar hammao commented on May 27, 2024

When i run this, i get the error below

install.packages(gWidgetsRGtk2)
library(gWidgetsRGtk2)

Error: package ‘RGtk2’ required by ‘gWidgetsRGtk2’ could not be found
In addition: Warning message:
package ‘gWidgetsRGtk2’ was built under R version 3.3.3

from modistsp.

hammao avatar hammao commented on May 27, 2024

I tried these steps as recommended but still got back same error

  1. Go to control Panel --> system --> settings --> advanced system settings --> Environment variables
  2. In the "system variable" panel on the bottom select "path" and then "edit"
  3. select "Path" and add a new entry to the "bin" subfolder of the folder where you unzipped the bindel (e.g., C:\RGTk\bin)
  4. for good measure, do the same on the "user variables" panel.
  5. ok --> ok
  6. reboot (or logout and reconnect - never understood if logging out is sufficient)

i got the following Error msg, thats after restarting my system.

Error: package ‘RGtk2’ required by ‘gWidgetsRGtk2’ could not be found
In addition: Warning message:
package ‘gWidgetsRGtk2’ was built under R version 3.3.3

I can send you screen shots...

from modistsp.

lbusett avatar lbusett commented on May 27, 2024

ok. can you try:

install.packages("RGtk2")

ir should be installed automatically alongside gWidgetsRGtk2, but it doesn't seem to be the case for you.

from modistsp.

hammao avatar hammao commented on May 27, 2024

install.packages("RGtk2")
Installing package into ‘C:/Users/hamma/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘RGtk2’ is not available (for R version 3.3.2)

from modistsp.

lbusett avatar lbusett commented on May 27, 2024

ok. The you can try:

install.packages("RGtk2",  type="source")

or

install.packages("RGtk2", dependencies=TRUE, repos='http://cran.rstudio.com/')

, or you could update "R" to 3.4.0 (which should work for sure).

from modistsp.

hammao avatar hammao commented on May 27, 2024

Thanks alot...
it is working now.

Thanks for all your help.

from modistsp.

lbusett avatar lbusett commented on May 27, 2024

You're welcome.

by the way: for reference to other users: which solution worked, in the end ?

from modistsp.

hammao avatar hammao commented on May 27, 2024

from modistsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.