Re: [R] help using code

2013-06-11 Thread John McDermott
;importdata("~/path to/filename.xyzuvwrgb") > >leaving the function definition alone. > >Hope this helps, > >Rui Barradas > >Em 11-06-2013 19:52, John McDermott escreveu: >> Hi R-helpers, >> >> I inherited some code that I'm trying to

[R] help using code

2013-06-11 Thread John McDermott
Hi R-helpers, I inherited some code that I'm trying to use. As a very new R user I'm having some confusion. I have some input files in the form: filename.xyzuvwrgb which I'm trying to import using: importdata = function(filename) { p = scan(filename,what=list(x = double(), y = double(), z =