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

Error creating or reading DataFrames #630

Closed
leseixas opened this issue Jun 22, 2014 · 5 comments
Closed

Error creating or reading DataFrames #630

leseixas opened this issue Jun 22, 2014 · 5 comments

Comments

@leseixas
Copy link

Hi,

I'm having a problem trying do define or read csv file with DataFrames.jl.

Every time that I try to do this, the following is shown:

julia> w = DataFrame()
Error showing value of type DataFrame:
ERROR: tty_size not defined
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:440
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:439
in anonymous at show.jl:1040
in with_output_limit at show.jl:1017
in showlimited at show.jl:1039
in writemime at replutil.jl:2
in display at REPL.jl:113
in display at REPL.jl:116
in display at multimedia.jl:149
in print_response at REPL.jl:130
in print_response at REPL.jl:118
in anonymous at REPL.jl:475

or

julia> w = readtable("output.csv")
Error showing value of type DataFrame:
ERROR: tty_size not defined
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:440
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:439
in anonymous at show.jl:1040
in with_output_limit at show.jl:1017
in showlimited at show.jl:1039
in writemime at replutil.jl:2
in display at REPL.jl:113
in display at REPL.jl:116
in display at multimedia.jl:149
in print_response at REPL.jl:130
in print_response at REPL.jl:118
in anonymous at REPL.jl:475

Best,
Leandro.

@simonster
Copy link
Contributor

The error is actually in showing the DataArray. If you update to the latest Julia it should be fixed.

@leseixas
Copy link
Author

I updated the packages with

Pkg.update()

and try to do the same, but I still have that:

julia> w = DataFrame()
Error showing value of type DataFrame:
ERROR: tty_size not defined
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:440
in show at /Users/lseixas/.julia/DataFrames/src/dataframe/show.jl:439
in anonymous at show.jl:1040
in with_output_limit at show.jl:1017
in showlimited at show.jl:1039
in writemime at replutil.jl:2
in display at REPL.jl:113
in display at REPL.jl:116
in display at multimedia.jl:149
in print_response at REPL.jl:130
in print_response at REPL.jl:118
in anonymous at REPL.jl:475

Best,
Leandro.

@simonster
Copy link
Contributor

The problem is that the package is newer than Julia itself. You have to update your installation of Julia, not the package.

@ivarne
Copy link

ivarne commented Jun 24, 2014

This issue is because DataFrames has been updated for the deprecation of tty_rows and tty_cols in JuliaLang/julia#7297. The assumption is that people that use the prerelease version of Julia, update often.

@johnmyleswhite
Copy link
Contributor

Yes, after 0.3 releases I'm hoping to split DataFrames into development and 0.3 stable releases, so that all development happens on a branch that most users won't be working with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants