I have a big file with lots of fields.
awk -F$'\t' '{if (NR < 2) print NF}' ukb677133.tab
8473
I try to create a key file...
library(ukbtools)
my_ukb_data <- ukb_df("ukb677133")
my_ukb_key <- ukb_df_field(my_ukb_data)
write.table(my_ukb_key, file = "./xukb677133_key.txt", sep = "\t")
But I get this error in R...
Error in lapply(value, as.character) :
R character strings are limited to 2^31-1 bytes
Calls: ukb_df_field -> -> regmatches<- -> lapply
Execution halted
I have a big file with lots of fields. awk -F$'\t' '{if (NR < 2) print NF}' ukb677133.tab 8473
I try to create a key file... library(ukbtools) my_ukb_data <- ukb_df("ukb677133") my_ukb_key <- ukb_df_field(my_ukb_data) write.table(my_ukb_key, file = "./xukb677133_key.txt", sep = "\t")
But I get this error in R... Error in lapply(value, as.character) : R character strings are limited to 2^31-1 bytes Calls: ukb_df_field -> -> regmatches<- -> lapply
Execution halted