Skip to content

oocRPCA: using example, "unknown error" generated  #4

@pbraun2

Description

@pbraun2

Hello,

I have a large snRNA-seq dataset and am very interested in using your package. When I try to run the example code associated with the oocPCA_CSV function in the R documentation, however, I get the following issue (generated with reprex). I would appreciate any help on this issue.

Thanks!
Tricia

k_ <- 10;
m = 30;
n = 40;
B <- matrix(rexp(mk_), m)
C <- matrix(rexp(k_n), k_)
D <- B %
%C;
dim(D)
#> [1] 30 40
fn = "test_csv.csv"
write.table(D,file=fn,sep=',',col.names=FALSE, row.names=FALSE)
library(oocRPCA);
fastDecomp <- oocPCA_CSV(fn, k=k_, mem=n
8100, diffsnorm=TRUE)
#> Warning in system(pcacall): 'CreateProcess' failed to run 'C:
#> \Users\braun\AppData\Local\R\WIN-LI1\4.2\oocRPCA\build\FASTPC1.LIN -k 10 -csvI
#> test_csv.csv -binaryOutput oocRPCA.binmatrix -mem 32000 -l 12 -its 2'
#> Error in oocPCA_CSV(fn, k = k_, mem = n * 8 * 100, diffsnorm = TRUE): An unkonwn error has occurred during call: C:/Users/braun/AppData/Local/R/win-library/4.2/oocRPCA/build/fastpca.linux -k 10 -csvI test_csv.csv -binaryOutput oocRPCA.binmatrix -mem 32000 -l 12 -its 2
norm( D - fastDecomp$U %
% fastDecomp$S %% t(fastDecomp$V))
#> Error in norm(D - fastDecomp$U %
% fastDecomp$S %*% t(fastDecomp$V)): object 'fastDecomp' not found
unlink(fn)
Created on 2022-08-09 by the reprex package (v2.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions