Commit 59d255a4 authored by mmassaviol's avatar mmassaviol
Browse files

Add little script to help integrating r code to sag

parent 7c6e72b9
import sys
with open(sys.argv[1],"r") as file:
for c,line in enumerate(file):
print("res <- res + '"+line.rstrip().replace("'","\\'").replace(" ","\\t").replace("\t","\\t")+"\\n'")
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment