I want to execute code including Japanese using the source function in R language. So I prepared the following UTF-8 encoded code without BOM and saved it in test.R.