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

Don’t export all the gogo_objects to .GlobalEnv #2

Closed
adam-gruer opened this issue May 24, 2018 · 2 comments
Closed

Don’t export all the gogo_objects to .GlobalEnv #2

adam-gruer opened this issue May 24, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@adam-gruer
Copy link
Owner

In the purrr::walk call, each new object is assigned to .GlobalEnv . Is there a way of just adding these to the search path or another environment but still have the objects visible to Rstudio tab complete?

@adam-gruer adam-gruer added the help wanted Extra attention is needed label May 24, 2018
@hadley
Copy link

hadley commented May 24, 2018

Create a new environment, assign the funs into it, and then attach() it to the search path.

@adam-gruer
Copy link
Owner Author

Awesome, thanks @hadley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants