-
-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Hi:
I'm new to R and disk.frame. I began using the package 6 months ago to process a 10GB CSV file. It has worked perfectly, but about a week ago the referred error message started to appear and I'm no longer able to run my code as I used to do. Nothing in my code has changed, and I have been running it for a while without any issues. Here is part of my code:
Setting up the CPU for parallel processing
setup_disk.frame()
options(future.globals.maxSize = Inf)
Conversion of CSV file into disk frame to allow for parallel processing
csv_to_disk.frame(infile = "C:/Users/Ricardo Torres/OneDrive/FreeAgent Drive Back-up/My Documents/IHA/Radiation Therapy & Cancer Institute/2021/Cancer Centers/mmm/Claims/Claims2.csv",
outdir = "C:/Users/Ricardo Torres/OneDrive/FreeAgent Drive Back-up/My Documents/IHA/Radiation Therapy & Cancer Institute/2021/Cancer Centers/mmm/Claims/Claims.df")
Loading the Disk Frame into a data object
utilization <- disk.frame("C:/Users/Ricardo Torres/OneDrive/FreeAgent Drive Back-up/My Documents/IHA/Radiation Therapy & Cancer Institute/2021/Cancer Centers/mmm/Claims/Claims.df/")
util_byyear <- utilization %>%
srckeep(c('ToDate', 'Billed', 'Allowed', 'Deduct', 'Copay', 'Paid')) %>%
mutate(y = lubridate::year(lubridate::mdy(ToDate))) %>%
group_by(y) %>%
summarize(billed = sum(Billed),
allowed = sum(Allowed),
deductibles = sum(Deduct),
copays = sum(Copay),
paid = sum(Paid)) %>%
collect()
When I run this last part of the code, I'm getting the following error:
Error in tools::file_path_as_absolute(attr(df, "path")) :
file 'C:/Users/Ricardo Torres/OneDrive/FreeAgent Drive Back-up/My Documents/IHA/Radiation Therapy & Cancer Institute/2021/Cancer Centers/mmm/Claims/Claims.df/' does not exist