0

I am trying to run R script using RGui using Rscript command. It throws me error saying Error: object 'Rscript' not found. I am able to run this script from command prompt successfully. What I need to set in RGui to make it run?? Screen shot for the same

bdemarest
  • 14,397
  • 3
  • 53
  • 56
RockySingh
  • 11
  • 1
  • 4

1 Answers1

1

You just have to enter the full path using script and double backslash to escape various characters such as "\U" in "C:\Users" for example.

source("C:\\.R")

Like this.

Manolee
  • 21
  • 1
  • 4