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