Name Mode Size
..
aggr-class.Rd 100644 5 kb
aggregate.Rd 100644 2 kb
arrange.Rd 100644 3 kb
collect.Rd 100644 2 kb
compile_query.Rd 100644 1 kb
condition_eval_func.Rd 100644 1 kb
cover-param-class.Rd 100644 2 kb
cover.Rd 100644 6 kb
delete_dataset.Rd 100644 1 kb
distal-class.Rd 100644 4 kb
download_dataset.Rd 100644 1 kb
execute.Rd 100644 1 kb
export_gmql.Rd 100644 2 kb
extend.Rd 100644 2 kb
filter.Rd 100644 3 kb
filter_and_extract.Rd 100644 3 kb
group_by.Rd 100644 8 kb
import_gmql.Rd 100644 1 kb
init_gmql.Rd 100644 2 kb
log_job.Rd 100644 1 kb
login_gmql.Rd 100644 1 kb
logout_gmql.Rd 100644 1 kb
map.Rd 100644 4 kb
merge.Rd 100644 5 kb
operator-class.Rd 100644 3 kb
ordering-class.Rd 100644 2 kb
read-function.Rd 100644 2 kb
register_gmql.Rd 100644 1 kb
remote_processing.Rd 100644 1 kb
run_query.Rd 100644 2 kb
sample_metadata.Rd 100644 1 kb
sample_region.Rd 100644 1 kb
save_query.Rd 100644 2 kb
select.Rd 100644 4 kb
semijoin.Rd 100644 2 kb
setdiff.Rd 100644 3 kb
show_dataset.Rd 100644 1 kb
show_jobs_list.Rd 100644 1 kb
show_queries_list.Rd 100644 1 kb
show_samples_list.Rd 100644 1 kb
show_schema.Rd 100644 1 kb
stop_gmql.Rd 100644 0 kb
stop_job.Rd 100644 1 kb
take.Rd 100644 2 kb
union.Rd 100644 2 kb
upload_dataset.Rd 100644 2 kb
README.md
# RGMQL API for calling interactively the GMQL Engine from R-Bioconductor [RGMQL on Bioconductor](https://www.bioconductor.org/packages/release/bioc/html/RGMQL.html) ## Requirements The library requires the following: * R version 3.4.2 or higher * Java version 1.8 or higher * The JAVA_HOME enviroment variable set It is recommended the use ot the latest version of RStudio. ## OSX Settings #### before Catalina Edit the `.bash_profile` and add the `JAVA_HOME` environment variable: `export JAVA_HOME = <java_path>` `export PATH=$PATH` #### after Catalina Since on macOS Catalina the default shell is Zsh we need to edit or create the .zsh file: Edit the `.zsh` and add the `JAVA_HOME` environment variable: `export JAVA_HOME = <java_path>` `export PATH=$PATH` At the end, in both cases, edit the `/etc/paths` and add: `$JAVA_HOME/bin` ## Windows Settings Create environment variable `JAVA_HOME`: * Right click on _This PC_. * click on _Advanced system settings_ * go to _Advanced_ tab an click on _evnironment variables_ * create a `JAVA_HOME` variable the jdk path ### Errors Be aware that during a local-processing execution an error message ```{ Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 7.0 failed 1 times, most recent failure: Lost task 0.0 in stage 7.0 (TID 59, localhost, executor driver): java.io.IOException: (null) entry in command string: null chmod 0644 ``` may arise. This happens because some Hadoop binary files are missing in Windows 64Bits. In this case we need to: * Open [DownGit](https://minhaskamal.github.io/DownGit/#/home) * Paste the url `https://github.com/steveloughran/winutils/tree/master/hadoop-2.8.1` and download the **winutil-hadoop2.8.1** * Create a directory (for example at ```C:\Program Files\hadoop\bin```. Use a path you wish * Copy the files from the repository folder **hadoop-2.8.1** into the folder earlier created. * Create environment variable HADOOP_HOME with value equal to the folder path you copied the binaries. or * Go to [https://github.com/steveloughran/winutils](https://github.com/steveloughran/winutils), download the repository * Create a directory (for example at ```C:\Program Files\hadoop\bin```. Use a path you wish * Copy the files from the repository folder **hadoop-2.8.1** into the folder earlier created. * Create environment variable HADOOP_HOME with value equal to the folder path you copied the binaries.