installing dplyr

Installing package into ‘C:/Users/pursh/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL ''
Content type 'application/zip' length 1303648 bytes (1.2 MB)
downloaded 1.2 MB

package ‘dplyr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in

it does not show me done(dplyr)

so is that ok?

It appears so, do you have any problem loading the package with library(dplyr)?

Yes I do have. It just does not say done installed

could it be because I have not initially downloaded something properly.

It is not mandatory that you get that message, it usually appears when you install from source instead of from a precompiled binary.

What is the actual problem you have? What error message do you get? Ideally try to provide a proper reproducible example illustrating your issue.

ok....I am following a course and putting in the codes as I am following the instructor. unfortunately I am unable to go ahead as there are some errors and I am not sure how to correct them.

filtered_tg <- filter(ToothGrowth, dose==0.5)

Error is as follows:
filtered_tg <-filter(ToothGrowth,dose==0.5)
Error in filter(ToothGrowth, dose == 0.5) : object 'dose' not found

Error in view(filtered_tg) : could not find function "view"

Ok, nothing of this is related to the installation of the package.

You are getting this error message because you haven't loaded dplyr in your current R session. Keep in mind that packages only need to be installed once (with install.packages()) but they need to be loaded on each R session you want to use them (with library()).

You are getting this error message because R is case sensitive and the command is View() (with a capital "V").

So the code should be


filtered_tg <- filter(ToothGrowth, dose == 0.5)


Thank you so much for all your help. Its been brilliant and its all ok now. All the codes are working.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.