The Wayback Machine - https://web.archive.org/web/20200927022349/https://github.com/dcomtois/pathToClip
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Path To Clipboard (RStudio Addin)

This pathToClip addin allows you to store the active document's path to the clipboard.

While many editors have this feature built-in, RStudio doesn't (at least not yet).

On OS X and Linux, it uses the clipr package, which in turn relies on either "xclip" or "xsel", small utilities that can be installed in just a few seconds. See here, for Linux distro-specific instructions.

On Windows, no additional software is required.

Installation

It can be installed via 'addinslist', or using 'devtools' or 'remotes':

remotes::install_github("dcomtois/pathToClip")

Shortcut suggestion

As with any other addin, you can assign a keyboard shortcut to it.

I like to use < Ctrl + Alt + C >, since it's easy to remember and it's not pre-assigned (see animated demo if needed).

Simplified version

If you don't like having 3 entries in your Addins menu and need only the platform-specific path separator, install version 0.1.0:

remotes::install_github("dcomtois/pathToClip", ref="0-1-0")

Demo

Gif Demo

About

RStudio Addin -- Copy File Path to Clipboard

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.