Questions tagged [no-match]
30 questions
11
votes
3 answers
Have nomatch return value as-is using match function in R
I have a much larger existing dataframe. For this smaller example I would like to replace some of the variables (replace state (df1)) with newstate (df2) according to column "first." My issue is that values are returned as NA since only some of the…

panstotts
- 623
- 1
- 5
- 13
6
votes
5 answers
C++ Error: No Match for Call
I'm trying to compile the following code in C++
string initialDecision ()
{
char decisionReviewUpdate;
cout << "Welcome. Type R to review, then press enter." << endl;
cin >> decisionReviewUpdate;
// Processing code
}
int main()
{
string…

waiwai933
- 14,133
- 21
- 62
- 86
4
votes
2 answers
Using grep with a pattern file: print single and duplicate entries
Let me start off by saying I don't want to print only the duplicate lines nor do I want to remove them.
I am trying to use grep with a pattern file to parse a large data file.
The Pattern file for example may look like…

PlutonicFriend
- 79
- 1
- 9
4
votes
1 answer
react-router basename not working properly
I create a small react app withs this router:
and this are the routes:
…

francesco.venica
- 1,703
- 2
- 19
- 54
4
votes
1 answer
No matching function for call to copy constructor
I have a class Graph whose copy constructor is declared in Graph.h like this:
template
Graph

norman
- 5,128
- 13
- 44
- 75
3
votes
2 answers
Properties of pmatch function
I don't understand the behavior of the built-in function pmatch (partial string matching).
The description provides the following example:
pmatch("m", c("mean", "median", "mode")) # returns NA instead of 1,2,3
but using:
pmatch("m", "mean") #…

Krisselack
- 503
- 3
- 16
3
votes
2 answers
React Router v4 global no match to nested route childs
How can I redirect the user to a NoMatch component when I have nested routes in React Router V4?
Here is my code:
import React from 'react';
import ReactDOM from 'react-dom';
import injectTapEventPlugin from…

yurikilian
- 33
- 6
3
votes
1 answer
I keep getting the error "no match for call '(std::vector) (int)"
Before reading this problem please note that this is a PRACTICE problem for hp codewars (a programming competition), I am not asking the forum about a real problem. My program is supposed to take the following input:
A number that represent the…
user4544749
3
votes
2 answers
C++ - No match for 'operator=' when compiling using GCC
I recently tried building my own shared and weak pointers. Code that compiles using Visual Studio doesn't compile in GCC (4.5.0) with the following error:
main.cpp: In function 'int main()':
main.cpp:18:27: error: no match for 'operator=' in 'wp1 =…

Yippie-Ki-Yay
- 22,026
- 26
- 90
- 148
1
vote
2 answers
error: no match for 'operator>>' in 'std::cin >> stopat'
I'm trying to get back into C++, and this is my second program in a long while. Everything compiles just peachy, until it gets to cin >> stopat; where it returns what seems to be a fairly common error: error: no match for 'operator>>' in 'std::cin…

user1185827
- 33
- 2
- 5
1
vote
1 answer
How do I fix my capturing groups to capture parts of a string of numbers?
As a new programmer, I am working on a problem that tells me to turn an array of 10 ints into a formatted string phone number that looks like this: (999) 999-9999. I am getting an error/issue with Matcher.
I tried to turn the array of ints into a…

Liam Barry
- 11
- 1
1
vote
2 answers
404 route issues with React Router and Suspense
I'm trying to use lazy loading, with Suspense, from React 16.12.0. I'm also using React Router 5.1.2.
It's the first time I'm using Suspense and I haven't managed to find a proper way to load a 404/NoMatch without causing other issues.
My code looks…

cornelc
- 21
- 3
1
vote
1 answer
MicroPython Regex not matching although it does online
I have a strange Problem. When I parse my Regex online it works fine, but in MicroPython doesn't match it.
regex:
()*
(.*?)<\/div>()*or
1
vote
2 answers
openCV no matching function fillPoly
I am trying to implement this answer, but I am getting always error. Please help.
My code:
cv::Point corners[1][6];
for (unsigned long j = startIndex; j < startIndex+6; j++) {
int x = shape.part(j).x();
int y = shape.part(j).y();
…

bendaf
- 2,981
- 5
- 27
- 62
1
vote
1 answer
no matching function for call when migrating project from qt4 to qt5
I am migrating a project from Qt4 to Qt5, in fact I have finished migrating it but now I have to migrate the libraries, and I have encountered a problem that I cant figure out:
..\qenc\ShapeLandPOI.cpp: In member function 'virtual void…

Victor
- 907
- 2
- 17
- 42