Tuesday, 23 February 2016

What is new in GCDkit 4.1 (Chlopskie jadlo)?

On 10 February has been released a new version of GCDkit. Apart from numerous bug fixes, and a great deal of editing to enable running the GCDkit scripts in a batch mode, it brings several new features. Arguably the most interesting include: 
  
Switching between datasets
  • Datasets can be stored using the function pokeDataset. Or it is done automatically, like for data freshly loaded into the system using the functions loadData and accessVar. Technically they always become components of a list WRCube.
  • Later, the previous datasets can be restored by functions peekDataset or selectDataset.
  • The WRCube can be cleared anytime using the function purgeDatasets; only the most recent copy of the current dataset survives this operation.
  • Function selectAll has been completely rewritten using the dataset switching, i.e. backup copy of data  stored in the WRCube. Variables WR.bak,WRanh.bak,milli.bak and labels.bak are thus not needed anymore.
  • New function figOverplot allows overplotting a reference dataset onto any Figaro-compatible binary plots, ternary plots, or spiderplots. The reference dataset, stored in an arbitrary global variable, can contain either real-world data or a numeric matrix  spanning from petrogenetic modelling.
Futher important changes
  • figCex, plateCex accept now the value NA (no quotes) that means no plotting  of symbols (most useful on spiderplots if only lines are desired).
  • figAddReservoirs checked and reprogrammed; it newly does work for ternary plots,  and is Figaro-compatible for binaries, ternaries and spiders. It also includes a lot of new arguments, mainly plotting parameters.
  • New functions oxide2ppm and ppm2oxide to recast wt.% of the given oxide to ppm of cations
  • Platform-independent functions tk_winDialog and tk_winDialogString written in Tcl/Tk.
  • calcCore does not require global variables anymore, but can use also those from the parental environment.
  • accessVar does not utilize Windows clipboard to transfer data into variables WR and labels anymore

We trust that you will find this new release useful and reasonably stable.

Good luck, Vojtech

8 comments:

  1. Ola, ZehAntunes,
    does this mean that the installer does not even start on your Win 10? I have heard the same complaint from several other people, while others can install, on the same system, hapilly. So I am a bit puzzled... I assume that you have strictly followed our instructions given at gcdkit.org/download

    In that case we can try the "advanced" setup (as a proper offline R library). The procedure is described on the same web page, as follows:

    + download and install the R 3.2.1 for Windows
    + run the R console in a SDI mode
    + download the GCDkit_4.1.zip library
    + install the library from the R console (Menu Packages > Install package(s) from local zip files...)
    + install the R2HTML_2.3.1.zip, RODBC_1.3-12.zip and sp_1.1-1.zip libraries (Menu Packages > Install package(s)...)
    + load the GCDkit library (Menu Packages > Load package > GCDkit or type library(GCDkit))

    I hope that this will help.

    Vojtech

    ReplyDelete
  2. I have the same problem ZehAntunes! Any one have GCDKIT Windows 10 problem compatibility fix?

    ReplyDelete
  3. We are sorry, this is beyond our control. But we work on a remedy. Meanwhile, see
    http://blog.gcdkit.org/2016/07/troubles-with-windows-10.html

    ReplyDelete
  4. R2HTML_2.3.1.zip, RODBC_1.3-12.zip and sp_1.1-1.zip, Where do I find these?

    ReplyDelete
  5. The main problem in GCDkit is you have no control on binary single diagrams with respect values on the x and Y axis. You should have a mechanism to control your beginning and end of the x and Y axis as you do for multiple plots.

    AL

    ReplyDelete
    Replies
    1. This is not really true, you just need to set the plotting scale after the plot is produced, from menu Plot editing.

      Or you can do it directly, in the R Console window, typing, e.g. figXlim(c(50,70)).

      NB that Figaro templates employed for most of the plots allow a great flexibility of editing the layout of the diagram just plotted, before it is printed or exported from the GCDkit.

      Delete
  6. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
    Data Science Course In Hyderabad

    ReplyDelete
  7. First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks.
    data science training in malaysia

    ReplyDelete