Repository: rstudio/rstudio

Issue #4611: Mouse-over column index in Data Viewer
Created: 2019-04-10T13:33:14Z
System details
RStudio Edition : Desktop
RStudio Version : 1.2.1335
OS Version      : macOS 10.14.4
R Version       : 3.5.3

Steps to reproduce the problem
View(plyr::ozone)

In Data Viewer, go to
Cols: << < 51-100 > >>

Describe the problem in detail
In the Data Viewer the numeric column index is available when moving the cursor over the column name. For columns 1 to 50 this is the correct index. For higher ranges of columns, the index is off by $50 \cdot \frac{range_start - 1}{50}$.
Describe the behavior you expected
The correct column number in the mouse-over.

Duplicate issue #4810: Data preview in Import Text(via readr) is missing column headings and attributes.
Created: 2019-05-20T12:10:26Z
RStudio Version 1.2.1335
When using View command on wide dataframes, the first 50 columns are shown and the column numbers show up correctly on mouse-over, however, if the next 50 columns are selected, the mouse-over shows incorrect column numbers.
Not possible to provide reprex for this, but please find images to demonstrate.



In addition, and possibly related, when using readr() to import wide CSVs, only the first 50 column headings and attributes are shown in the preview window. This means that it isn't possible to set attributes for any columns greater than 50 through the RStudio UI.


System details
RStudio Edition : Desktop 
RStudio Version : RStudio Version 1.2.1335
OS Version      :  MacOS Version 10.14.4
R Version       :  3.6.0

R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.4

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

Random number generation:
 RNG:     Mersenne-Twister 
 Normal:  Inversion 
 Sample:  Rounding 
 
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] lubridate_1.7.4        sentimentr_2.7.1       tidytext_0.2.0         SnowballC_0.6.0        tm_0.7-6              
 [6] NLP_0.2-0              rtweetXtras_0.0.1.0000 rtweet_0.6.8           forcats_0.4.0          stringr_1.4.0         
[11] dplyr_0.8.0.1          purrr_0.3.2            readr_1.3.1            tidyr_0.8.3            tibble_2.1.1          
[16] ggplot2_3.1.1          tidyverse_1.2.1       

loaded via a namespace (and not attached):
 [1] textshape_1.6.0   tidyselect_0.2.5  slam_0.1-45       haven_2.1.0       lattice_0.20-38   colorspace_1.4-1 
 [7] generics_0.0.2    rlang_0.3.4       syuzhet_1.0.4     pillar_1.4.0      textclean_0.9.3   glue_1.3.1       
[13] withr_2.1.2       lexicon_1.2.1     modelr_0.1.4      readxl_1.3.1      plyr_1.8.4        munsell_0.5.0    
[19] gtable_0.3.0      cellranger_1.1.0  rvest_0.3.3       qdapRegex_0.7.2   curl_3.3          parallel_3.6.0   
[25] broom_0.5.2       tokenizers_0.2.1  Rcpp_1.0.1        openssl_1.3       scales_1.0.0      backports_1.1.4  
[31] jsonlite_1.6      hms_0.4.2         askpass_1.1       stringi_1.4.3     grid_3.6.0        cli_1.1.0        
[37] tools_3.6.0       magrittr_1.5      lazyeval_0.2.2    janeaustenr_0.1.5 crayon_1.3.4      pkgconfig_2.0.2  
[43] Matrix_1.2-17     data.table_1.12.2 xml2_1.2.0        assertthat_0.2.1  httr_1.4.0        rstudioapi_0.10  
[49] R6_2.4.0          nlme_3.1-139      compiler_3.6.0 ``` 

### Steps to reproduce the problem
View any wide dataframe

Closing comment (2019-05-21T06:24:33Z): First part is a duplicate of #4611
For the second part, I couldn't find a dupe. Either the preview is failing or the message "Previewing first 50 entries." is misleading and only affects the column names.

I edited the title - column headings and attributes are missing.