search for: thisnot

Displaying 1 result from an estimated 1 matches for "thisnot".

Did you mean: thisnow
2003 Oct 13
1
extracting quoted text from character string
..., I am trying to solve a problem, and my solution is rather ugly and not very general. The posts for "[R] help with gsub and grep functions" seemed relevent and gave me hope for a more refined and more general solution. The Problem: line <- "'this text has spaces' 'thisNot' 3 4 5 6 7 8 9 10" bad.line <- "'this text has spaces' thisNot 3 4 5 6 7 8 9 10" The desired result of a process on 'line' or "bad.line": > parts <- some.function(line) > parts [1] "this text has spaces" [2] "thisNot"...