# Problem Installing RDatasets and DataFrames

**URL:** <https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121>\
**Category:** Data\
**Created:** [September 27, 2017, 4:36pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121 "2017-09-27T16:36:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [September 27, 2017, 4:36pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/1 "2017-09-27T16:36:54Z")

</div>

Can someone help me make sure my julia installation is correct? There are a few things that seem sketchy when I try to install and update the DataFrames package and the RDatasets Package

- First, when I issue the command  
`julia> Pkg.update(DataFrames)`  
It takes a long time without giving me any notification, only to tell me that DataFrames has already been installed! I figured this might be the case, since I installed the JuliaPro distribution.
- Second, when I run  
` Pkg.update("Rdatasets")`  
It runs for a long time, before telling me  
`ERROR: Package Rdatasets is not installed` (R_d_atasets, not R_D_datasets)
- Third, when I try to push ahead and just use the two packages, I get the following:

```julia
julia> using RDatasets, Dataframes
WARNING: Method definition vcat(Array{Void, 1}) in module DataFrames at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\PeterDeffebach\AppData\Local\JuliaPro\pkgs-0.6.0.1\v0.6\DataFrames\src\abstractdataframe\abstractdataframe.jl:667 overwritten in module DataFrames at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\PeterDeffebach\AppData\Local\JuliaPro\pkgs-0.6.0.1\v0.6\DataFrames\src\abstractdataframe\abstractdataframe.jl:667.
WARNING: Method definition dump(IO, DataArrays.AbstractDataArray{T, 1} where T, Int64, Any) in module DataFrames at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\PeterDeffebach\AppData\Local\JuliaPro\pkgs-0.6.0.1\v0.6\DataFrames\src\abstractdataframe\abstractdataframe.jl:359 overwritten in module DataFrames at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\PeterDeffebach\AppData\Local\JuliaPro\pkgs-0.6.0.1\v0.6\DataFrames\src\abstractdataframe\abstractdataframe.jl:359.
WARNING: replacing module DataFrames.
WARNING: requiring "Dataframes" in module "Main" did not define a corresponding module.

```

I think there is something wrong with the way I downloaded it. Can someone please help me out?

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [September 27, 2017, 4:59pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/2 "2017-09-27T16:59:21Z")

</div>

Make sure you type `RDatasets` and `DataFrames` using the correct case.

---

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [September 27, 2017, 6:08pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/3 "2017-09-27T18:08:07Z")

</div>

That was very stupid of me. However the file path in the warning is strange, is it not? Do you have any insight as to why it is using so many slashes?

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [September 27, 2017, 7:46pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/4 "2017-09-27T19:46:14Z")

</div>

Yes it’s quite weird. I think there have been improvements in the development version, so maybe it’s worth trying with the nightly binaries. It’s also weird that the case mismatch only triggers a failure so late, I guess that’s related to the fact that the case-insensitity of the OS/filesystem. Maybe worth filing an issue: at least, we could check whether a module is defined with the same name but a different case to improve the error message.

---

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [September 27, 2017, 9:46pm UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/5 "2017-09-27T21:46:12Z")

</div>

Wow thatnks for such a helpful reply! in other forums people would have just gotten annoyed with my forgetting the case.

I actually uninstalled JuliaPro and installed the basic Julia distribution. Everything is working better now. When I call `using Rdatasets` (wrong lower case d), it gives me  
`WARNING: replacing module RDatasets WARNING: requiring "Rdatasets" in module "Main" did not define a corresponding module.`

Which is still not a super useful error message, but much better than the other distribution. Do i just file an issue on github with DataFrames to bring up the issue with JuliaPro?

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [September 28, 2017, 7:48am UTC](https://discourse.julialang.org/t/problem-installing-rdatasets-and-dataframes/6121/6 "2017-09-28T07:48:30Z")

</div>

> [@pdeffebach](#):
>
> Do i just file an issue on github with DataFrames to bring up the issue with JuliaPro?

Better file an issue against JuliaLang/julia. Please post the link here too.
