Skip to content
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

Documentation: Output clarification #142

Closed
aehmann-gsk opened this issue Oct 26, 2022 · 2 comments
Closed

Documentation: Output clarification #142

aehmann-gsk opened this issue Oct 26, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@aehmann-gsk
Copy link

Please select a category the issue is focused on?

User Guides

Let us know where something needs a refresh or put your idea here!

This looks like a great solution! I am excited to see this brought into our frozen environment.

For the output presented in the .log, it only shows the last item that is output in the script, for example,

x <- head(adae, n=2)
y <- "Alice"
z <- "Ben"
x
y
z

will only show "Ben" in the log. You can put multiple objects into a list and write the that way at the end of the code as well (e.g. list(x, y, z)) It looks to me like it will pick up glimpse statements anywhere in the code. However, if I put a count(adae, STUDYID) in the code it is not picked up by the output. Perhaps a bit more documentation on what gets picked up for the output section of the .log file?

@aehmann-gsk aehmann-gsk added the documentation Improvements or additions to documentation label Oct 26, 2022
@nicholas-masel
Copy link
Collaborator

nicholas-masel commented Oct 27, 2022

@aehmann-gsk I think wrapping it in print() will send everything to output.

x <- head(mtcars, n=2)
y <- "Alice"
z <- "Ben"
print(x)
print(y)
print(z)

@bms63
Copy link
Collaborator

bms63 commented Jun 12, 2023

Will be addressed in #178

@bms63 bms63 closed this as completed Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

3 participants