aRchaic icon indicating copy to clipboard operation
aRchaic copied to clipboard

issues running archaic_fit()

Open BelenJM opened this issue 7 years ago • 9 comments

Hi, I have been trying the package with an example of 3 datasets from old fish. I have included the datasets in the folders inside aRchaic. When running archaic_fit(), I get this notification:

model <- archaic_fit(out, K = 2, output_dir = output_dir) The data is read as a list of matrices - processed by archaic_prepare() Fitting the Grade of Membership Model - independent version - due to Y. Shiraichi and M. Stephens Estimating on a 3 document collection. Error in tpxSelect(X, K, bf, initopics, alpha = shape, tol, kill, verb, : unused arguments (model = "full", signatures = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 --

Any hint on what is going on?

BelenJM avatar Feb 12 '19 09:02 BelenJM

Hi @BelenJM,

Did you install the maptpx from Github as specified in README?

devtools::install_github("TaddyLab/maptpx")

If not, can you please check if that fixes the issue? This error seems to be generated because of rhe older version of the maptpx package on CRAN .

kkdey avatar Feb 12 '19 10:02 kkdey

Hi @kkdey,

I am having the same error and I installed the maptpx from Github as specified in README.

How can I resolve the issue?

jelissa03 avatar Nov 13 '20 16:11 jelissa03

same as jelissa03

grenaud avatar Dec 29 '20 17:12 grenaud

same as jelissa03

cdelaf avatar Jan 14 '21 18:01 cdelaf

Hello, I am running the same issue as jelissa03. Do you maybe find any other solution, because I tried with installing maptpx via github

UrskaGeric avatar Feb 07 '24 08:02 UrskaGeric

I don't have R installed on my computer, but perhaps you can try to install the version of maptx from 2019 if the error is related to version #?

i.e. something like this? devtools::install_github("TaddyLab/maptpx", ref = "38f34d9")

halasadi avatar Feb 07 '24 17:02 halasadi

I tried but then I run at the issue with the compatibility with other packages. So, as I understand the problem is with maptpx?

UrskaGeric avatar Feb 12 '24 08:02 UrskaGeric

I got this error and I don't know how to resolve this. I would really like to run your package to test some of the my ancient samples for my PhD. I would really appreciate your help.

C:/RBuiltTools/4.0/mingw64/bin/gcc -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -DRPRINT -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o /bin/sh: line 1: C:/RBuiltTools/4.0/mingw64/bin/gcc: No such file or directory make: *** [C:/PROGRA~1/R/R-40~1.2/etc/i386/Makeconf:222: init.o] Error 127 ERROR: compilation failed for package 'maptpx'

  • removing 'C:/Users/Lenovo/Documents/R/win-library/4.0/maptpx'

UrskaGeric avatar Feb 12 '24 11:02 UrskaGeric

@UrskaGeric To install maptpx you will need the appropriate compiler tools for your platform. Please click on the "Rtools" link here for more information.

pcarbo avatar Feb 12 '24 15:02 pcarbo