1

I have list of files with code snippet stored in here:

enter image description here

My question is, is there a way I can modify my RStudio-Server setting so that it can source the code snippets directly from my Vim directory?

1 Answer 1

1

Simply do soft-linking:

# Save original RStudio snippets as another name
mv .R/snippets/r.snippets .R/snippets/r.originalRstudio.snippets

# Link Vim Snippets to RStudio snippets directory
ln -s  ~/.vim/snippets/r.snippets .R/snippets/
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.