Awk script in R

前端 未结 3 1882
后悔当初
后悔当初 2020-12-11 12:00

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

3条回答
  •  有刺的猬
    2020-12-11 12:37

    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
    

提交回复
热议问题