All Collections
Labguru R
Installation of Labguru's R Library
Installation of Labguru's R Library

Analyse your data and create visualization using our R library.

Meirav Matto avatar
Written by Meirav Matto
Updated over a week ago

LabguruR allows researchers, data scientists, bioinformaticians, to directly communicate with Labguru.

Currently, the package allows to pull and push data from your account, create and upload visualizations. 

How To Install Labguru R package:

All instructions can be follow in our Github page.

1. Open R studio 

2. Install devtools package

if (!require(devtools)) install.packages("devtools")

devtools::install_github("BioData/LabguruR")

3. httr and jsonlite packages are required. Run the following codes just to make sure they were really installed.

if (!require(httr)) install.packages("httr")
if (!require(jsonlite)) install.packages("jsonlite")

4. Finally, Load Labguru R

library(LabguruR)

 
Troubleshooting errors you might find during the installation process

1. There is no package called 'ic50':

* installing *source* package ‘LabguruR’ ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘ic50’
ERROR: lazy loading failed for package ‘LabguruR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/LabguruR’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/kq/_jktq0qs0y56zksl8btmdlhh0000gn/T//RtmpP09OuA/file8e12fbc171c/LabguruR_0.0.0.9000.tar.gz’ had non-zero exit status

Run the following code:

install.packages("ic50")

and again

devtools::install_github("BioData/LabguruR")


2. There is no package called 'magick':

* installing *source* package ‘LabguruR’ ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘magick’
ERROR: lazy loading failed for package ‘LabguruR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/LabguruR’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/kq/_jktq0qs0y56zksl8btmdlhh0000gn/T//RtmpP09OuA/file8e12fbc171c/LabguruR_0.0.0.9000.tar.gz’ had non-zero exit status

Run the following code:

install.packages("magick")

and again

devtools::install_github("BioData/LabguruR")

Your installation will be successful. 

NOTE: Every time you connect to R, make sure to install the package LabguruR.  
If the package was updated, you will be ask to select the updates you want to install.

Did this answer your question?