-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from xiaodaigh/development
Development
- Loading branch information
Showing
170 changed files
with
7,050 additions
and
13,706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
This package was submitted to CRAN on 2021-02-13. | ||
Once it is accepted, delete this file and tag the release (commit f7dd3db). | ||
This package was submitted to CRAN on 2021-03-12. | ||
Once it is accepted, delete this file and tag the release (commit 34bafaa). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Type: Package | ||
Package: disk.frame | ||
Title: Larger-than-RAM Disk-Based Data Manipulation Framework | ||
Version: 0.4.0 | ||
Date: 2021-02-11 | ||
Version: 0.5.0 | ||
Date: 2021-05-09 | ||
Authors@R: c( | ||
person("Dai", "ZJ", email = "[email protected]", role = c("aut", "cre")), | ||
person("Jacky", "Poon", role = c("ctb")) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
title: "Trouble shooting" | ||
author: "ZJ" | ||
output: pdf_document | ||
--- | ||
|
||
```{r include=FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
eval=TRUE, | ||
include=TRUE | ||
) | ||
``` | ||
|
||
### Steps to trouble shoot | ||
|
||
1. I suggest updating {future} and your R version if you have not already done so. | ||
|
||
2. Are you able to share the data? | ||
|
||
3. Do a good MWE | ||
``` | ||
library(disk.frame) | ||
setup_disk.frame() | ||
df<-as.disk.frame(a) | ||
df1 = mutate(df, date = as.Date(as.character(datadate), format="%Y%m%d")) | ||
head(df1) | ||
``` | ||
|
||
|
||
3. Check if your virus scanner is blocking interprocess communication | ||
|
||
4. Try to apply the function to just one chunk, perhaps there is a syntax error or column error? If one chunk works then you can rule out coding error | ||
|
||
``` | ||
get_chunk(df, 1) %>% | ||
mutate(date = as.Date(as.character(datadate), format="%Y%m%d")) | ||
``` | ||
|
||
5. Set the number of workers to 1, so there is no more inter-process communication. Does it work now? If it does, then it's the inter process communication. You might need to contact your admin for help | ||
|
||
``` | ||
setup_disk.frame(workers=1) | ||
mutate(df, date = as.Date(as.character(datadate), format="%Y%m%d")) | ||
As an MWE this works for me. | ||
a = data.frame(datadate = rep("20201007", 3e6)) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.