Wednesday 10 August 2022

GCDkit 6.1 has been released!

On July 8, 2022 has been released a new version of GCDkit 6.1. It was developed in R 4.1.3 and code-named, in support of a struggle for democracy and freedom, Invincible tractor. There are no revolutionary changes, but rather bug fixes and performance improvements. The main aim was to optimize the whole system for speed. Most important features are summarised below.


Performance improvements
  • Quicker start up with several options.
  • Normative calculations have been further optimized for speed. 
  • Quicker routine enabling overplotting datasets.
  • Many functions can be newly called in the batch mode: e.g., addLegend(), cluster()mergeDataRows(), mergeDataCols().
  • trendTicks() was modified, so that it can be used also in cases  when only [x,y] coordinate pairs along the trend are known. In this case, a fourth-order polynomial  is fitted to the data.  Also, the function trendTicks() can be called just to perform the underlaying calculations, returning all the parameters of the fitted trend invisibly (plot = FALSE).
  • Optional offline installation, if no live Internet connection is available.  
  • Several parameters of a plate can be changed at the same time, using the brand new function plateUser(). It is simply a wrapper to the modified function figUser, invoked to modify each individual slot.
  • New function diagramWithCircles() - the same like plotWithCircles() but plotting a diagram (stand-alone Figaro template) on the background.
  • New functions contourAll, chullAll outlining the whole dataset  (analogous to the already existing contourGroups, chullGroups).
  • contourAll, contourGroups use now much improved algorithm; contouring is based on kernel density estimates.
  • Reprogrammed were many of the functions in the SrNd.r plugin.
  • Error bars plotting (obtained by the function fousy()) were improved significantly.
Bug fixes
  • profiler()redesigned completely, updated were especially colour handling and legends;  this function can work also with a variable different from WR.
  • EarthChem() thoroughly checked/tested, including documentation and examples. It was redirected to http://portal.earthchem.org/restsearchservice.
  • Spiderplots and profiles did not zoom up correctly.
  • CIPW() was slow, and its repeated use further slowed down the whole system (thanks to Sergio Esteve for suggesting a remedy for this problem). Analogous issue has been fixed also in CIPWhb() and Catanorm() normative calculations.
  • isocon() function did not return results, both slopes were swapped in the output and the examples with atomic=TRUE did not work correctly.
  • plateLabelSlots() fixed, was causing unpredictable behaviour when followed by overplotDatasetplateAddReservoirs etc.
  • Patches were not loaded due to namespace conflicts. The whole patching code was revised.
  • Some functions of GCDkit did not work correctly in RStudio under Windows.
  • Whalen() did not plot some of the average A-type compositions correctly.
  • Manual pages for some of the geotectonic diagrams were not linked to the HTML help system.
  • Many doi links were added/updated/fixed in the help system.
  • figMulti() did not produce correctly all spiderplots if one or more groups were empty (e.g., when lacking the REE data).
  • User-defined Ta/Yb - K2O/Yb (Pearce 1982) plot [PearceDestructive1.r] fixed.
  • HTML output is newly produced in temporary directory, where a writing permission should be always guaranteed.
  • plotWithCircles(): sizing of smallest circles improved, the colours can be newly semitransparent.
  • After invoking peekDataset(), lists of available classification and geotectonic plots are built afresh to match the data available in the given dataset.
  • Frost(), Frost_2008(), Maniar(), Cann(), Whalen() and MullerKternary() functions did not allow overplotting on some of their panels.
  • [Win] r2clipboard() did not work on Windows systems.
  • [Win]  save.data() was appending to preexisting files instead of overwriting them.
  • [Mac]  HTML web system was malfunctioning in the Safari browser on Mac.
  • [Mac] Rudimentary functionality for the Plate() function, instead of an error message.
New geotectonic/general purpose diagrams
  • Plotting scatterplot with smoothed densities (smoothed two-dimensional histogram) after Eilers & Goeman (2004)  (courtesy of Paul Eilers).
  • New binary geotectonic diagram ThN-NbN for basaltic rocks of Saccani (2015) based on NMORB-normalized compositions.
  • New CIPW-normative classification diagram for plutonic rocks of Enrique (2018).




14 comments:

  1. Good morning and really thank you for your excellent software ! Though, I'm new on it and when trying to set it up in my window (after all the installation process), I'm still getting a white icon of the software on my desktop. And when clicking on, it's displaying R interface (without plugin GCDKit). Please, how can I fix this issue ?

    ReplyDelete
    Replies
    1. Hello, please make a proper bug report - what operation system are you on, what version of R, GCDkit, what have you done and what happened (+ error messages, if any) etc etc.
      Best wishes, Vojtech

      Delete
  2. Error in if (class(ee) != "try-error") { : the condition has length > 1

    ReplyDelete
    Replies
    1. i am getting an error like this

      Delete
    2. Mac OS monterey 64 bit

      Delete
    3. I would be grateful if you can help

      Delete
  3. Please make a proper bug report. See above. Could you load the test data file, sazava.data?

    ReplyDelete
    Replies
    1. Error in if (class(ee) != "try-error") { : the condition has length > 1
      In addition: Warning messages:
      1: In load("/Users/emre/.RData") : input string '# The following standard ratios are recommended: foidite 0.15ñ0.40, picrobasalt 0.15, ' cannot be translated to UTF-8, is it valid in 'US-ASCII'?
      2: In load("/Users/emre/.RData") : input string '# basanite/tephrite 0.20ñ0.30, basalt 0.20, trachybasalt 0.30, basaltic andesite 0.30, ' cannot be translated to UTF-8, is it valid in 'US-ASCII'?
      3: In load("/Users/emre/.RData") : input string '# The following standard ratios are recommended: foidite 0.15ñ0.40, picrobasalt 0.15, ' cannot be translated to UTF-8, is it valid in 'US-ASCII'?
      4: In load("/Users/emre/.RData") : input string '# basanite/tephrite 0.20ñ0.30, basalt 0.20, trachybasalt 0.30, basaltic andesite 0.30, ' cannot be translated to UTF-8, is it valid in 'US-ASCII'?

      Delete
    2. Hello, there is something strange going on. Could you please remove /Users/emre/.RData file and retry? Can you read sazava.data file now? If not, please try to reinstall GCDkit.

      Delete
    3. Plus I still do not know what version of R, GCDkit do you have - I am suspicious that you have too high R version. Please follow the installation instructions closely.

      Delete
  4. Hello, I cannot install version 6.1 of this software on Windows 10. It gives this error during installation(installation of required support libararies RODBC,R2HTML,SP,XMl,rgdal,tkrplot,curl failed)

    ReplyDelete
  5. Hello, we have just released 6.2, could you please try this one?

    ReplyDelete