I have a big list of the format Variable = Value. 99% of the list is in this format. However, very few entries need to have a = within the value part. So they look like Variable = Value = something
So my read.table function throws an error:
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
line 2 did not have 2 elements
Is there a way to avoid this without having to change the original file? This is my read table command:
VarNamesDescription<-read.table(paste(FilePathVariableDescription), sep="=", skip=0, header=FALSE,stringsAsFactors=FALSE)
EDIT: Cell with one =
AABB NA=HOLDING NV
Cell with two =
AA=ETX Sml = PrM013)