I need to run an awk script to detect local maxima(peaks) in a spectrum. This spectrum is in the form of two columns in a text file.
This is part of a larger project
Update for Windows 10 users now able to use AWK natively:
To Windows 10 users with WSL (windows subsystem for linux) installed, you can run AWK in windows from an R console with:
> system( 'wsl awk \'BEGIN { print "Hello, world" }\' ') Hello, world