Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6250263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:23:26+00:00 2026-05-24T13:23:26+00:00

This is meant to be a FAQ question, so please be as complete as

  • 0

This is meant to be a FAQ question, so please be as complete as possible. The answer is a community answer, so feel free to edit if you think something is missing.

This question was discussed and approved on meta.

I am using R and tried some.function but I got following error message:

Error: could not find function "some.function"

This question comes up very regularly. When you get this type of error in R, how can you solve it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:23:27+00:00Added an answer on May 24, 2026 at 1:23 pm

    There are a few things you should check :

    1. Did you write the name of your function correctly? Names are case sensitive.
    2. Did you install the package that contains the function? install.packages("thePackage") (this only needs to be done once)
    3. Did you attach that package to the workspace ?
      require(thePackage) (and check its return value) or library(thePackage) (this should be done every time you start a new R session)
    4. Are you using an older R version where this function didn’t exist yet?
    5. Are you using a different version of the specific package? This could be in either direction: functions are added and removed over time, and it’s possible the code you’re referencing is expecting a newer or older version of the package than what you have installed.

    If you’re not sure in which package that function is situated, you can do a few things.

    1. If you’re sure you installed and attached/loaded the right package, type help.search("some.function") or ??some.function to get an information box that can tell you in which package it is contained.
    2. find and getAnywhere can also be used to locate functions.
    3. If you have no clue about the package, you can use findFn in the sos package as explained in this answer.
    4. RSiteSearch("some.function") or searching with rdocumentation or rseek are alternative ways to find the function.

    Sometimes you need to use an older version of R, but run code created for a newer version. Newly added functions (eg hasName in R 3.4.0) won’t be found then. If you use an older R version and want to use a newer function, you can use the package backports to make such functions available. You also find a list of functions that need to be backported on the git repo of backports. Keep in mind that R versions older than R3.0.0 are incompatible with packages built for R3.0.0 and later versions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[i meant to ask this question on StackOverflow...] I have been using VisualSVN Server
This question isn't meant as flame-bait! As it might be apparent, I've been looking
I know this might seem a controversial question but it really is not meant
Yes, I've seen this question and this FAQ , but I still don't understand
I have some HTML that looks like this: <ul class=faq> <li class=open> <a class=question
How is this meant to work? Where are all the oauth_* values meant to
This isn't meant as a troll or flamebait or anything like that. I've been
This program is meant to generate a dynamic array, however it gives an access
I'm sure it is meant to be like this (e.g. not a bug or
I found this typo recently: if (name.find('/' != string::npos)) Obviously the dev meant to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.