error - unable to find ggplot function

Dawn Chin 21 Reputation points
2022-06-14T01:12:44.353+00:00

Hi, could assist to advise me?
R-script in Azure machine.

error message: unable to find ggplot function.

211041-error-message.png

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,333 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 13,071 Reputation points Moderator
    2022-06-14T01:55:55.307+00:00

    @Dawn Chin - Welcome to Microsoft Q&A and thanks for reaching out.

    If you ever see the Error in ggplot(...): could not find function "ggplot", it suggests that this ggplot() function is not available because the package that holds the function (ggplot2) did not load with library(ggplot2).

    Therefore, you cannot utilize the ggplot() function without that ggplot2 package being loaded first.

    Hope this helps. and please feel free to reach out if you have any further questions.

    ------------------------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.