/ Troubleshooting

SOLVED: Building Blotter on Mac OSX

It can be quite frustrating while installing packages on R don't work!

I faced an issue while building blotter for Mac. Was getting an error on the following lines:

Warning messages: Setting LC_CTYPE failed, using “C”

Solved as follows:

  • Open bash and run:
defaults write org.R-project.R force.LANG en_US.UTF-8
  • Restart R

  • Install Package

devtools::install_github("braverock/blotter") # dependency

Works like magic! :-)