diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java
index 7e61a7cf34875dbfbe11c32cc58c56881beaf796..381690d7202e9c2238c7482b2f34194e52f1b87c 100644
--- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java
+++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java
@@ -284,9 +284,11 @@ final class CachedExtractVectorNode extends CachedVectorNode {
                         result = RNull.instance;
                     } else {
                         if (boxOldDimNames == null) {
+                            CompilerDirectives.transferToInterpreterAndInvalidate();
                             boxOldDimNames = insert(BoxPrimitiveNode.create());
                         }
                         if (boxNewDimName == null) {
+                            CompilerDirectives.transferToInterpreterAndInvalidate();
                             boxNewDimName = insert(BoxPrimitiveNode.create());
                         }
                         RAbstractStringVector originalDimName = (RAbstractStringVector) boxOldDimNames.execute(dataAt);