To ease this task, RStudio includes new features to import data from: csv, xls, xlsx, sav, dta, por, sas and stata files.The importers are grouped into 3 categories: Text data, Excel data and statistical data.To access this feature, use the Import Dataset dropdown from the Environment pane.
We can fix this by selecting numeric from the column dropdown. I would suggest opening a new question in our support forum to have some of my colleagues help you out. ![]() It is particularly insidious since tibbles appear the same as data frames in the environment pane, and this support article does not even mention that the data is imported as a tibble. I am sure that Camilla is not the first, and will not be the last to be tripped up by this. Of course it is always possible to convert the tibble to a data frame after import, but that rather destroys the convenience of this feature. Would it be possible at least to give an option to import data as a data frame You could still make tibbles the default, but at least people would be aware what class it is. ![]() It is currently available on the daily builds under the From Text (base). Mostly, the import dialogs follow closely what packages provide. In the case of readr it does not provide support to rename columns; probably since other packages, like dplyr, provide a wider set of data manipulation operations. I work with several SAS users whose go to is File - Import Data - Big drop down list with everything. It would save me time if there were an equivalent one-stop shop button for data importing I could teach only once. I have a drop down, but there are only 3 options, one of which is Excel. However, I get an error that I am missing readxl, which I try to load, but which always aborts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |