Tuesday, 12 July 2016

Troubles with Windows 10

We have been recently flooded by  email reports of those of you who could not start the GCDkit installer on Windows 10. Strangely, the other versions of the system seem unaffected. We have examined the problem and, as it seems, it consists in the sudden change in security policy of Microsoft, requiring all installation programs to have a valid security certificate.

While we are working on the remedy, the only way on Win 10 seems to use the "advanced" setup taking advantage of the R library mechanism.  


There is no need to be afraid of this,  The procedure is as follows:
  • download and install the R 3.2.1 for Windows
  • download the GCDkit_4.1.zip library
  • run the R console in a SDI mode
  • install the library from the R console (Menu Packages > Install package(s) from local zip files...)
  • install the R2HTML, RODBC and sp libraries (Menu Packages > Install package(s)...) [working Internet connection is required]
  • load the GCDkit library (Menu Packages > Load package > GCDkit or type library(GCDkit) into the R Console)
The last step is to be repeated every time you start R GUI a new. 

Alternatively, you can make an shortcut at your Desktop with a text similar to mine (do take care of the correct path):

"C:\R\R-3.2.1\bin\i386\Rgui.exe" --silent --no-save --sdi

Please do note the quotation marks, they should be there.

Setting the directory to that with R libraries. In my case it is:

C:\R\R-3.2.1\library\GCDkit

I hope that this will help. Please let us know if there are any further problems. 


Vojtech

15 comments:

  1. Hi

    I have a problem to install, how i can run the R console in a SDI mode?

    ReplyDelete
    Replies
    1. Hi, you can choose SDI when you are installing R (choose a custom install and it will ask you either MDI or SDI).

      Alternately, you could edit the Rconsole file (in the etc folder) by changing MDI = yes to MDI = no

      But definitely make the shortcut Vojtech suggests, you could probably even just append --sdi to the target, then open it (this way is mentioned in some general guides to R, ie. Fox 2006) and then install the library and packages. Then you can edit the shortcut again to include the GCDKit directory.

      hope that helps!

      Delete
    2. "install the library from the R console (Menu Packages > Install package(s) from local zip files...)"

      Where are the libraries in the zip file?

      Delete
  2. GCDkit_4.1.zip could be installed on win 10 with the precedure you mentioned, but no diagram can be ploted. I don't know why.

    ReplyDelete
  3. Thank you so much friend

    ReplyDelete
  4. thank u blogger

    ReplyDelete
  5. It didn't work for me. I receive the following message:

    > utils:::menuInstallLocal()
    Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
    cannot open the connection
    In addition: Warning messages:
    1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
    2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
    cannot open compressed file 'GCDkit4.1_for_R3.2.1.exe/DESCRIPTION', probable reason 'No such file or directory'
    >

    ReplyDelete
    Replies
    1. Hello, please tell us more - what OS are you on, which version of R etc.
      Vojtech

      Delete
    2. This comment has been removed by the author.

      Delete
    3. Hello Vojtech

      I am using a Windows 10 64-bit and R 3.2.1.

      I was getting this error message because I was trying to use the Gcdkit.exe file instead of the Gcdkit library zip file. Now it is working perfectly.

      Sorry for the inconvenience and thank you!

      Allan

      Delete
  6. I just tried the method above. But whenever i tried loading GCDkit. it says R for Windows GUI front-end has stopped working. I really need to use this for my university assignment. Plz and thank you

    ReplyDelete
    Replies
    1. Dear colleague(s),
      you may like to hear that a new version of GCDkit, for R 3.4.3, has been just released. It contains a brand new installer that should enable installation on Windows 10, as well as on the system where the user does not have the admin rights. See gcdkit.org.

      Delete
    2. See http://blog.gcdkit.org/2018/04/version-50-has-been-just-released.html

      Delete
  7. Good day
    I have installed the GCDkit, but it only shows the menu for R console. it does not show the GCDkit menu. what did I do wrongly?

    ReplyDelete