Package that does not appear in RStudio


#1

Hello !!

Excuse me for my English, I’m French :kissing_smiling_eyes:
I can not install the package called SplitR https://github.com/rich-iannone/SplitR in RStudio. I followed the installation procedure but I can not do it.

For information, I use the latest version of RStudio (1.1.383) with R (version 3.4.3)

However I can see the package in the list of packages in “C:\Program Files\R\R-3.4.3\library” but I do not see it in the packages pane in RStudio.

In the RStudio options, the box “Use devtools package functions if available” is checked.

Thanks for your help.

Seb


#2

What happens when you write library(SplitR) in the console? Did you install devtools package? It can be installed directly using install.packages("devtools"). After that you can follow the instruction from the github link you’ve provided.
You are not supposed to see this package in the pane, by the way.


#3

Yes I installed the devtools package using the command install.packages("devtools") and after I used the command devtools::install_github("rich-iannone/SplitR") in R but after several minutes the following message is displayed “Installation failed: Timeout was reached: Connection timed out after 10016 milliseconds”.

Regards,


#4

That’s quite common with firewalls in my experience.

Download the zip file from github, then install locally:

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


#5

Thank you so much martin.R !!

The problem came from my company’s proxy. Through the wifi the command devtools::install_github("rich-iannone/SplitR") worked.

To answer to mishabalyasin the package is now visible in the pane in RStudio.

Regards,

Seb