omnetpp-resultfiles icon indicating copy to clipboard operation
omnetpp-resultfiles copied to clipboard

loadVectors() not working (issues with 'vectorkeys')

Open kyeongsoo opened this issue 13 years ago • 7 comments

See the following sample run:

x <- loadDataset("Test1-0.vec")

x$vectors resultkey runid file vectorid 1 0 Test1-0-20111020-16:26:42-17935 Test1-0.vec 0 module name 1 DistributionTest.gen sample:vector

v <- loadVectors(x$vectors)

Error in is.null(vectorkeys) : 'vectorkeys' is missing

kyeongsoo avatar Oct 20 '11 16:10 kyeongsoo

You must invoke loadVectors with NULL as a second parameter: v <- loadVectors(x$vectors, NULL)

You can find it in the wiki/tutorial.

This issue is quite old and the project seems to be abandoned but I have also stumbled upon this problem.

primo avatar Jul 23 '12 18:07 primo

after invoke as you said, a new issue:

Error in loadVectors(x$vectors, NULL) :+1: vectors$vectorid is not an integer vector

tohoanglinh avatar Apr 16 '13 07:04 tohoanglinh

Using: v <- loadVectors(x, NULL) seems to work for me

sdominiak avatar Apr 26 '13 18:04 sdominiak

This: v <- loadVectors(x, NULL) now tells me that the index is outdated. I used scavetool to correct that, finished w/out error. but v <- loadVectors(x, NULL) still gives me the same error.

Help o.0

MarquisDeGris avatar Jun 21 '13 08:06 MarquisDeGris

Anyone has a solution for the "vectors$vectorid is not an integer vector" issue?

rdoume avatar May 11 '14 13:05 rdoume

as in tutorial, I do the sequence x <- loadDataset("*.vec") v <- loadVectors(x,NULL)

% if this step has index outdated, tutorial said we should use scavetool % after that, the issue "vectors$vectorid is not an integer vector" disappear ^_^ % the error index outdated comes from lacking of *.vci corresponding file. If you copy only *.vec to other % directory to process, then it happens. To fix it, exit R first, then do scavetool as tutorial

q() scavetool index *.vec % then it produces *.vci index files for you

tohoanglinh avatar May 31 '14 08:05 tohoanglinh

Hello,

Even when i used the scavetool or add the *.vci file, I am getting the issue "vectors$vectorid is not an integer vector"

Someone have found a solution to this issue ? Thanks

Arslan90 avatar Jan 25 '16 12:01 Arslan90