# Eval from macro

**URL:** <https://discourse.julialang.org/t/eval-from-macro/102718>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [August 11, 2023, 3:14pm UTC](https://discourse.julialang.org/t/eval-from-macro/102718 "2023-08-11T15:14:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gitboy16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gitboy16/32/24906_2.png) [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Post date:** [August 12, 2023, 9:24pm UTC](https://discourse.julialang.org/t/eval-from-macro/102718/5 "2023-08-12T21:24:31Z")

</div>

Thank you all for your feedbacks. I am trying to solve the problem I raised in:

> [@Using package / install automatically](https://discourse.julialang.org/t/using-package-install-automatically/70896):
>
> Hi, If I do using DataFrames and the package is not install, Julia 1.7 will ask me if I want to install it and I will have to type y or n. Is there a way to skip that step and have Julia installed the package if it is not available? Of course one can write a function that check if the package is installed or not and then install it. I was wondering if there is an option I can pass to using DataFrames that will automatically install the package if not installed? Could that be a feature reque…

With the answer above, I can now create a macro like :  
`@auto_download using your_package`  
Which will automatically download, install and load the package without having an annoying prompt asking me whether I want to install the package (in case it is not installed).

---

_[View the full topic](https://discourse.julialang.org/t/eval-from-macro/102718)._
