-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPA-tutorial: FLXSA- retrospective analyses #17
Comments
I have tested the same code, with packages installed from the repository, and it runs without problems in both Linux and Windows 10. Can you try using only lapply?
|
Thanks for your answer, I was able to run all the code without error by using R directly. When I run the same code from RStudio I get the error, I mentioned above. I don't understand why Rstudio is causing the error, I will look into it tomorrow. |
I found the issue, the most recent RStudio version (1.2.5033) is causing the error, while the RStudio |
Thanks for letting us know. Is maybe one of packages loaded with RStudio redefining tapply in any way? Did it work in Rstudio using only lapply? |
With the last version of RStudio (1.2.5033) both lapply and tapply fail. I sent an issue on the rstudio repo this morning to let them know about this problem. |
Hello,
I am trying to reproduce the VPA tutorial for North Sea Plaice stock using FLXA:
After loading the data, I run the FLXSA function:
and then I want to perform a retrospective analysis using:
I get the following error:
Error in lapply(assess@index, FLQuant) : negative length vectors are not allowed
It seems like I can't call 2 or more than 2 FLXSA in the same R session. Any idea, on how to perform a retrospective analysis using FLXSA ?
Thanks,
Here is my session info:
The text was updated successfully, but these errors were encountered: