Displaying 2 results from an estimated 2 matches for "astig".
Did you mean:
stig
2007 Apr 17
2
GREP - Choosing values between two borders
...g in the help.
Thank's a lot.
Felix
######### R-CODE ###################
file <- "file-content"
Measure <- grep("[START-END]",file)
#Measure <- grep("[START|END]",file)
######## FILE-CONTENT ##############
EXAM NUM:2
-----------------
EXAM #1
ASTIG:-2.4D
AXIS:4.8
START OF HEIGHT DATA
0 0.0 0.00000000
0 0.1 0.00055643
9 4.9 1.67278117
9 5.0 1.74873257
10 0.0 0.00000000
10 0.1 0.00075557
99 5.3 1.94719490
END OF HEIGHT DATA
X POS:-0.299mm
Y POS:0.442mm
Z POS:-0.290mm
-----------------
EXAM #2
ASTIG:-2.4D
AXIS:4.8
START OF HEIGHT DATA
0 0.0...
2007 Apr 16
1
Dataimport with readLines using skip= and nlines= ?
...c("S", "y", "x" )
return(m)
}
My Datafile:
########
EXAM NUM:2
-----------------
EXAM #1
ASTIG:-2.4D
AXIS:4.8
START OF HEIGHT DATA
S= 0 y=0.0 x=0.00000000
S= 0 y=0.1 x=0.00055643
S= 9 y=4.9 x=1.67278117
S= 9 y=5.0 x=1.74873257
S=10 y=0.0 x=0.00000000
S=10 y=0.1 x=0.00075557
S=99 y=5.3 x=1.94719490
END OF HEIGHT DATA
X POS:-0.299mm
Y POS:0.442mm
Z POS:-0.290mm
-----------------
EXAM #2
ASTIG:...