I'm quite new to this - and would appreciate some help getting started...

I am looking to feed data from dataframe A, one line at a time into an input
frame to the program, and then save the output into a different dataframe.

input frame - one column:

ABCDEFTATF
AHFUTJRAUUFS
TITIAJFSUDFJA
TIDUSHANM

program accepts input into frame "s" one line at a time:
ABCDEFTATF

program outputs:
[[1]]
[1] "..()((..))"

[[2]]
[1] -15.3


Ideally, I would like to collect the output as two columns into a separate
frame, e.g. "r":

..()((..))   -15.3
..()((..))   -14.4
..()((..))   -11.6
..()((..))   -17.7


Any help to get going on this would be very welcome...

Thanks.
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Looping-input-and-multiple-outputs-tp2223539p2223539.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to