Questions tagged [r-rio]

rio: A Swiss-Army Knife for Data I/O

Streamlined data import and export by making assumptions that the user is probably willing to make: 'import()' and 'export()' determine the data structure from the file extension, reasonable defaults are used for data import and export (e.g., 'stringsAsFactors=FALSE'), web-based import is natively supported (including from SSL/HTTPS), compressed files can be read directly without explicit decompression, and fast import packages are used where appropriate. An additional convenience function, 'convert()', provides a simple method for converting between file types.

24 questions
0
votes
3 answers

How can i loop this function in R?

Basically i have two dataframes and i want to transfer the attributes of each variable of one to the other dataframe that has the same variables but with null attributes (none). Let me know…
0
votes
2 answers

Error 'there is no package called 'rio'' when using fviz_dend and fviz_cluster

I'm running an ACP on a dataset and when I tried to use fviz_dend or fviz_cluster on the hcpc result it returns this error: Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called 'rio' Libraries…
Claire
  • 1
0
votes
1 answer

Exporting to CSV using R without symbols

I am writing a script to automatically convert to csv, a long list of xlsx files. Currently using export function from the rio package. Problem is, there comes symbols and characters in the csv files. On the other hand, converting to a csv using…
0
votes
0 answers

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘rio’

there is no package called ‘rio’. Is there any package that contains it? df <- scale(gemaps_88) # Standardize the data res.fanny <- fanny(df, 2) # Compute fuzzy clustering with k = 2 df <- scale(c_matrix) # Standardize the data res.fanny…
0
votes
2 answers

Import .xlsx with rio

Good evening, I have a problem concerning my import with the package rio. I have given an excel-sheet (1 column, 1000 rows) with the numerics starting in the first row! And that is basically my problem. I know how an import with rio works and that…
0
votes
0 answers

Problem exporting dataframe to excel sheets

I have been using the rio package to import / export data in r currently, I cannot export to excel. Every time I try to export a file in .xlsx, it does not give any error messages but the generated file is always a small 22 bytes and does not…
Bahi8482
  • 489
  • 5
  • 15
0
votes
0 answers

Export into text, problem with html special characters

I am trying to export parts of dataframe in r into .txt file, using rio::export the exported part is a text string that contains some characters as >, ≥ and ", some of these show in the text file as < " or > which is not what I need…
Bahi8482
  • 489
  • 5
  • 15
0
votes
0 answers

p_load leads to Failed to install/load: lubridate, shiny, rio

Trying to start up a new project in a rMarkdown file. I've been able to load these packages in the past, but since about a week ago I haven't been able to load the packages rio, lubridate, and and shiny. Here's my code library(pacman) p_load(dplyr,…
0
votes
0 answers

Error: package or namespace load failed for ‘rio’

I'm unable to load the rio package. I already have it installed. library(rio) Here's the full error below: Error: package or namespace load failed for ‘rio’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is…
Decky G
  • 29
  • 4
1
2