Page 1 of 1

Import text into string or table objec

Posted: Wed Oct 19, 2011 10:43 am
by hfwill
Can anyone tell me if it is possible (and if so, how) to import an external text file into (preferably) a string object or a table object via line command? I know it's possible interactively, but I want to perform the task within a program.

Re: Import text into string or table objec

Posted: Wed Oct 19, 2011 10:59 am
by EViews Gareth
You can bring the text file into a text object using the text.append proc. Then you can convert the text object into an SVector. If you really want a string object, you can convert the first element of the SVector into a string.