c++ - Run in R system ('g++ ...') got error 217 -
i trying compile .cpp
file created else in r on windows computer running following code:
system("g++ c:\\users\\uos\\documents\\r\\win-library\\3.2\\timeshift\\data\\dtw.cpp -o c:\\users\\uos\\documents\\r\\win-library\\3.2\\timeshift\\data\\dtw")
and
error code 217
i have tried following solutions:
use
system2
instead ofsystem
use
setwd(c:\\users\\uos\\documents\\r\\win-library\\3.2\\timeshift\\data) system2('g++ dtw.cpp -o dtw')
and both give me
error 217
i have checked path dtw , correct installing rcpp
package. had on dtw.cpp
file , seems ok. not know else do.
Comments
Post a Comment