You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Windows 10 Home 64
Processing 4.3
R Mode (R for Processing v1.0.9)
When declaring two objects in the R environment of Processing, each on its own line,
the PDE appears to forget the first object and just generates an error as follows: "object 'val_1' not found".
Code:
val_1 <- 125
val_2 <- as.character(val_1)
print(val_1)
print(val_2)
The same code, however, works as a script in the R Interpreter using RScript as show below:
If the code is modified by changing line two as shown in the image, the program runs successfully as shown below:
Don't know if it is a bug or object scoping issue but I thought I'd pass it along.
Thank you,
MB
The text was updated successfully, but these errors were encountered:
It works in the Native RLang (i.e., RGui.exe, R.exe, as an RScript, and RStudio).
The error occurs in Processing.R so I think it is a Processing PDE issue but that's just my opinion.
Hello,
I use Windows 10 Home 64
Processing 4.3
R Mode (R for Processing v1.0.9)
When declaring two objects in the R environment of Processing, each on its own line,
the PDE appears to forget the first object and just generates an error as follows:
"object 'val_1' not found".
Code:
val_1 <- 125
val_2 <- as.character(val_1)
print(val_1)
print(val_2)
The same code, however, works as a script in the R Interpreter using RScript as show below:
If the code is modified by changing line two as shown in the image, the program runs successfully as shown below:
Don't know if it is a bug or object scoping issue but I thought I'd pass it along.
Thank you,
MB
The text was updated successfully, but these errors were encountered: