Last active
August 5, 2021 10:58
-
-
Save davipatti/42c932dbc2a374321a7d64dee8e63264 to your computer and use it in GitHub Desktop.
[Extracting CSV files from a Prism GraphPad .pzfx] #r #rscript #prism #graphpad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(pzfx) | |
path = 'data.pzfx' | |
for (table in pzfx_tables(path)) | |
{ | |
filename = paste(sub(" ", "-", table), "csv", sep = ".") | |
df = read_pzfx(path, table=table) | |
write.csv(df, filename) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment