Reputation: 24721
I have following simple program with current state of rstudio as shown in below screenshot:
When I called fun1()
on console, it results in following screen:
I was expecting it to highlight line 1 a<-5
with yellow color showing green arrow on left as line 143
in this digram:
When I click Next (F10)
in Console window, it looks like this:
So it seems that, it has step throught line 2 a<-5
and created a variable a
as its shown in Environment window, but still it does not highlight the current line to be executed with yellow color nor it shows the green arrow pointing the line. Whats wrong here?
I am running portable version of RStudio 0.99.903 on Windows 7 64bit and RStudio is configured to use 32 bit R 3.3.0. I am new to RStudio. Primarily used eclipse.
Upvotes: 4
Views: 2427
Reputation: 8812
This is a known issue. Starting at R 3.3.0, an internal R change broke RStudio's debugger for 32-bit R. There are two ways to get around the problem:
Use the preview version of RStudio, which includes a fix for this problem. https://www.rstudio.com/products/rstudio/download/preview/
Use the 64-bit version of R, which shouldn't have the problem.
If you use the preview, send us some feedback and let us know whether it addressed your issue!
Upvotes: 2