Comments (4)
You should pass-in one dataframe in an rda-file. Your file has multiple and you would need to merge them together into one data.frame to load it into Radiant. Alternatively, you could create a separate file for each data-frame, load them all into Radiant, and merge them together.
The fact that only one data.frame in an rda file can be loaded is not explicitly mentioned in the help-file. I will add a comment about this soon and have the code check the structure of the .rda file to ensure it is compatible with Radiant.
from radiant.
Thank you for very fast reply. Now the Radiant
's specifics about loading data is clear. But, if you support the scenario of loading data frames into Radiant
separately and then merging them in the application, wouldn't it make sense for Radiant
to support R
data files with multiple data frames? It would be nice, if Radiant
would detect such cases and inform user about the possibility of merging (especially, since the functionality is already supported by Radiant
), requesting merge parameters and merge the R
data file's data frames, based on the user's input. Just a suggestion of a nice-to-have feature.
One more issue, which I believe is still valid. It seems to me that Radiant
doesn't "like" multi-word column names - it just produced the following message (when I tried to use Visualize
tab with a single-data-frame dataset and a column named Project Age
):
Error: <text>: 1:9: unexpected symbol
1: Project Age
________^
from radiant.
The fact that R-data files allow the user to put multiple object into one file complicates loading the data appropriately. This is why Hadley (of ggplot2, dplyr, etc.) prefer to use RDS file (http://www.fromthebottomoftheheap.net/2012/04/01/saving-and-loading-r-objects/). You can easily load multiple files into Radiant so, honestly, I doubt I will add this feature. However, I will make sure that a user will get a clear message if a data file contains > 1 data.frame. Thanks for bringing this to my attention.
from radiant.
You're welcome! No problem, a user can definitely merge multiple data frames appropriately into a summary data frame, in order to use it for analysis in Radiant. Still hope to hear from you about Radiant's handling of multi-word column names, as I mentioned in my previous comment. Please let me know, if you want me to create a new issue for this.
from radiant.
Related Issues (20)
- Error: package ‘radiant’ is available as a source package but not as a binary HOT 3
- Geom_line color HOT 4
- lost the sync of my fork HOT 3
- Decision Tree: Issue with cost HOT 7
- Package ‘radiant’ was removed from the CRAN repository. HOT 8
- avoid MathJaxR dependency HOT 9
- Chi- Squared distribution Mean HOT 3
- Add URL param that would cause the session to NOT be saved HOT 1
- trouble loading radiant HOT 3
- logo HOT 4
- Dropdown variable list doesnt showup in the Visualize option HOT 1
- make my bar graphs have manually selected colors HOT 3
- r 3.4 HOT 23
- Download button doesn't work properly HOT 2
- Readme has git merge conflict markers HOT 2
- Command options not generating when added to report HOT 4
- Regression - Center Option HOT 4
- Training Variable: same seed, different outputs HOT 3
- simulater for poisson restrict lambda to integer; result is constant 0 for lambda in (0,1) HOT 1
- How to set directory for load the data? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiant.