GithubHelp home page GithubHelp logo

radiant-rstats / radiant Goto Github PK

View Code? Open in Web Editor NEW
455.0 21.0 130.0 13.58 MB

Business analytics using R and Shiny. The radiant app combines the menus from radiant.data, radiant.design, radiant.basics, radiant.model, and radiant.multivariate.

Home Page: https://radiant-rstats.github.io/docs/

License: Other

R 0.60% HTML 99.40%

radiant's Introduction

Radiant - Business analytics using R and Shiny

CRAN_Status_Badge

Radiant is an open-source platform-independent browser-based interface for business analytics in R. The application is based on the Shiny package and can be run locally or on a server. Radiant was developed by Vincent Nijs. Please use the issue tracker on GitHub to suggest enhancements or report problems: https://github.com/radiant-rstats/radiant/issues. For other questions and comments please use [email protected].

Key features

  • Explore: Quickly and easily summarize, visualize, and analyze your data
  • Cross-platform: It runs in a browser on Windows, Mac, and Linux
  • Reproducible: Recreate results and share work with others as a state file or an Rmarkdown report
  • Programming: Integrate Radiant's analysis functions with your own R-code
  • Context: Data and examples focus on business applications
<iframe width="640" height="375" src="https://www.youtube.com/embed/7L3hDpLw53I" frameborder="0" allowfullscreen></iframe>

Playlists

There are two youtube playlists with video tutorials. The first provides a general introduction to key features in Radiant. The second covers topics relevant in a course on business analytics (i.e., Probability, Decision Analysis, Hypothesis Testing, Linear Regression, and Simulation).

Explore

Radiant is interactive. Results update immediately when inputs are changed (i.e., no separate dialog boxes) and/or when a button is pressed (e.g., Estimate in Model > Estimate > Logistic regression (GLM)). This facilitates rapid exploration and understanding of the data.

Cross-platform

Radiant works on Windows, Mac, or Linux. It can run without an Internet connection and no data will leave your computer. You can also run the app as a web application on a server.

Reproducible

To conduct high-quality analysis, simply saving output is not enough. You need the ability to reproduce results for the same data and/or when new data become available. Moreover, others may want to review your analysis and results. Save and load the state of the application to continue your work at a later time or on another computer. Share state files with others and create reproducible reports using Rmarkdown. See also the section on Saving and loading state below

If you are using Radiant on a server you can even share the URL (include the SSUID) with others so they can see what you are working on. Thanks for this feature go to Joe Cheng.

Programming

Although Radiant's web-interface can handle quite a few data and analysis tasks, you may prefer to write your own R-code. Radiant provides a bridge to programming in R(studio) by exporting the functions used for analysis (i.e., you can conduct your analysis using the Radiant web-interface or by calling Radiant's functions directly from R-code). For more information about programming with Radiant see the programming page on the documentation site.

Context

Radiant focuses on business data and decisions. It offers tools, examples, and documentation relevant for that context, effectively reducing the business analytics learning curve.

How to install Radiant

  • Required: R version 4.0.0 or later
  • Required: Rstudio

In Rstudio you can start and update Radiant through the Addins menu at the top of the screen. To install the latest version of Radiant for Windows or Mac, with complete documentation for off-line access, open R(studio) and copy-and-paste the command below:

options(repos = c(RSM = "https://radiant-rstats.github.io/minicran", CRAN = "https://cloud.r-project.org"))
install.packages("radiant")

Once all packages are installed, select Start radiant from the Addins menu in Rstudio or use the command below to launch the app:

radiant::radiant()

To launch Radiant in Rstudio's viewer pane use the command below:

radiant::radiant_viewer()

To launch Radiant in an Rstudio Window use the command below:

radiant::radiant_window()

To easily update Radiant and the required packages, install the radiant.update package using:

options(repos = c(RSM = "https://radiant-rstats.github.io/minicran", CRAN = "https://cloud.r-project.org"))
install.packages("remotes")
remotes::install_github("radiant-rstats/radiant.update", upgrade = "never")

Then select Update radiant from the Addins menu in Rstudio or use the command below:

radiant.update::radiant.update()

See the installing radiant page additional for details.

Optional: You can also create a launcher on your Desktop to start Radiant by typing radiant::launcher() in the R(studio) console and pressing return. A file called radiant.bat (windows) or radiant.command (mac) will be created that you can double-click to start Radiant in your default browser. The launcher command will also create a file called update_radiant.bat (windows) or update_radiant.command (mac) that you can double-click to update Radiant to the latest release.

When Radiant starts you will see data on diamond prices. To close the application click the icon in the navigation bar and then click Stop. The Radiant process will stop and the browser window will close (Chrome) or gray-out.

Documentation

Documentation and tutorials are available at https://radiant-rstats.github.io/docs/ and in the Radiant web interface (the icons on each page and the icon in the navigation bar).

Individual Radiant packages also each have their own pkgdown sites:

Want some help getting started? Watch the tutorials on the documentation site.

Reporting issues

Please use the GitHub issue tracker at github.com/radiant-rstats/radiant/issues if you have any problems using Radiant.

Try Radiant online

Not ready to install Radiant on your computer? Try it online at the link below:

https://vnijs.shinyapps.io/radiant

Do not upload sensitive data to this public server. The size of data upload has been restricted to 10MB for security reasons.

Running Radiant on shinyapps.io

To run your own instance of Radiant on shinyapps.io first install Radiant and its dependencies. Then clone the radiant repo and ensure you have the latest version of the Radiant packages installed by running radiant/inst/app/for.shinyapps.io.R. Finally, open radiant/inst/app/ui.R and deploy the application.

Running Radiant on shiny-server

You can also host Radiant using shiny-server. First, install radiant on the server using the command below:

options(repos = c(RSM = "https://radiant-rstats.github.io/minicran", CRAN = "https://cloud.r-project.org"))
install.packages("radiant")

Then clone the radiant repo and point shiny-server to the inst/app/ directory. As a courtesy, please let me know if you intend to use Radiant on a server.

When running Radiant on a server, by default, file uploads are limited to 10MB and R-code in Report > Rmd and Report > R will not be evaluated for security reasons. If you have sudo access to the server and have appropriate security in place you can change these settings by adding the following lines to .Rprofile for the shiny user on the server.

options(radiant.maxRequestSize = -1)  ## no file size limit
options(radiant.report = TRUE)

Running Radiant in the cloud (e.g., AWS)

To run radiant in the cloud you can use the customized Docker container. See https://github.com/radiant-rstats/docker for details

Saving and loading state

To save your analyses save the state of the app to a file by clicking on the icon in the navbar and then on Save radiant state file (see also the Data > Manage tab). You can open this state file at a later time or on another computer to continue where you left off. You can also share the file with others that may want to replicate your analyses. As an example, load the state file radiant-example.state.rda by clicking on the icon in the navbar and then on Load radiant state file. Go to Data > View and Data > Visualize to see some of the settings from the previous "state" of the app. There is also a report in Report > Rmd that was created using the Radiant interface. The html file radiant-example.nb.html contains the output.

A related feature in Radiant is that state is maintained if you accidentally navigate to another web page, close (and reopen) the browser, and/or hit refresh. Use Refresh in the menu in the navigation bar to return to a clean/new state.

Loading and saving state also works with Rstudio. If you start Radiant from Rstudio and use > Stop to stop the app, lists called r_data, r_info, and r_state will be put into Rstudio's global workspace. If you start radiant again using radiant::radiant() it will use these lists to restore state. Also, if you load a state file directly into Rstudio it will be used when you start Radiant to recreate a previous state.

Technical note: Loading state works as follows in Radiant: When an input is initialized in a Shiny app you set a default value in the call to, for example, numericInput. In Radiant, when a state file has been loaded and an input is initialized it looks to see if there is a value for an input of that name in a list called r_state. If there is, this value is used. The r_state list is created when saving state using reactiveValuesToList(input). An example of a call to numericInput is given below where the state_init function from radiant.R is used to check if a value from r_state can be used.

numericInput("sm_comp_value", "Comparison value:", state_init("sm_comp_value", 0))

Source code

The source code for the radiant application is available on GitHub at https://github.com/radiant-rstats. radiant.data, offers tools to load, save, view, visualize, summarize, combine, and transform data. radiant.design builds on radiant.data and adds tools for experimental design, sampling, and sample size calculation. radiant.basics covers the basics of statistical analysis (e.g., comparing means and proportions, cross-tabs, correlation, etc.) and includes a probability calculator. radiant.model covers model estimation (e.g., logistic regression and neural networks), model evaluation (e.g., gains chart, profit curve, confusion matrix, etc.), and decision tools (e.g., decision analysis and simulation). Finally, radiant.multivariate includes tools to generate brand maps and conduct cluster, factor, and conjoint analysis.

These tools are used in the Business Analytics, Quantitative Analysis, Research for Marketing Decisions, Applied Market Research, Consumer Behavior, Experiments in Firms, Pricing, Pricing Analytics, and Customer Analytics classes at the Rady School of Management (UCSD).

Credits

Radiant would not be possible without R and Shiny. I would like to thank Joe Cheng, Winston Chang, and Yihui Xie for answering questions, providing suggestions, and creating amazing tools for the R community. Other key components used in Radiant are ggplot2, dplyr, tidyr, magrittr, broom, shinyAce, shinyFiles, rmarkdown, and DT. For an overview of other packages that Radiant relies on please see the about page.

License

Radiant is licensed under the AGPLv3. As a summary, the AGPLv3 license requires, attribution, including copyright and license information in copies of the software, stating changes if the code is modified, and disclosure of all source code. Details are in the COPYING file.

The documentation, images, and videos for the radiant.data package are licensed under the creative commons attribution and share-alike license CC-BY-SA. All other documentation and videos on this site, as well as the help files for radiant.design, radiant.basics, radiant.model, and radiant.multivariate, are licensed under the creative commons attribution, non-commercial, share-alike license CC-NC-SA.

If you are interested in using any of the radiant packages please email me at [email protected]

© Vincent Nijs (2023) Creative Commons License

radiant's People

Contributors

vnijs avatar yarikoptic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radiant's Issues

menus not showing up

Good evening,

I've uninstalled and re-installed R, RStudio, and Radiant together and separately several times, but I think I must have failed to delete something that's causing me trouble.

When I launch Radiant, all appears well until I move off the Data-Manage tab. View shows only the top portion of the side menu, screenshot pasted below. There's nothing else on the page, except the output to file button (which generates a csv with all of the data I can't see or manipulate). Can you tell me where to look for possible trouble making files? Thank you.

Windows 10, R 3.4.1, RStudio 1.0.153,
scrnsht

correlation analysis

Hi!
When a perform correlation analysis, changing the value of dropdown menu with methods (pearson,spearman, kendall) doesnt changing values in the analysis tab.

Installation on Mac

Hi,
I'm trying to get radiant on my laptop, but there is an error keeps comping up:

Error in webshot::install_phantomjs() :
Unable to install PhantomJS to any of these dirs: ~/Library/Application Support/PhantomJS, In addition: Warning messages:
1: In utils::download.file(url, method = method, ...) :
download had nonzero exit status
2: In utils::unzip(zipfile) : error 1 in extracting from zip file
3: In file.copy(exec, destdir, overwrite = TRUE) :
problem copying phantomjs-2.1.1-macosx/bin/phantomjs to /Users/xi/Library/Application Support/PhantomJS/phantomjs: No such file or directory

My R is version 3.3.2 and Mac OS is version 10.10.5.
Looking forward to your reply. Thank you.

Installation MacOS

Hi,
I'm trying to install Radiant on MacOs and get the following error:

source("https://raw.githubusercontent.com/radiant-rstats/minicran/gh-pages/insError in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
type 'binary' is not supported on this platform

If I try: install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
installation fails as well:
Warning in install.packages :
installation of package 'radiant' had non-zero exit status

Any suggestions?
Thanks!

ERROR: object 'Fire' not found

Saving a knitted report in any other file format other than *.RMD (Word, HTML, PDF...) results in this error -- screen capture is trying to save in MS Word as you can see.
image

linear programming module

hi,

together with some colleagues we were thinking of using radiant for a business analytics course starting from fall 2017. the course covers all but one of the topics that radiant already includes. in particular, in the course we also discuss linear programming.

could it be possible to add a linear programming module in a future release of the package?

thanks.

Data - Explore doesn't work

Hi,

I use the radiant GUI in my stats course.

After a new installation of the package (due to software updates of the university) I have a specific problem: The results for Data - Explore are not shown anymore in the GUI. The code for the explore function is provided for the report, but the results in the GUI just stay blank.

Do you have recommondations to fix this problem?

Best,
Marie-Ann

Issue in the new mac version

When running a linear regression model on the new version, the values for the +/- column are 1/3 what they were in the previous version.

screen shot 2018-04-05 at 11 07 36 am

Steps and tips to translate Radiant

Hi @vnijs . First of all, thanks for Radiant, it's being an awesome tool for teaching data analytics and data visualization.

We intend to translate Radiant to portuguese. Do you have some tips or steps that we can follow to translate from the source-code, like the path for the main files, etc?

Thanks, best regards.
Wlademir.

Transform tab: `.cols` has been renamed and is deprecated, please use `.vars`

Dear Dr. @vnijs ,
When I go to Transform Tab, select change type as As factor and then select variable from diamonds dataset, I receive this message:

`.cols` has been renamed and is deprecated, please use `.vars`
> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bindrcpp_0.2       shiny_1.0.3        radiant.data_0.8.1 dplyr_0.7.2        tidyr_0.6.3        lubridate_1.6.0    ggplot2_2.2.1      magrittr_1.5      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.12       lattice_0.20-35    assertthat_0.2.0   rprojroot_1.2      digest_0.6.12      psych_1.7.5        mime_0.5           R6_2.2.2           plyr_1.8.4         backports_1.1.0    MatrixModels_0.4-1 evaluate_0.10.1   
[13] rlang_0.1.1        lazyeval_0.2.0     curl_2.7           rstudioapi_0.6     minqa_1.2.4        SparseM_1.77       car_2.1-5          nloptr_1.0.4       DT_0.2             Matrix_1.2-10      rmarkdown_1.6      splines_3.4.1     
[25] lme4_1.1-13        readr_1.1.1        stringr_1.2.0      foreign_0.8-69     htmlwidgets_0.9    munsell_0.4.3      broom_0.4.2        compiler_3.4.1     httpuv_1.3.5       pkgconfig_2.0.1    base64enc_0.1-3    mnormt_1.5-5      
[37] shinyAce_0.2.1     mgcv_1.8-17        htmltools_0.3.6    nnet_7.3-12        tibble_1.3.3       gridExtra_2.2.1    codetools_0.2-15   MASS_7.3-47        grid_3.4.1         nlme_3.1-131       jsonlite_1.5       xtable_1.8-2      
[49] gtable_0.2.0       scales_0.4.1       stringi_1.1.5      pryr_0.1.2         reshape2_1.4.2     tools_3.4.1        import_1.1.0       glue_1.1.1         markdown_0.8       hms_0.3            yaml_2.1.14        parallel_3.4.1    
[61] pbkrtest_0.4-7     colorspace_1.3-2   knitr_1.16         bindr_0.1          quantreg_5.33  

Thanks,
Karim

No decimal control in saved HTML or Knit Report area

When running code like the following in Radiant, the pivot table comes out with 3 decimals regardless of what you set it at. This issue is only in the report area and with saved HTML files. The Pivot tab in Data has no issues with decimals.

result <- pivotr(
  dataset = "DMA", 
  cvars = c("fiscal_quarter", "stuff"), 
  nvar = "variable", 
  fun = "sum_rm", 
  tabsort = "desc(Total)"
)
# summary(result, dec = 0)
dtab(result, dec = 0) %>% render()
# store(result, name = "DMA_pvt")

Data--Visualize can not show specific plot.

Hi,
I am learning the Radiant on my statistics class, and there is a same problem which one of my classmates and I have now.

When I tried to make a plot under the Visualize section ,with setting “Plot-type”as "Scatter","Y-variable"as "Net Sales",and "X-variable"as "Age", it does not show the plot no matter how long I wait. However, if I change the variables, it can show the plot without any problems.I attached the screen shot of my computer.

I will be grateful if you tell me how to deal with this problem.

Thank you.

Best wishes.

_20180314112500

Cannot install RStudio.

Hi,

I'm a student in KU and in my statistic class our professor wanted us to install RStudio. Everything went well until my Antivirus system (Avast) asked from do I want to give permission to overwrite some document, and recommendation was simply "no". I'm not much of a tech guy so I thought its better not to overwrite anything and let it install the RStudio without it. Now the RStudio cannot find "knitr" -file. I'm out of options what I'm supposed to do.

I've attached picture as a file where you can see what the RStudio says.

rstudio_problem

Regards
Petteri

Date not imported as date

First of all thank you for this amazing package!
I do however encounter a problem when I import a CSV file with a column filled with dates (DD-MM-YYYY)
When I use the sort function it does not sort on date but treats it as a factor and sort it on that

Erros in radiant_update

Below, are the error messages I get when attempting to update radiant.

radiant:::update_radiant()

Updating Radiant. Your R session will now restart ...

Restarting R session...

source('https://raw.githubusercontent.com/radiant-rstats/minicran/gh-pages/update.R')

#################################################
Updating previously installed packages
#################################################

trying URL 'https://radiant-rstats.github.io/minicran/bin/windows/contrib/3.4/radiant.data_0.9.0.6.zip'
Content type 'application/zip' length 1894091 bytes (1.8 MB)
downloaded 1.8 MB

package ‘radiant.data’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\my_name\AppData\Local\Temp\RtmpcVHQVB\downloaded_packages

#################################################
Installing new packages
#################################################

** There was an issue installing package lattice **
Error in install.packages : Updating loaded packages

###############################################################

Some packages were not successfully installed or updated

Offending packages: lattice

Use the command below to install these packages:

install.packages("lattice")

###############################################################

Restarting R session...

Error saving session (plots_dir): Access is denied
WARNING: Forcing suspend of process in spite of all session data not being fully saved.

install.packages(p, repos = repos, type = type, dependencies = FALSE)
Error in install.packages : object 'repos' not found

several questions/feature requests

Hi,

by accident I stumbled across radiant today and am stunned! Thanks for this great piece of software! I was searching for a way to give researchers at our institute an easy way to explore data they collected or are collecting at the moment as kind of a dashboard, and I think that radiant might be the answer. I have some questions/feature requests. I hope I am not too unspecific, please tell me if I should divide them into several issues or similar...

1) import from REDCap (or other databases)

We use REDCap at our institute (https://projectredcap.org/). It would be great if one could import data from this (or other) databases directly, without needing to first export a csv file that then gets imported to radiant. That would allow one to always work with the newest (most correct) raw data, especially when one uses radiant as dashboard for currently running studies as described above. Furthermore, the import step would be transparent and reproducible that way.

The easiest, most generic way probably would be to give the user the option to write code that results in an R dataframe, which is then used by radiant?!

2) reload data and apply all saved operations on new data

Related to the first point I asked myself whether it is possible to "refresh" the data, i.e., reload the data from the specified file or database and have all operations (plots, analyses) be refreshed on the possibly changed data. That would be convenient for a dashboard functionality. Alternatively, one could just use the Rmd report function and render the report anew I guess.

3) longitudinal data

Is there support for graphing/analysing longitudinal data?

4) linear mixed effects models/structural equation modeling

It might be potentially interesting to include LME and SME.

Thanks so much!

Inconsistent detection of variable type after import, maybe??

I'm a former student from Rady trying to use Radiant in my internship. I've been importing datasets from CSV files and the detection of what is a factor and what is character string seems to be inconsistent, but perhaps if I understood the logic decision for this, I would be able to anticipate the detection that is made. Could you pass along the logic that Radiant uses to detect whether a variable type is a factor or character string? And if there is anyway to adjust that decision, please lmk. I am importing a lot of survey datasets that have questions with 5 answers (i.e. Not bitter, Slightly bitter, Just about right, Slightly too bitter, Too bitter). Sometimes all 5 answers are found in a survey, sometimes it is 4. There are other questions with up to 6 answers, which I would also like Radiant to detect as a factor without me doing a "Change Type" transformation. Please lmk if this is possible, or at least what I would need to be aware of for how this detection is made. What I would probably like to do if possible is to force Radiant to detect a variable as a factor is there are less than 10 "levels" (sorry if I used this term wrong). Thank you,
Justin

ERROR: could not find function "write_csv"

adding library(readr) to radiant/inst/app/global.R fixed this.

from sessionInfo():
R version 3.3.0 (2016-05-03)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Saving Report as PDF File

I can't save my report as PDF file. Other files work fine, but an error occurs whenever I try to save reports as PDF file.

Q3

visualize(
  dataset = "복사본 PelicanStores", 
  xvar = "Items", 
  yvar = "Net.Sales", 
  type = "scatter", 
  nrobs = -1, 
  custom = FALSE
)

Radiant won't start--invalid 'nchars' argument

I'm trying to run Radiant within R-Studio. When I start Radiant as an Addin, I get the following

radiant:::radiant()
Starting Radiant ...

Listening on http://127.0.0.1:6245
Warning in file(con, "rb") :
file("") only supports open = "w+" and open = "w+b": using the former
Warning: Error in readChar: invalid 'nchars' argument
Stack trace (innermost first):
2: shiny::runApp
1: radiant:::radiant
Error : invalid 'nchars' argument

Saving HTML reports doesn't work. Please fix in next update.

Saving reports as HTML don't seem to work. This function [dtab(result, dec = 0) %>% render] works when knitting a report, but when the report is saved as HTML, the file appears with the title, a drop down menu to download the .Rmd file, and nothing else. (Like the image below). Please fix the bug since this was a useful way to share the functionality to people that don't use Radiant.

image

my r radient is not working. making pdf file.

my r radient is not working. there are problems when i try to make a pdf file.
only empty text file is in my downloads.
i wanted to attach my r radient state file with this issue but it says that this page doesnt support rda file type. hope i could solve this problem soon.

error in Rstudio after installation

Hi, I got two error messages after installation of Rstudio (newest version).
I can use R but can't use Rstudio, which I need to use.
please see the error messages and help me to solve problems.
Thanks!
Best Regards,
rstudio

Report not showing plots

Hi VIncent,
I started using radiant again after two months and I updated R, Rstudio and Radiant to latest versions.
I tried knitting a report from two months ago and now I see that it is not showing the plots.
Any suggestions?
-Lakshmi

Error while uploading csv file

Hello Professor Nijs,

I'm Naga - one of your ex-students. I'm trying to upload a big csv file (approx 700MB) onto Radiant, but I get the below error message. can you please help me with that.

"The filename extension (csv) does not match the specified file-type (csv). Please specify the file type you are trying to upload (i.e., csv or rda).".

Regards,
Naga.

shape and alpha visuals in "Visualize"?

Hi, just a quick question... I'm guessing you left out the alpha and shape elements out of visualize for simplicity... and deal with the multiple x variables by faceting... it's pretty elegant all in all. It's true that shape can be quickly abused...

I do think however the alpha is fairly bombproof... and adds a lot of value for medium-large datasets in terms of allowing point clusters to be more easily visualized if alpha =0.1 for example.

Are you interested in having a conversation about the inclusion of both of these?

My r radient is not working. making pdf files.

my r radient is not working. there are problems when i try to make a pdf file.
only empty text file is in my downloads.
i wanted to attach my r radient state file with this issue but it says that this page doesnt support rda file type. hope i could solve this problem soon.

Radiant Work Metrics

Guys, is there any study or parameters of Radiant workload limits?

Thanks in advance!
Joni

Rename dataset button delete data frame when I resave without changing the name

Dear Dr. vincent,
When I check rename button whithout changing the name I loose dataset.
View tab return this error. Thanks Karim

Warning: Error in function_list[[k]]: attempt to set an attribute on NULL
Stack trace (innermost first):
    100: function_list[[k]]
     99: withVisible
     98: freduce
     97: _fseq
     96: eval
     95: eval
     94: withVisible
     93: %>%
     92: <reactive:varnames> [radiant.R#144]
     81: varnames
     80: renderUI [tools/data/view.R#5]
     79: func
     78: origRenderFunc
     77: output$ui_view_vars
      2: runApp
      1: radiant.data

sessionInfo()

R version 3.3.0 beta (2016-04-06 r70435)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.6 (El Capitan)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shiny_0.14         radiant.data_0.6.0 dplyr_0.5.0        tidyr_0.6.0        lubridate_1.5.6    ggplot2_2.1.0      magrittr_1.5      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.7      pryr_0.1.2       plyr_1.8.4       base64enc_0.1-3  tools_3.3.0      digest_0.6.10    import_1.1.0     shinyAce_0.2.1   evaluate_0.9     jsonlite_1.0     tibble_1.2       gtable_0.2.0     nlme_3.1-128     lattice_0.20-34 
[15] psych_1.6.6      rstudioapi_0.6   DBI_0.5          yaml_2.1.13      curl_1.2         parallel_3.3.0   gridExtra_2.2.1  stringr_1.1.0    knitr_1.14       htmlwidgets_0.7  DT_0.2           grid_3.3.0       R6_2.1.3         rmarkdown_1.0   
[29] readr_1.0.0      reshape2_1.4.1   codetools_0.2-14 scales_0.4.0     htmltools_0.3.5  rsconnect_0.4.3  assertthat_0.1   mnormt_1.5-4     mime_0.5         xtable_1.8-2     colorspace_1.2-6 httpuv_1.3.3     stringi_1.1.1    lazyeval_0.2.0  
[43] munsell_0.4.3    broom_0.4.1      markdown_0.7.7  

I have problem on the install procress

Hi,

Thank you for offering me the resolution on how to deal with the problem that the radiant can not show the plot.
You said that: "You can upgrade using the command below:

source("https://raw.githubusercontent.com/radiant-rstats/minicran/gh-pages/update.R")"

I followed what you said but when I tried to open the radiant , the letters of the last line always showed up and I cannot open the radiant now.Besides, I told my classmate the method to update, and her computer showed the same problem as mine,too.I attached the screen shot.

I am looking forward for your reply.
Thank you.

Best wishes.

86e6b5b27d22f78a3907e99a6166528

Error Message running Radiant

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’

Feedback

Outstanding! Congratulations, this is really outstanding work, and I'm contemplating introducing this in my workplace!

I have some feedback though:

  1. I love how you have https://radiant-rstats.github.io/docs/design/doe.html which perfectly mimics the app. That's awesome and a great idea! I think a bit of functionality could be provided by adding a hyperlink with a questionmark to each panel (perhaps next to the Print/Download icon that exists on each page? This would provide a quick reference to each help item. Failing this, you could easily have a HELP menu that could hyperlink to the document, with also an ABOUT tab and version info.

  2. I'm not too fond of the Data-> Manage visual. It's for all intents and purposes a crappier version of what you see in Data -> View and for large datasets doesn't really show anything interesting. Could I recommend that this first view contain three things (obviously linked to checkboxes): str(df), summary(df) and as a visual, it could have this: https://ropensci.org/blog/blog/2017/08/22/visdat (though you might prefer for this to be a seperate tab)

  3. Two omissions in the Data Science portfolio that I noticed are Random Forests and PCA. Random Forests would obviously go under Modelling, and PCA ... tough. I would want to give it some visibility... but it prolly makes most sense under a new menu: Data-> Reduce? I don't know...

  4. For the correlation plot, if you use PerformanceAnalytics::chart.Correlation, it even let's you group by another variable... check for example: PerformanceAnalytics::chart.Correlation(iris[-5],pch=21, bg='Species'), as well as showing some more stats. What do you think? I mean, this one is full of warnings, but it's coo, no?

  5. To connect to databases, i don't know if you have seen that Rstudio have this new odbc package that has a bunch of new features... I think probably without tooo much trouble we could provide the functionality that people save code snippets with the ODBC data needed to connect to their dbs... and as soon as they load that, we could populate "Datasets" with the tables in the db.

Anyway... don't want to overwhelm w/ too much stuff... I'm just excited! Please let me know what you think about all this stuff... if you are interested we can probably split up this issue into sub-issues. I would be willing to help with some of this stuff, if you want! What say you?

Data | Explore returns error 'incompatible types, expecting a integer vector' with >1 integer group by variable

Hi, Thanks for radiant, it is a fantastic tool! Error details are below:

Example using houseprices example dataset, explore tab will allow several factor group by variables (e.g. brick & neighbourhood), and a single integer variable works (e.g. bedrooms), but as soon as I add bedrooms and bathrooms as group by variables, I get 'Error: incompatible types, expecting a integer vector'. The same thing happens if I add either bedrooms or bathrooms to the two factor group by variables that were working together (e.g. brick & neighbourhood). Environment is CRAN R 3.3.2, on Linux Mint 18 using R Studio Server 0.99.903
Full error from RStudio console is below:

Warning: Error in mutate_impl: incompatible types, expecting a integer vector
Stack trace (innermost first):
113:
112: stop
111: mutate_impl
110: mutate_.tbl_df
109: mutate_
108: mutate_each_
107: dplyr::mutate_each
106: mutate_each
105:
104: do.call
103: withCallingHandlers
102: suppressMessages
101: withCallingHandlers
100: suppressWarnings
99: sshhr
98: eval [/home/jonathan/R/x86_64-pc-linux-gnu-library/3.3/radiant.data/app/tools/data/explore_ui.R#118]
97: eval
96: withProgress
95: reactive:.explore [/home/jonathan/R/x86_64-pc-linux-gnu-library/3.3/radiant.data/app/tools/data/explore_ui.R#117]
84: .explore
83: exprFunc [/home/jonathan/R/x86_64-pc-linux-gnu-library/3.3/radiant.data/app/tools/data/explore_ui.R#139]
82: widgetFunc
81: func
80: origRenderFunc
79: renderFunc
78: origRenderFunc
77: output$explore
2: shiny::runApp
1: radiant

Availability of none packaged shiny app?

Hi,
This is an awesome app!
I am a novice R user and I just started learning shiny. I was wondering if there is an easier to follow radiant app for starters, for instance, an app that's not packaged into a library and has the standard shiny framework ie, ui.R and server.R, etc..
Thank you,
Margaret

Margin effects on predictions

Dear Vincent,
Do you know why when we change the values on Margin it also changes the predictions? Below I add some picture, changing the margins. This gives doubts of the overall model itself. Any ideas?

screenshot from 2017-09-27 18-44-51
screenshot from 2017-09-27 18-44-38
screenshot from 2017-09-27 18-44-23

sd function in Explore tab seems not working

error message using default r_data

Listening on http://127.0.0.1:7522
Warning: Error in eval: missing value where TRUE/FALSE needed
Stack trace (innermost first):
    113: <Anonymous>
    112: stop
    111: mutate_impl
    110: mutate_.tbl_df
    109: mutate_
    108: mutate_each_
    107: dplyr::mutate_each
    106: mutate_each
    105: <Anonymous>
    104: do.call
    103: withCallingHandlers
    102: suppressMessages
    101: withCallingHandlers
    100: suppressWarnings
     99: sshhr
     98: eval [tools/data/explore_ui.R#118]
     97: eval
     96: withProgress
     95: <reactive:.explore> [tools/data/explore_ui.R#117]
     84: .explore
     83: exprFunc [tools/data/explore_ui.R#139]
     82: widgetFunc
     81: func
     80: origRenderFunc
     79: renderFunc
     78: origRenderFunc
     77: output$explore
      2: runApp
      1: radiant.data

Thanks,
Karim

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.