--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dartr/62ab3ce9-8835-418b-8dc2-8defdf26f2f4n%40googlegroups.com.
Hi,
The issue seems to arise because your genlight object was created using dartR instead of dartRverse.
When you open your RStudio session with a genlight object created by dartR in your workspace/environment, RStudio automatically loads dartR, which overrides (or "masks") the functions from dartRverse. This means the functions you run will be from dartR, not dartRverse.
To resolve this issue, you can choose one of the following approaches:
Read your input file using dartRverse functions
Change the class of your "genlight" object
To view this discussion visit https://groups.google.com/d/msgid/dartr/0d28dc30-c688-49a1-9f1c-f0d6ed8cbaean%40googlegroups.com.