sayanmuk / Auto3DGM

Automated Alignment of 3D CT scans
GNU General Public License v3.0
2 stars 0 forks source link

Error: 'rBind' is defunct. Since R version 3.2.0, base's rbind() should work fine with S4 objects #1

Open Frances516 opened 2 years ago

Frances516 commented 2 years ago

Hello, I am trying to run some 3D scans using auto3DGM but I keep getting the following error. Error: 'rBind' is defunct. Since R version 3.2.0, base's rbind() should work fine with S4 objects. Do you have any suggestions on how to fix this? everything seems to run fine until I try "FULL = align_shapes(Data_dir, Output_dir, Levels, Ids, Names)" which is where I run onto the error. I appreciate any assistance.

I am running the code as follows: rm(list=ls()) library(auto3dgm) library(Matrix) library(clue) library(linprog) library(igraph) library(MASS)

Data_dir = "C:/Users/Teacher/Desktop/Metapodial files for R/off files" Output_dir = "C:/Users/Teacher/Desktop/Metapodial files for R"

Levels=c(64,128)

Ids = c('36352', '83263', '87211', '87213')

Names = c('a01','a02', 'a03', 'a04')

FULL = align_shapes(Data_dir, Output_dir, Levels, Ids, Names)

ds = FULL[[1]] #the whole shape dataset. ga_full=FULL[[2]] #the global alignment pa=FULL[[3]] #the pairwise alignments.

Frances516 commented 2 years ago

I was able to fix the issue. The following modified version is now working auto3dgm.zip