Python Private Class Function In R Programming