I have some issue regarding to import and merge data . I uploaded external data and import in the r script . but Its not allow to import all data and I loaded tidyverse library again and again and import it . but now I am trying to merge the data it is showing some errors . I am upload a screenshot . If is there any mistake in importing data please tell what should I do?
This is likely the same issue as discussed here arising from the RAM limitations of the cloud version. The desktop version on any reasonably provisioned laptop or desktop should overcome this. If installing the desktop version is not an option you can try revising the script to minimize the memory load. Something along these lines
#omit loading libraries yet
# import jan and feb
all_trips <- dplyr::bind_rows(jan,feb)
rm(jan,feb)
# import mar apr
all_trips <- dplyr::bind_rows(all_trips,mar,apr)
rm(mar,apr)
# continue through end of year, removing
rm(nov,dec)
# save for reuse later
saveRDS(all_trips,file="all_trips.Rds")
The RAM should be big enough to hold the entire final data frame. gc() may help if the OS cooperates (which doesn't always happen) but the operations shown don't seem likely to leave much mess that needs collection. More important, I think, is to eliminate files as soon as they are added to the growing accumulated data frame by putting them to rm().
But I can import only 6 months datasets and after that I am trying to import more dataset so it shows RAM memory has full and imported datasets also removed automatic . What should I do in this situation ?
Adding on to @ williaml's suggestion, you may need to consider a data base solution. You might have a look at CRAN - Package duckdb and theDuckdb database. It seems to be getting some good reviews.
I assume that this is for the Google Data Analytics Certificate capstone project. If so, I suggest you post a new topic with that in the title. Hopefully people who were successful importing the data will have some sage advice.