Displaying 1 result from an estimated 1 matches for "testrnumb".
Did you mean:
testnum
2009 Jul 29
3
Newbie in R: Reading .txt files and storing the 'numbers' in a vector
...s and writes the
averages in a output.txt file (which I have up and running).
Unfortunately, I seem to fail in reading these as numbers and putting
them into a vector (in the R environment). I can read the file , but
this is what I get:
> z=scan(file = "/Users/NCCRGENETICS/Desktop/testRnumbers.txt", what
= "double")
Read 19 items
> z
[1] "{\\rtf1\\ansi\\ansicpg1252\\cocoartf949\\cocoasubrtf430"
[2] "{\\fonttbl\\f0\\fswiss\\fcharset0"
[3] "Helvetica;}"
[4] "{\\colortbl;\\red255\\green255\\blue255;}"
[5] "\\pape...