Skip to content

Commit 0f0f59e

Browse files
committed
Then we can avoid hacky solutions
1 parent 9dd6377 commit 0f0f59e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

NAMESPACE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export(.parseRCodeInOptions)
4848
export(.quitAnalysis)
4949
export(.readDataSetHeader)
5050
export(.readDataSetToEnd)
51+
export(.readFullDataset)
5152
export(.recodeBFtype)
5253
export(.setSeedJASP)
5354
export(.shortToLong)
@@ -135,8 +136,8 @@ export(rowVariance)
135136
export(rowVarianceNaRm)
136137
export(runJaspResults)
137138
export(runWrappedAnalysis)
138-
export(storeDataSet)
139139
export(startProgressbar)
140+
export(storeDataSet)
140141
export(tDist)
141142
export(unifDist)
142143
export(unv)

R/common.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,17 @@ readDataSetByVariableTypes <- function(options, keys, exclude.na.listwise = NULL
390390
dataset
391391
}
392392

393+
#' @export
394+
.readFullDataset <- function(exclude.na.listwise=NULL, ...) {
395+
396+
exclude.na.listwise <- .readDataSetCleanNAs(exclude.na.listwise)
397+
398+
dataset <- .fromRCPP(".readFullDatasetToEnd")
399+
dataset <- .excludeNaListwise(dataset, exclude.na.listwise)
400+
401+
dataset
402+
}
403+
393404
#' @export
394405
.readDataSetHeader <- function(columns=NULL, columns.as.numeric=NULL, columns.as.ordinal=NULL, columns.as.factor=NULL, all.columns=FALSE, ...) {
395406

0 commit comments

Comments
 (0)