search for: parsegbest

Displaying 1 result from an estimated 1 matches for "parsegbest".

Did you mean: parse_test
2010 Jul 14
1
calling a c function from R
...ding some of the tutorials, I understood how to do this if the arguments are integers or floats. I am stuck when i am trying to send the files. I am attaching stub of each file. Help appreciated. Thanks --------------------------------------- My function call would be: source("parse.R") parseGBest('./gbest/inFile.seq', './gbest/outFile.out'); --------------------------------------- I wrote a wrapper function (parse.R) as follows: dyn.load("parse.so"); parseGBest = function(inFile, outFile) { .C( "parse" , inFile , outFile); } How to write receive the f...