How to install an R package from source

0 votes

I tried installing a package called RJSONIO from source, but I'm not able to do it.

I'm running Mac OSX.

Can someone please help me!

Apr 14, 2018 in Data Analytics by DataKing99
• 8,250 points
912 views

1 answer to this question.

0 votes

If you have your file located locally then you can use install.packages() and then set repos = NULL :

install.packages(path_to_file, repos = NULL, type="source")

path_to_file will represent the full path and file name:

  • On Windows it will look something like this: "C:\\RJSONIO_0.2-3.tar.gz".
  • On UNIX it will look like this: "/home/blah/RJSONIO_0.2-3.tar.gz".
answered Apr 14, 2018 by CodingByHeart77
• 3,750 points

Related Questions In Data Analytics

0 votes
1 answer

How to edit the data source from R?

Use edit function like below and pass ...READ MORE

answered Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,065 views
0 votes
1 answer

How to check installed packages from r source?

Use installed.packages() or find.package() function and pass the ...READ MORE

answered Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
637 views
0 votes
1 answer
0 votes
1 answer

How to remove an element from a list in R?

Hi@akhtar, You can remove a value from a ...READ MORE

answered Oct 30, 2020 in Data Analytics by MD
• 95,460 points
4,406 views
0 votes
1 answer

Unload a package without restarting R

Try the below option: detach("package:vegan", unload=TRUE) NOTE: You can ...READ MORE

answered Apr 17, 2018 in Data Analytics by DataKing99
• 8,250 points
4,040 views
0 votes
1 answer

Is there any way to check for missing packages and install them in R?

There are 2 options: Either you can use ...READ MORE

answered Apr 17, 2018 in Data Analytics by nirvana
• 3,130 points
874 views
0 votes
1 answer

Unable to install the 'devtools' package in R

Run the below command in your Ubuntu/Linux ...READ MORE

answered Jun 6, 2018 in Data Analytics by Bharani
• 4,660 points
1,684 views
0 votes
1 answer

R package dplyr reinstall every instance

In R, there are two steps of ...READ MORE

answered Jun 1, 2022 in Data Science by Sohail
• 3,040 points
612 views
0 votes
2 answers

How to use group by for multiple columns in dplyr, using string vector input in R?

data = data.frame(   zzz11def = sample(LETTERS[1:3], 100, replace=TRUE),   zbc123qws1 ...READ MORE

answered Aug 6, 2019 in Data Analytics by anonymous
14,090 views
+4 votes
3 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

answered Aug 1, 2019 in Data Analytics by Cherukuri
• 33,030 points
78,148 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP