[R] Fwd: Merging multiple csv files to new file

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Wed Nov 3 18:37:55 CET 2021

>(Maybe the R Studio free trial/usage is underpowered for my project?)

- R is a computer language, as well as a program for interpreting R source code.
- RStudio Desktop is an editor with "features" intended to make using R easy. It cannot "do" anything without R being installed.
- R is completely free. There is no "trial" period for using R. There are no "crippled" versions of R.
- RStudio Desktop has both free and paid versions, but they have very nearly identical capabilities. The most significant difference is that you get tech support with the paid version. [1]

So no, your difficulty lies not with what you downloaded but with how you are expressing your desires with the R language (with or without RStudio), and others have suggested ways you could correct that.

[1] https://www.rstudio.com/products/rstudio/

On November 2, 2021 3:30:46 PM PDT, gabrielle aban steinberg <gabrielleabansteinberg using gmail.com> wrote:
>Hello, I would like to merge 18 csv files into a master data csv file, but
>each file has a different number of columns (mostly found in one or more of
>the other cvs files) and different number of rows.
>I have tried something like the following in R Studio (cloud):
>all_data_fit_files <- rbind("dailyActivity_merged.csv",
>"dailyCalories_merged.csv", "dailyIntensities_merged.csv",
>"dailySteps_merged.csv", "heartrate_seconds_merged.csv",
>"hourlyCalories_merged.csv", "hourlyIntensities_merged.csv",
>"hourlySteps_merged.csv", "minuteCaloriesNarrow_merged.csv",
>"minuteCaloriesWide_merged.csv", "minuteIntensitiesNarrow_merged.csv",
>"minuteIntensitiesWide_merged.csv", "minuteMETsNarrow_merged.csv",
>"minuteSleep_merged.csv", "minuteStepsNarrow_merged.csv",
>“minuteStepsWide_merged.csv", "sleepDay_merged.csv",
>"minuteStepsWide_merged.csv", "sleepDay_merged.csv",
>But I am getting the following error:
>Error: unexpected input in "rlySteps_merged.csv",
>"minuteCaloriesNarrow_merged.csv", "minuteCaloriesWide_merged.csv",
>"minuteIntensitiesWide_merged.csv", "minuteMETsNarrow_merged.csv"
>(Maybe the R Studio free trial/usage is underpowered for my project?)
>	[[alternative HTML version deleted]]
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list