Communication between golem apps #666
Unanswered
JohnStaples
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hey @JohnStaples, Yes, data are automatically exported. One issue when it comes to importing data from another package is that you can't do Here are two ways to do this :
For example: app_server <- function( input, output, session ) {
# Your application server logic
data("diamonds", package = "ggplot2")
print(diamonds)
}
app_server <- function( input, output, session ) {
# Your application server logic
diamonds <- ggplot2::diamonds
print(diamonds)
} Cheers, |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Colin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Firstly, thank you for publishing 'golem'.
I have two golem based apps; a primary complex application and a secondary golem app acting as a subject specific .csv data store, generating .rds files into a 'data' folder.
Two questions please; how do I ensure the 'data' is exported, ( I understand this is auto within a package?), and how/where do I facilitate the import of this data into the primary golem app?
I have added the second package as a dependancy within the primary app.
Any golem specific guide lines would be very appreciated on how to complete the import, as currently I am failing.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions