This is my script:
Names Default To Here( 1 );
R Init();
x = R Submit File("C:/Users/adhil/Documents/JMP/Test Program Validation/Jun 2021 Test Program Release Validation/compile.r");
df = R Get(main_df)
R Term();
this is the R Script I intend to run
library(dplyr)
setwd("~/JMP/HPLED Validation/Jun 2021 HPLED Release Validation")
new_tProgram_data <- "./data/A05/data_01.blu"
por_tProgram_data <- "./data/A05/data_02.blu"
new_df <- read.table(new_tProgram_data , sep="\t", skip=2, header=T) %>%
select(c("Row", "Col", "Voltage", "LeakageV", "Power"))
colnames(new_df) <- paste(colnames(new_df), "NEW", sep = "_")
por_df <- read.table(por_tProgram_data , sep="\t", skip=2, header=T) %>%
select(c("Row", "Col", "Voltage", "LeakageV", "Power"))
colnames(por_df) <- paste(colnames(por_df), "POR", sep = "_")
main_df <- merge(new_df, por_df, by.x=c("Row_NEW", "Col_NEW"), by.y=c("Row_POR", "Col_POR"))
However when I run the R script from JSL and try to retrieve the main_df from r via
df = R Get(main_df)
I get the following Error
x = R Submit File("C:/Users/adhil/Documents/JMP/Test Program Validation/Jun 2021 Test Program Release Validation/compile.r");
x shows -1
please advise