Skip to content

Commit 0f0454f

Browse files
committed
read/write of the binary dataframe data file success
1 parent 06223a9 commit 0f0454f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -492,3 +492,4 @@ test/demo/machineLearning/umap/Vae/nmf_deconv.csv
492492
test/demo/machineLearning/umap/Vae/old/nmf_class.csv
493493
test/demo/machineLearning/umap/Vae/old/nmf_deconv.csv
494494
test/unitTest/matrix_test/wine.dat
495+
test/unitTest/dataframe/wine.dat

test/unitTest/dataframe/binary_data.R

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
data(wine);
2+
3+
print(wine);
4+
5+
writeBin(wine, con = file.path(@dir,"wine.dat"));
6+
7+
wine_read = readBin(file.path(@dir,"wine.dat"), what = "dataframe");
8+
9+
print(wine_read );

0 commit comments

Comments
 (0)