Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to type the Hash Key?

Tags:

comments

macos

r

In R, you make comments by using #.

I'm using Windows 8 on a MacBook Pro, so the keyboard doesn't have a designated # key, and the shortcut for an Apple keyboard for the # key (which is Alt+3) doesn't work.

like image 549
Reanimation Avatar asked Jan 21 '26 03:01

Reanimation


1 Answers

On an Apple Keyboard, whilst using a third-party OS such as Windows, you type the # symbol by pressing the 2nd Alt key + 3.

The first (left hand side) Alt key doesn't have a shortcut function.

This applies to all programs (Visual Studio, R, Word etc).

like image 53
Reanimation Avatar answered Jan 23 '26 20:01

Reanimation