Skip to content
Prev 346020 / 398502 Next

How can I run a TSP program inside R

I have the following TSP code:

options memory = 6;
options crt;
in 'mydat.tlb' ;
?
? Create 2 new variables
?
age20 = age -20;
lwage = log(wage);
?
?
olsq lwage c f edy tenure age20 pu;

How can I run it inside R?
Where can I get more explanation on how to code for TSP