Coder Social home page Coder Social logo

tzerk / rlumshiny Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 6.0 1019 KB

A collection of shiny applications for the R package Luminescence.

License: Other

R 89.40% CSS 3.31% HTML 0.04% JavaScript 7.24%
bootstrap jscolor luminescence luminescence-dating r shiny shiny-applications tooltip

rlumshiny's People

Contributors

laikano2 avatar rlumsk avatar tzerk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rlumshiny's Issues

Error in : package or namespace load failed for 'RLumShiny'

i am trying to deploy my Shiny software on a server. And I encountered an error while loading RLumShiny. I have installed the package RLumShiny on the server. When i use root run R:

> library(RLumShiny)
Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'

When i use shiny(Not root user) run R:

su -m - shiny
R
> library(RLumShiny)
Error: package or namespace load failed for 'RLumShiny' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/shiny/R/x86_64-redhat-linux-gnu-library/4.1/terra/libs/terra.so':
  /home/shiny/R/x86_64-redhat-linux-gnu-library/4.1/terra/libs/terra.so: invalid ELF header

And when i run my shiny app, i found that ShinyApp could not be opened and the same error message appeared in the log file, Here's the log information:

su: ignoring --preserve-environment, it's mutually exclusive with --login
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C" 
2: Setting LC_COLLATE failed, using "C" 
3: Setting LC_TIME failed, using "C" 
4: Setting LC_MESSAGES failed, using "C" 
5: Setting LC_MONETARY failed, using "C" 
6: Setting LC_PAPER failed, using "C" 
7: Setting LC_MEASUREMENT failed, using "C" 

Listening on http://127.0.0.1:42011

Attaching package: 'jsonlite'

The following object is masked from 'package:shiny':

    validate

Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'


su: ignoring --preserve-environment, it's mutually exclusive with --login
su: ignoring --preserve-environment, it's mutually exclusive with --login
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C" 
2: Setting LC_COLLATE failed, using "C" 
3: Setting LC_TIME failed, using "C" 
4: Setting LC_MESSAGES failed, using "C" 
5: Setting LC_MONETARY failed, using "C" 
6: Setting LC_PAPER failed, using "C" 
7: Setting LC_MEASUREMENT failed, using "C" 

Listening on http://127.0.0.1:42011

Attaching package: 'jsonlite'

The following object is masked from 'package:shiny':

    validate

Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'

Welcome to googleVis version 0.6.10

Please read Google's Terms of Use
before you start using the package:
https://developers.google.com/terms/

Note, the plot method of googleVis will by default use
the standard browser to display its output.

See the googleVis package vignettes for more details,
or visit https://github.com/mages/googleVis.

To suppress this message use:
suppressPackageStartupMessages(library(googleVis))

Warning: Error in : package or namespace load failed for 'RLumShiny' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/shiny/R/x86_64-redhat-linux-gnu-library/4.1/terra/libs/terra.so':
  /home/shiny/R/x86_64-redhat-linux-gnu-library/4.1/terra/libs/terra.so: invalid ELF header
  76: stop
  75: value[[3L]]
  74: tryCatchOne
  73: tryCatchList
  72: tryCatch
  71: library

Could you tell me how can i fix it?

Central Age Model for app 'radialplot' does not work anymore

If the tab 'Central Age Model' is clicked. Running the shiny-app 'radialplot' with the provided example datasets returns odd results

Screenshot 2019-12-06 at 10 20 25

and a warning

DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter '6' for row 0.
For more information about this error, please see http://datatables.net/tn/4

I guess this is related to changes in data.tables and would need a fix in the app.

histogram ... support for breaks

In its current version, the app histogramdoes not support a manual or semi-automatic (with keywords) setting of breaks. However, the user should be able to adjust the breaks (bin width) of the histogram using the at least a few of the options provided by graphics::hist.

Implementation note: The function Luminescence::plot_Histrogram does not treat the argument breaks as expected (cf. R-Lum/Luminescence#54)

Shiny Dashboard (Addin)

Implement a dashboard using the 'shinydashboard' package and which provides access to all applications included in the package.

NOTE: This is a retrospective issue, it has already been implemented. The dashboard can be accessed via app_RLum() or by starting it as an addin in RStudio.

install.packages("RLumShiny") error

XMLTree.c: In function ‘xmlBufferWrite’:
XMLTree.c:1394:9: error: void value not ignored as it ought to be
ret = xmlBufferAdd((xmlBufferPtr) context, (const xmlChar *) buffer, len);
^
make: *** [/usr/lib64/R/etc/Makeconf:172: XMLTree.o] Error 1
ERROR: compilation failed for package ‘XML’

removing ‘/usr/lib64/R/library/XML’
ERROR: dependency ‘XML’ is not available for package ‘Luminescence’
removing ‘/usr/lib64/R/library/Luminescence’
ERROR: dependency ‘Luminescence’ is not available for package ‘RLumShiny’
removing ‘/usr/lib64/R/library/RLumShiny’
The downloaded source packages are in
‘/tmp/RtmpLadHqx/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("RLumShiny") :
installation of package ‘XML’ had non-zero exit status
2: In install.packages("RLumShiny") :
installation of package ‘Luminescence’ had non-zero exit status
3: In install.packages("RLumShiny") :
installation of package ‘RLumShiny’ had non-zero exit status

How to solve this ?

Statistics are not shown if checked ... DRT

Some of the statistical measures are not shown, if the check box is clicked:

 c('skewness', 'kurtosis', 'in.ci')

In fact there are not supported by the underlying function.

install.packages("RLumShiny") error

XMLTree.c: In function ‘xmlBufferWrite’:
XMLTree.c:1394:9: error: void value not ignored as it ought to be
ret = xmlBufferAdd((xmlBufferPtr) context, (const xmlChar *) buffer, len);
^
make: *** [/usr/lib64/R/etc/Makeconf:172: XMLTree.o] Error 1
ERROR: compilation failed for package ‘XML’

removing ‘/usr/lib64/R/library/XML’
ERROR: dependency ‘XML’ is not available for package ‘Luminescence’
removing ‘/usr/lib64/R/library/Luminescence’
ERROR: dependency ‘Luminescence’ is not available for package ‘RLumShiny’
removing ‘/usr/lib64/R/library/RLumShiny’
The downloaded source packages are in
‘/tmp/RtmpLadHqx/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("RLumShiny") :
installation of package ‘XML’ had non-zero exit status
2: In install.packages("RLumShiny") :
installation of package ‘Luminescence’ had non-zero exit status
3: In install.packages("RLumShiny") :
installation of package ‘RLumShiny’ had non-zero exit status

How to solve this ?

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.