Get Started →
Function Errors

No applicable method

Matches: no applicable method for '([^']+)'

WHAT THIS ERROR MEANS

You called a generic function on an object type it doesn't know how to handle. The function exists but has no implementation for your object's class.

HOW TO FIX IT

1. Check the object's class with class(your_object).

2. Convert to a supported type.

3. Check if the right package is loaded.

CODE EXAMPLES

BAD — THIS CAUSES THE ERROR
summary(Sys.time)  # passing the function, not calling it
GOOD — CORRECT APPROACH
summary(Sys.time())  # call the function first

Still stuck?

Paste your code in RChat and the AI will fix this error in context.

Try RChat Free →

RELATED FUNCTION ERRORS