Working in RStudio for the 1st time and can not seem to put in the right code so i can download a package that is already installed. so i can import an csv file.(from a lesson i am working on right now) very frustrating. I am still learning, so any advice would help me thanks
There are multiple ways to do this, but the simplest is in base R and doesn't require any package.
data <- read.csv("my_file.csv")
If a package is already installed, you don't need to download it.
install.packages("blah")generally downloads a package from the internet and installs it on your machinelibrary(blah)takes a package that is already installed and loads it into your session. This is what I think you're looking for
thank you for the information. ![]()
Thank you for the information .. you guys are awesome. finally got it working correctly. ![]()
1 Like
This topic was automatically closed 7 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.