Ewylle Farias
2025-Jul-24 13:41 UTC
[R] Error in Descending Hierarchical Classification - Iramuteq
Ol?! Estou com muita dificuldade em fazer a Classifica??o Hier?rquica no Iramuteq porque sempre d? algum problema no pacote ?Matrix? do R e j? fiz de tudo para resolver e n?o funciona. O meu corpus abre normal, mas a CHD n?o funciona de forma alguma. Estou com o R foi na vers?o 4.4.2 e o Iramuteq vers?o 0.7 alpha 2 ? n?o sei se isso influencia porque todos os meus colegas de pesquisa utilizam essa vers?o e para eles funciona tranquilamente ? e deu tudo certo at? a parte de baixar os pacotes e tudo mais, as verifica??es foram conclu?das tranquilamente. A quest?o mesmo ? o CHD que sempre d? erro none none. O primeiro problema foi ?Mensagem de aviso: pacote ?irlba? foi compilado no R vers?o 4.4.3 ?as (<dgTMatrix>, ?dgCMatrix?)? ? obsoleto Use ?as(., ?CsparseMatrix?)? em seu lugar. Veja help(?Deprecated?) e help(?Matriz-deprecated?).?, ent?o fui no site CRAN Project e instalei no R um pacote da Matrix, por?m apareceu esse outro problema ?1: pacote ?irlba? foi compilador no R vers?o 4.4.3 2: pacote ?Matrix? foi compilado no R vers?o 4.6.0? e a CHD continua sem funcionar. Tenho pesquisas em andamento que necessitam do bom funcionamento do R e do Iramuteq para serem conclu?das no prazo. Espero respostas, obrigada! -------------- next part -------------- A non-text attachment was scrubbed... Name: erromatrix.png Type: image/png Size: 215113 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20250724/b093b363/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: erromatrix1.png Type: image/png Size: 147711 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20250724/b093b363/attachment-0001.png>
Ivan Krylov
2025-Jul-26 12:16 UTC
[R] Error in Descending Hierarchical Classification - Iramuteq
Dear Ewylle Farias, Ol?! I used https://simplytranslate.org/ to read your message. Hopefully you can read English or use a translator as well. ? Thu, 24 Jul 2025 10:41:16 -0300 Ewylle Farias <ewyllefarias at gmail.com> ?????:> O primeiro problema foi ?Mensagem de aviso: pacote ?irlba? foi > compilado no R vers?o 4.4.3This is fine. You may want to install R-4.4.3 instead of R-4.4.2, but your current R version should also work.> ?as (<dgTMatrix>, ?dgCMatrix?)? ? obsoleto > > Use ?as(., ?CsparseMatrix?)? em seu lugar. > > Veja help(?Deprecated?) e help(?Matriz-deprecated?).?This is worse. Some of the code that you are using needs to be rewritten to be compatible with new versions of the Matrix package. Still, as long as it's "deprecated" and not "defunct", it should work. In order to find out where this code is hiding, you can try setting old_options <- options(warn = 2, error = recover) and re-running the code that causes this warning. Afterwards, use options(old_options) to set things back as they were (or restart R). If you can share the "traceback" from where this deprecation warning appears, it may be helpful to the developers of the affected package. For more information, see "The R Inferno" by Patrick Burns, sections 8 and 9.7: <http://web.archive.org/web/20250515182119/https://www.burns-stat.com/documents/books/the-r-inferno/>.> 2: pacote ?Matrix? foi compilado no R vers?o 4.6.0?Please install the version of the Matrix package compatible with your R version 4.4.x: https://cran.r-project.org/bin/windows/contrib/4.4/Matrix_1.7-3.zip It *will* complain about being built on R-4.4.3, but that's harmless. (Feel free to locate the link yourself at the official package page, <https://cran.r-project.org/package=Matrix>. You need "Windows binaries" for "r-oldrel". Currently you have the version for "r-devel" installed, which does not work with R-4.4.2.) Unfortunately, that will probably not solve your main problem with the CHD function not working. Where are the "CHD" and "boostana" functions from? You may have to contact their developers. -- Best regards, Ivan