I have many r files that I'd like to be able to keep and search in Evernote, so importing them as notes would be great.
Importing them as attachments doesn't let me search them.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
To bulk import .r or .R files into Evernote:
Move/copy all your R script files to a new folder (eg Import).
Open command line and set the directory as the new folder, and change the file extension from .R to .txt:
CD C:\Import ren *.r *.txt
Open Evernote. Navigate to Tools>Import folders and add the new folder (Import)
Occasionally, some files may have special characters that Evernote doesn't like. In these cases, take note of the problem text and search for it with windows search. You should be able to locate the problem files and replace the characters.