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

Preview in data import tools fail (from Excel, from Text: readr) #4138

Closed
GegznaV opened this issue Jan 10, 2019 · 7 comments
Closed

Preview in data import tools fail (from Excel, from Text: readr) #4138

GegznaV opened this issue Jan 10, 2019 · 7 comments
Assignees
Milestone

Comments

@GegznaV
Copy link

@GegznaV GegznaV commented Jan 10, 2019

System details

RStudio Edition : Desktop 
RStudio Version : 1.2.1226
OS Version      : Windows 10
R Version       : 3.5.2

Steps to reproduce the problem

Use RStudio tool to import Excel file. File is attached:

iris.xlsx

image

The same situation is with import from text tool:
image

Describe the problem in detail

Preview of dataset fails (see print screen), but file is imported successfully.

image

Describe the behavior you expected

Correct preview of the dataset.

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Jan 10, 2019

I can reproduce this as well, but it also seems to reproduce in RStudio v1.1. Perhaps something has changed in readxl that affects some of the assumptions made by RStudio?

@kevinushey kevinushey added this to the v1.2 milestone Jan 10, 2019
@kevinushey kevinushey self-assigned this Jan 10, 2019
@ronblum
Copy link
Contributor

@ronblum ronblum commented Jan 10, 2019

For what it's worth, it works on MacOS Mojave Desktop and Red Hat 7.6 Server, so this appears to be a Windows-only issue.

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Jan 10, 2019

It didn't work for me on macOS Mojave. @ronblum what version of readxl do you have? I see:

> packageVersion("readxl")
[1] '1.2.0'

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Jan 10, 2019

It appears the underlying issue may be caused by the latest version of tibble.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jan 10, 2019

Confirmed. It works with tibble 1.4.2 but not 2.0.0. (And regarding readxl, I tried both 1.1.0 and 1.2.0.)

@krlmlr
Copy link
Contributor

@krlmlr krlmlr commented Jan 13, 2019

Workaround added to tibble 2.0.1, on CRAN now.

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Jan 14, 2019

Thanks!

jmcphers added a commit that referenced this issue Jan 15, 2019
@rich-rstudio rich-rstudio self-assigned this Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants