How to Run R script remotely on another machine/computer?

This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
ramverma
Posts: 435
Joined: Sat Aug 23, 2014 5:34 pm
Contact:

How to Run R script remotely on another machine/computer?

Postby ramverma » Mon Aug 25, 2014 9:12 pm

I have below R Script.

Code: Select all

# Test
#!/usr/bin/Rscript
sink("ProductUnit_1.txt")
mn <- mean(1:10)


I want to run this script remotely on other host/computer? Is there any way to run this script remotely?


Guest

Re: How to Run r script remotely on other machine/computer?

Postby Guest » Wed Sep 17, 2014 8:09 pm

First you need to access the machine where your R script residing.

Then run the script.

ssh userRam@98.150.00.9
userRam:-$ ./script_R.r


Return to “Hadoop and Big Data”

Who is online

Users browsing this forum: No registered users and 2 guests