-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shiny feature needs to be implemented as a function #3
Comments
Hi Thibaut, I've divided the script file into ui.R and server.R files, but now I'm not sure what to do with the system.files() command and how to pass variables to these files without calling them as source code. Can you work your magic? How am I supposed to commit my changes now? I tried to git pull origin shinyFeatures, but it said the following:
I think it would be cool to add maps to the interactive time series. Any other thoughts on improving this code are naturally welcome! Rolina |
Hi Rolina, |
As for the git error, this is because you probably haven't committed your changes in your local branch. You have to commit first, then pull, then push. Otherwise pulling would erase the changes you haven't committed. Makes sense? |
Hi Thibaut, That last comment makes sense, yes. As for the example files you posted, I did indeed look at those, but it wasn't clear to me how user-defined variables are passed to ui.R and server.R. Would you put them in the brackets at line 6 or at line 20 (line references refer to your example code)? And how about code that is neither in the ui.R file nor server.R file and is necessary to modify the user-defined variables? Where does this go? Finally, presumably the server.R location should be inst\shiny and I should reference the incidence package at line 21. Correct? Thanks! |
Hi Rolina, On Thu, Feb 19, 2015 at 1:52 PM, rolinavg [email protected] wrote:
|
I see. Ok. Perhaps I'll revert to the one-file function-friendly format that I had developed and just push that for now. In this one file, shiny is called within a normal R function, allowing me to pass whichever user-defined variables I want. I'll push it later this evening when I get home or tomorrow. Rolina |
Hi Thibaut, |
Hi Rolina, On Thu, Feb 19, 2015 at 10:23 PM, rolinavg [email protected] wrote:
|
Sorry I have left this hanging for a while. @rolinavg I probably won't have time to work on the shiny app over the days to come. What do you think? Shall we make the first release without this functionality? Or would you rather sort it out first? |
Hi Thibaut, Sorry for the late reply! I thought that I might have time to work on it on Rolina On Thu, Mar 26, 2015 at 1:18 PM, Thibaut Jombart [email protected]
|
Hi Rolina, |
Current shiny stuff has been moved to /inst/shiny. Some changes are needed for users to be able to access the shiny features.
We would need:
One way to do this is:
There is an example of that with the function adegenetServer() in adegenet:
The text was updated successfully, but these errors were encountered: