0

I have stored my output in a bin file called vectors.bin. Now I need to convert it to a text file as I am not able to open it. I have used the following code:

./convertvec bin2txt vectors.bin output.txt

But it is giving me the error:

bash: ./convertvec: No such file or directory

UPDATE

I have gotten further after working with the suggestions in the comments and can run:

R CMD BATCH --slave vectors.bin output.txt

which creates an output.txt file. But, in the output.txt, it is giving message as:

Error: unexpected numeric constant in "987 200"
Execution halted

hrbrmstr
  • 77,368
  • 11
  • 139
  • 205
Athira
  • 145
  • 1
  • 1
  • 9
  • it seems like you have not installed convertvec properly. https://github.com/marekrei/convertvec – scoa Sep 14 '15 at 08:27
  • I have tried using this code. But I am getting the error: makefile:1: *** missing separator. Stop. – Athira Sep 14 '15 at 08:29
  • Have you modified anything in the makefile? if you just do this: `git clone https://github.com/marekrei/convertvec.git ; cd convertvec ; make`, it should work. If it doesn't, see here : http://stackoverflow.com/questions/18936337/makefile1-missing-separator-stop – scoa Sep 14 '15 at 08:38
  • I have done the same. But I am again getting error: bash: Git: command not found. I am using Centos OS – Athira Sep 14 '15 at 08:52
  • you should install git : `sudo yum install git` – scoa Sep 14 '15 at 08:55
  • Can anybody give any other answer? – Athira Sep 14 '15 at 10:28

0 Answers0