search for: parseddata

Displaying 3 results from an estimated 3 matches for "parseddata".

Did you mean: parsedata
2018 Jul 30
2
Problem with parseData
...an assignment is done with = instead of <-, the information provided by parseData does not include an entry for the assignment. For this input, stored in file "BadPosition.R": y <- 5 foo = 7 And running this code: parsed <- parse("BadPosition.R", keep.source=TRUE) parsedData <- utils::getParseData (parsed, includeText=TRUE) print(paste("parseData =", parsedData)) I get the following output: [1] "parseData = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2)" [2] "parseData = c(1, 1, 1, 3, 6, 6, 1, 1, 5, 7, 7)" [3] "parseData = c(1, 1, 1, 1, 1, 1...
2018 Oct 02
1
Problem with parseData
...does not include an entry for the assignment. >> >> For this input, stored in file "BadPosition.R": >> >> y <- 5 >> foo = 7 >> >> And running this code: >> >> parsed <- parse("BadPosition.R", keep.source=TRUE) >> parsedData <- utils::getParseData (parsed, includeText=TRUE) >> print(paste("parseData =", parsedData)) >> >> I get the following output: >> >> [1] "parseData = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2)" >> [2] "parseData = c(1, 1, 1, 3, 6, 6, 1, 1, 5,...
2018 Aug 16
0
Problem with parseData
...e information provided by > parseData does not include an entry for the assignment. > > For this input, stored in file "BadPosition.R": > > y <- 5 > foo = 7 > > And running this code: > > parsed <- parse("BadPosition.R", keep.source=TRUE) > parsedData <- utils::getParseData (parsed, includeText=TRUE) > print(paste("parseData =", parsedData)) > > I get the following output: > > [1] "parseData = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2)" > [2] "parseData = c(1, 1, 1, 3, 6, 6, 1, 1, 5, 7, 7)" > [3] &qu...