I am using 0.4.6 and IJulia and got the same error.
I checked the source code and found displaysize is a function from Julia
Base.stream module.
It seems the Base.stream module cannot be imported in my Julia 0.4.6 for
some reason.
I am running several other programs which have been running for 3 days and
may take 10 more hours to finish. So switching to another version is not an
option for me at the moment.
Here is a possible temporary solution I found. To replace outcome of the
displaysize function with IJulia's system default setting.
find the relevent file in .julia\v0.4\DataFrames\src\
abstractdataframe\io.jl:181
and make the following change.
#tty_rows, tty_cols = Base.displaysize(io)
tty_rows = 30
tty_cols = 80
On Thursday, September 8, 2016 at 8:09:17 PM UTC+1, Alex Arslan wrote:
>
> If this is happening why I think it is, I have a DataFrames PR that should
> fix it. Once that's merged I can tag a new version and things should
> (fingers crossed!) be all good.
>
> On Monday, August 29, 2016 at 10:16:55 AM UTC-7, Rock Pereira wrote:
>>
>> Julia Version 0.4.6
>> Commit 2e358ce (2016-06-19 17:16 UTC)
>>
>> Windows 10
>>
>>
>> using RDatasets
>> RDatasets.datasets("rpart")
>>
>>
>>
>> UndefVarError: displaysize not defined
>>
>> in writemime at
>> C:\Users\Rock\.julia\v0.4\DataFrames\src\abstractdataframe\io.jl:181
>> in sprint at iostream.jl:206
>> in display_dict at
>> C:\Users\Rock\.julia\v0.4\IJulia\src\execute_request.jl:38
>> in execute_request at
>> C:\Users\Rock\.julia\v0.4\IJulia\src\execute_request.jl:195
>> in eventloop at C:\Users\Rock\.julia\v0.4\IJulia\src\IJulia.jl:138
>> in anonymous at task.jl:447
>>
>>
>>