zarquon42b/Rvcg

`vcgGetEdge` and `vcgBorder` outputs are invisible

Opened this issue · 2 comments

stla commented

Hello,

The two functions mentionned in the title invisibly return their output. Is there a reason for that? I find this is a bit annoying.

Hi, this is because they return large vectors/matrices and if you accidentally call the function without assigning the output you get printed a couple of 100.000 items. Why would you directly want to print that in your console? What usecase are you envisioning?
If you want to do this intentionally, you can still do:

edges <- vcgGetEdge(x)
edges
stla commented

Ok. Sometimes I use these functions interactively on a small mesh. I can do as you say or use print.