0

I would like to set my working directory to the location of the file on which I'm working.

In eclipse

Windows > preference > Statet > Run/Debug > R Code Snippets

Opens a dialogue to run code snippets.

enter image description here Doing the following allows me to run a setwd() command using the path to the ressource selected in the project explorer. What command do I need to point to the window / Rfile I'm currently working in ? (the one currently active in the windows)

1 Answer 1

0

Selecting the variable $container_loc$ does the trick, but only if the windows containing the current script has focus.

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.