search for: badposit

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

2018 Jul 30
2
Problem with parseData
Hi, I have run into a problem with parseData from the utils package.? When 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,...
2018 Oct 02
1
Problem with parseData
...t; Hi, >> >> I have run into a problem with parseData from the utils package.? When >> 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 =",...
2018 Aug 16
0
Problem with parseData
...Barbara Lerner wrote: > Hi, > > I have run into a problem with parseData from the utils package.? When > 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 fol...