Giter VIP home page Giter VIP logo

Comments (10)

kmezhoud avatar kmezhoud commented on August 30, 2024

I am working on radiant.data extension at radiant.dose

I am viewing also diamonds data set with 53,940 entries

from radiant.data.

vnijs avatar vnijs commented on August 30, 2024

You should just be able to put your data in the data/ directory and set option("radiant.example.data")

from radiant.data.

kmezhoud avatar kmezhoud commented on August 30, 2024

Thanks,
I added diams.rdain /data with docs at aaa.R

  options(radiant.example.data = "radiant.dose")

or

  options("radiant.example.data")

to server.R

error message

Listening on http://127.0.0.1:4844
Warning: Error in :: argument of length 0
Stack trace (innermost first):
    65: observeEventHandler [/Library/Frameworks/R.framework/Versions/3.3/Resources/library/radiant.data/app/tools/data/manage_ui.R#352]
     1: runApp

Thanks

from radiant.data.

vnijs avatar vnijs commented on August 30, 2024

Did you install the package? Can you put everything on github and I'll take a look.

from radiant.data.

kmezhoud avatar kmezhoud commented on August 30, 2024

@vnijs
yes the package is installed.
I push the last version.
Thanks

from radiant.data.

kmezhoud avatar kmezhoud commented on August 30, 2024

I think I have to add at less diamonds.rda . Just I tried to change the name of file (diamond_s).
It works with diamonds.rda.
Can I change this?

Listening on http://127.0.0.1:6670
Warning in data(list = item, package = exdat[i, "Package"], envir = environment()) :
  data set ‘diamonds (diamond)’ not found
Warning: Error in get: object 'diamonds (diamond)' not found
Stack trace (innermost first):
    75: get
    74: function_list[[k]]
    73: withVisible
    72: freduce
    71: _fseq
    70: eval
    69: eval
    68: withVisible
    67: %>%
    66: observeEventHandler [/Library/Frameworks/R.framework/Versions/3.3/Resources/library/radiant.data/app/tools/data/manage_ui.R#355]
     2: runApp
     1: radiant.dose [/Volumes/DATA/radiant.dose/R/radiant.dose.R#33]

from radiant.data.

vnijs avatar vnijs commented on August 30, 2024

Your datasets are not listed in aaa.R by name. That seems to be causing the problem. Also, make sure the name of the file is the same as the df in the file. Now you have diams and diamonds.

You won't be able to load the csv file.

from radiant.data.

kmezhoud avatar kmezhoud commented on August 30, 2024

Ok,
Can I set an other default dataset?
Thanks

from radiant.data.

vnijs avatar vnijs commented on August 30, 2024

Yes. After loading global.R from radiant.data create your own version of the function init_data.R

from radiant.data.

kmezhoud avatar kmezhoud commented on August 30, 2024

It is OK,
Thanks

from radiant.data.

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.