R :: Error in fBody[[i]]

Published by onesixx on

 

 

Error in fBody[[i]] : no such index at level 6

Error in fBody[[i]] : subscript out of bounds

breakpoint를 잘못 걸었을때 나는 에러 메세지.

코드 문제가 아니니 걱정할 필요없다. 

가끔 breakpoint를 걸어놓은 상태에서, code를 수정때문에 breakpoint라인이 변경되었을때 나는 경우가 많다. 
즉 지금 debugging하는 버전과 editor의 내용이 서로 맞지않아 breakpoint가 이상한 곳에 걸려있을 경우 발생한다. 

이럴때 깔끔하게 “Clear All Breakpoints…”하고 다시 잡으면, 메세지가 더이상 나오지 않는다. 

그래도 해결이 안나면, 소스코드 모두 저장하고, Clear Workspace 한후 Restart R

 

Categories: R Basic

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x