Home › Engine / Hybrid System › 1AR-FE ENGINE CONTROL › SFI SYSTEM › from 2016.11
RM3160E _51 Engine / Hybrid System _019671 1AR-FE ENGINE CONTROL _0103543 SFI SYSTEM C

1AR-FE ENGINE CONTROL  SFI SYSTEM  P0171  System Too Lean (Bank 1)  P0172  System Too Rich (Bank 1)  


DESCRIPTION

The fuel trim is related to the feedback compensation value, not to the basic injection duration. The fuel trim consists of both the short-term and long-term fuel trims.

The short-term fuel trim is fuel compensation that is used to constantly maintain the air fuel ratio at stoichiometric levels. The signal from the air fuel ratio sensor indicates whether the air fuel ratio is rich or lean compared to the stoichiometric ratio. This triggers a reduction in the fuel injection volume if the air fuel ratio is rich and an increase in the fuel injection volume if lean.

Factors such as individual engine differences, wear over time and changes in operating environment cause short-term fuel trim to vary from the central value. The long-term fuel trim, which controls overall fuel compensation, compensates for long-term deviations in the fuel trim from the central value caused by the short-term fuel trim compensation.

DTC No. Detection Item DTC Detection Condition Trouble Area MIL Memory
P0171 System Too Lean (Bank 1) With a warm engine and stable air fuel ratio feedback, the fuel trim is considerably in error to the lean side (2 trip detection logic).
·

Intake system

·

Fuel injector assembly

·

Mass air flow meter sub-assembly

·

Engine coolant temperature sensor

·

Fuel pressure

·

Gas leak from exhaust system

·

Open or short in air fuel ratio sensor (sensor 1) circuit

·

Air fuel ratio sensor (sensor 1)

·

PCV valve and hose

·

PCV hose connections

·

Wire harness or connector

·

ECM


Comes on DTC stored
P0172 System Too Rich (Bank 1) With a warm engine and stable air fuel ratio feedback, the fuel trim is considerably in error to the rich side (2 trip detection logic).
·

Fuel injector assembly

·

Mass air flow meter sub-assembly

·

Engine coolant temperature sensor

·

Ignition system

·

Fuel pressure

·

Gas leak from exhaust system

·

Open or short in air fuel ratio sensor (sensor 1) circuit

·

Air fuel ratio sensor (sensor 1)

·

Wire harness or connector

·

ECM


Comes on DTC stored

HINT:
·

When DTC P0171 is stored, the actual air fuel ratio is on the lean side. When DTC P0172 is stored, the actual air fuel ratio is on the rich side.

·

If the vehicle runs out of fuel, the air fuel ratio is lean and DTC P0171 may be stored. The MIL is then illuminated.

·

When the total of the short-term and long-term fuel trim values is within the malfunction threshold (and the engine coolant temperature is higher than 75°C [167°F]), the system is functioning normally.



MONITOR DESCRIPTION

Under closed loop fuel control, fuel injection volumes that deviate from those estimated by the ECM cause changes in the long-term fuel trim compensation value. The long-term fuel trim is adjusted when there are persistent deviations in the short-term fuel trim values. Deviations from the fuel injection volumes estimated by the ECM also affect the average fuel trim learned value, which is a combination of the average short-term fuel trim (fuel feedback compensation value) and the average long-term fuel trim (learned value of the air fuel ratio). If the average fuel trim learned value exceeds the malfunction thresholds, the ECM interprets this as a fault in the fuel system and stores a DTC.

Example:

The average fuel trim learned value is 48% or higher, or -35% or less, the ECM interprets this as a fuel system malfunction.

A320659E01
2.302,1.938 2.625,1.938 false 2.292,3.063 2.635,3.063 false 1.875,1.885 1.521,1.792 false 1.854,3.031 1.5,2.938 false 1.5,0.583 2.74,1.021 1.24,0.438 10 false Fuel Compensation Amount 0.073,1.198 0.688,1.469 0.615,0.271 10 false P0171 0.323,1.479 1.49,2.125 1.167,0.646 10 false +48%: Malfunction Threshold of Lean Condition 0.073,2.563 0.688,2.833 0.615,0.271 10 false P0172 1.938,1.833 2.365,2.063 0.427,0.229 10 false 1.48 1.99,2.406 2.417,2.635 0.427,0.229 10 false 1.0 1.938,2.979 2.365,3.208 0.427,0.229 10 false 0.65 0.333,2.833 1.458,3.438 1.125,0.604 10 false -35%: Malfunction Threshold of Rich Condition

MONITOR STRATEGY

Required Sensors/Components (Main) Fuel system
Required Sensors/Components (Related) Air fuel ratio sensor
Mass air flow meter sub-assembly
Crankshaft position sensor
Frequency of Operation Continuous

TYPICAL ENABLING CONDITIONS

Fuel system status Closed loop
Battery voltage 11 V or higher
Either of the following conditions is met 1 or 2
1. Engine speed Less than 800 rpm
2. Engine load 16.25% or higher

TYPICAL MALFUNCTION THRESHOLDS

EVAP purge-cut Executing
Either of the following conditions is met 1 or 2
1. Average between short-term fuel trim and long-term fuel trim 48% or higher (varies with engine coolant temperature)
2. Average between short-term fuel trim and long-term fuel trim -35% or less (varies with engine coolant temperature)

CONFIRMATION DRIVING PATTERN

A288929E21
2.802,2.073 3.25,0.271 3.25,0.271 3.5,0.271 false 0.5,0.083 1.552,0.333 1.052,0.25 10 false Vehicle Speed 1.083,0.365 1.865,0.625 0.781,0.26 10 false 100 km/h 1.146,1.229 1.76,1.427 0.615,0.198 10 false 60 km/h 1.333,1.979 1.948,2.177 0.615,0.198 10 false Idling 0.542,2.26 1.781,2.656 1.24,0.396 10 false Ignition Switch ON 2.031,2.344 2.646,2.542 0.615,0.198 10 false [A] 3.573,0.219 6.531,0.469 2.958,0.25 10 false Engine coolant temperatures is 75°C or higher 3.281,1.896 3.896,2.094 0.615,0.198 10 false [C] 2.521,1.896 3.135,2.094 0.615,0.198 10 false [B] 4.865,0.479 5.479,0.677 0.615,0.198 10 false [D] 2.115,3.083 3.344,3.26 1.229,0.177 10 false Warming up 2.979,3.083 4.208,3.26 1.229,0.177 10 false 2 minutes or more 5.604,3.365 6.573,3.552 0.969,0.188 10 false [E] 4.323,3.094 5.552,3.271 1.229,0.177 10 false 5 minutes or more

1.

Connect the GTS to the DLC3.

2.

Turn the ignition switch to ON and turn the GTS on.

3.

Clear the DTCs (even if no DTCs are stored, perform the clear DTC procedure).

4.

Turn the ignition switch off and wait for at least 30 seconds.

5.

Turn the ignition switch to ON and turn the GTS on [A].

6.

Start the engine and warm it up (until the engine coolant temperature 75°C (167°F) or higher) with all the accessories switched off [B].

7.

With the engine warmed up, idle the engine for 2 minutes or more [C].

8.

Drive the vehicle at a speed between 60 and 100 km/h (37 and 62 mph) for 5 minutes or more [D].

CAUTION:

When performing the confirmation driving pattern, obey all speed limits and traffic laws.


9.

Enter the following menus: Powertrain / Engine and ECT / Trouble Codes [E].

10.

Read the pending DTCs.

HINT:

If a pending DTC is output, the system is malfunctioning.



WIRING DIAGRAM

Refer to DTC P0102 for the mass air flow meter sub-assembly circuit.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>P0102

Refer to DTC P2195 for the air fuel ratio sensor circuit.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>P2195

CAUTION / NOTICE / HINT

NOTICE:

Inspect the fuses for circuits related to this system before performing the following procedure.


HINT:
·

Sensor 1 refers to the sensor closest to the engine assembly.

·

Sensor 2 refers to the sensor farthest away from the engine assembly.

·

A low air fuel ratio sensor voltage could be caused by a rich air fuel mixture. Check for conditions that would cause the engine to run rich.

·

A high air fuel ratio sensor voltage could be caused by a lean air fuel mixture. Check for conditions that would cause the engine to run lean.

·

Read freeze frame data using the GTS. The ECM records vehicle and driving condition information as freeze frame data the moment a DTC is stored. When troubleshooting, freeze frame data can help determine if the vehicle was moving or stationary, if the engine was warmed up or not, if the air fuel ratio was lean or rich, and other data from the time the malfunction occurred.



PROCEDURE

1.CHECK ANY OTHER DTCS OUTPUT (IN ADDITION TO DTC P0171 OR P0172)
a.

Connect the GTS to the DLC3.


b.

Turn the ignition switch to ON.


c.

Turn the GTS on.


d.

Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.


e.

Read the DTCs.

Powertrain > Engine and ECT > Trouble Codes
50001 234
Result:
Result Proceed to
DTC P0171 or P0172 is output A
DTC P0171 or P0172 and other DTCs are output B


HINT:

If any DTCs other than P0171 or P0172 are output, troubleshoot those DTCs first.




A

2.CHECK PCV HOSE CONNECTIONS

B

2.CHECK PCV HOSE CONNECTIONS
a.

Check the PCV hose connections.

Click hereEngine / Hybrid System>1AR-FE EMISSION CONTROL>PCV VALVE>COMPONENTS

OK:

PCV valve and hose are connected correctly and are not damaged.



Result:
Proceed to
OK
NG



OK

3.CHECK INTAKE SYSTEM

NG

REPAIR OR REPLACE PCV HOSE

3.CHECK INTAKE SYSTEM
a.

Check the intake system for vacuum leaks.

Click hereEngine / Hybrid System>1AR-FE INTAKE / EXHAUST>INTAKE SYSTEM>ON-VEHICLE INSPECTION

OK:

No leaks in intake system.


HINT:

Perform "Inspection After Repair" after repairing or replacing the intake system.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION



Result:
Proceed to
OK
NG



OK

4.PERFORM ACTIVE TEST USING GTS (CONTROL THE INJECTION VOLUME FOR A/F SENSOR)

NG

REPAIR OR REPLACE INTAKE SYSTEM

4.PERFORM ACTIVE TEST USING GTS (CONTROL THE INJECTION VOLUME FOR A/F SENSOR)
a.

Connect the GTS to the DLC3.


b.

Start the engine.


c.

Turn the GTS on.


d.

Warm up the engine and run the engine at an engine speed of 2500 rpm for approximately 90 seconds.


e.

Enter the following menus: Powertrain / Engine and ECT / Active Test / Control the Injection Volume for A/F Sensor / All Data / AFS Voltage B1S1 and O2S B1S2.

Powertrain > Engine and ECT > Active Test
Active Test Display
Control the Injection Volume for A/F Sensor
Data List Display
AFS Voltage B1S1
O2S B1S2
50004 234 2 35,44

f.

Perform the Control the Injection Volume for A/F Sensor operation with the engine idling (press the 12.5% or -12.5% button to change the fuel injection volume).


g.

Monitor the voltage outputs of the air fuel ratio sensor and the heated oxygen sensor (AFS Voltage B1S1 and O2S B1S2) displayed on the GTS.

HINT:
·

The Control the Injection Volume for A/F Sensor operation lowers the fuel injection volume by 12.5% or increases the injection volume by 12.5%.

·

The air fuel ratio sensor has an output delay of a few seconds and the heated oxygen sensor has a maximum output delay of approximately 20 seconds.

·

If the sensor output voltage does not change (almost no reaction) while performing the Active Test, the sensor may be malfunctioning.



Standard:
GTS Display (Sensor) Injection Volume Status Voltage
AFS Voltage B1S1
(Air fuel ratio)
12.5% Rich Below 3.1 V
-12.5% Lean Higher than 3.4 V
O2S B1S2
(Heated oxygen)
12.5% Rich Higher than 0.55 V
-12.5% Lean Below 0.4 V


Result:
Status AFS Voltage B1S1 Status O2S B1S2 Air Fuel Ratio Condition and Air Fuel Ratio Sensor Condition Suspected Trouble Area Proceed to
Lean/Rich Lean/Rich Normal - A
Lean Lean Actual air fuel ratio lean
·

PCV valve and hose

·

PCV hose connections

·

Fuel injector assembly blockage

·

Gas leak from exhaust system

·

Intake system

·

Fuel pressure

·

Mass air flow meter sub-assembly

·

Engine coolant temperature sensor


Rich Rich Actual air fuel ratio rich
·

Fuel injector assembly leak or blockage

·

Gas leak from exhaust system

·

Ignition system

·

Fuel pressure

·

Mass air flow meter sub-assembly

·

Engine coolant temperature sensor


Lean Lean/Rich Air fuel ratio sensor malfunction
·

Air fuel ratio sensor


B
Rich Lean/Rich Air fuel ratio sensor malfunction
·

Air fuel ratio sensor




Lean: During Control the Injection Volume for A/F Sensor Active Test, the air fuel ratio sensor output voltage (AFS Voltage B1S1) is consistently higher than 3.4 V, and the heated oxygen sensor output voltage (O2S B1S2) is consistently below 0.4 V.

Rich: During Control the Injection Volume for A/F Sensor Active Test, AFS Voltage B1S1 is consistently below 3.1 V, and O2S B1S2 is consistently higher than 0.55 V.

Lean/Rich: During Control the Injection Volume for A/F Sensor Active Test, the output voltage of the air fuel ratio sensor or heated oxygen sensor alternates correctly.

HINT:

Refer to "Data List / Active Test" [AFS Voltage B1S1 and O2S B1S2].

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>DATA LIST / ACTIVE TEST




A

5.READ VALUE USING GTS (COOLANT TEMP)

B

11.INSPECT AIR FUEL RATIO SENSOR (HEATER RESISTANCE)
5.READ VALUE USING GTS (COOLANT TEMP)
a.

Connect the GTS to the DLC3.


b.

Turn the ignition switch to ON.


c.

Turn the GTS on.


d.

Enter the following menus: Powertrain / Engine and ECT / Data List / All Data / Coolant Temp.

Powertrain > Engine and ECT > Data List
Tester Display
Coolant Temp
50003 234 8

e.

Read the Data List twice, when the engine is both cold and warmed up.

Standard:
GTS Display Condition Specified Condition
Coolant Temp Cold engine Same as ambient air temperature
Warm engine Between 75 and 100°C (167 and 212°F)


HINT:

Perform "Inspection After Repair" after replacing the engine coolant temperature sensor.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION



Result:
Proceed to
OK
NG



OK

6.READ VALUE USING GTS (MAF)

NG

6.READ VALUE USING GTS (MAF)
a.

Connect the GTS to the DLC3.


b.

Start the engine.


c.

Turn the GTS on.


d.

Enter the following menus: Powertrain / Engine and ECT / Data List / All Data / MAF, Coolant Temp and Engine Speed.

Powertrain > Engine and ECT > Data List
Tester Display
Engine Speed
MAF
Coolant Temp
50003 234 9,3,8

e.

Allow the engine to idle until Coolant Temp reaches 75°C (167°F) or higher.


f.

Read MAF with the engine speed at 3000 rpm.

Standard:
GTS Display Condition Specified Condition
MAF Shift lever position: P
A/C: off
Engine Speed: 3000 rpm
Between 8 gm/sec and 22 gm/sec



Result:
Proceed to
OK
NG



OK

7.CHECK FUEL PRESSURE

NG

16.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY CONNECTOR CONNECTION)
7.CHECK FUEL PRESSURE

Result:
Proceed to
OK
NG



OK

8.CHECK FOR EXHAUST GAS LEAK

NG

REPAIR OR REPLACE FUEL SYSTEM

8.CHECK FOR EXHAUST GAS LEAK
a.

Check for exhaust gas leaks.

OK:

No gas leaks.


HINT:

Perform "Inspection After Repair" after repairing or replacing the exhaust system.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION



Result:
Proceed to
OK
NG



OK

9.CHECK FOR SPARK (SPARK TEST)

NG

REPAIR OR REPLACE EXHAUST SYSTEM

9.CHECK FOR SPARK (SPARK TEST)
a.

Perform a spark test.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>IGNITION SYSTEM>ON-VEHICLE INSPECTION

HINT:
·

If the result of the spark test is normal, proceed to the next step.

·

If the spark plugs or ignition system malfunctions, engine misfire may occur. The misfire count can be read using the GTS. Enter the following menus: Powertrain / Engine and ECT / Data List / All Data / Cylinder #1 Misfire Count (to Cylinder #4 Misfire Count).

·

Perform "Inspection After Repair" after repairing or replacing the ignition system.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION




Result:
Proceed to
NEXT



NEXT

10.INSPECT FUEL INJECTOR ASSEMBLY (INJECTION AND VOLUME)
10.INSPECT FUEL INJECTOR ASSEMBLY (INJECTION AND VOLUME)
a.

Check the injection and volume.

HINT:
·

Refer to the fuel injector assembly inspection procedure.

Click hereEngine / Hybrid System>1AR-FE FUEL>FUEL INJECTOR>INSPECTION

·

If the fuel injector assemblies malfunction, engine misfire may occur. The misfire count can be read using the GTS. Enter the following menus: Powertrain / Engine and ECT / Data List / All Data / Cylinder #1 Misfire Count (to Cylinder #4 Misfire Count).

·

Perform "Inspection After Repair" after replacing the fuel injector assembly.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION




Result:
Proceed to
OK
NG



OK

15.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172)

NG

REPLACE FUEL INJECTOR ASSEMBLY

11.INSPECT AIR FUEL RATIO SENSOR (HEATER RESISTANCE)

OK

12.CHECK TERMINAL VOLTAGE (POWER SOURCE OF AIR FUEL RATIO SENSOR)

NG

12.CHECK TERMINAL VOLTAGE (POWER SOURCE OF AIR FUEL RATIO SENSOR)

OK

13.CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - ECM)

NG

21.CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - SEMICONDUCTOR PWR INTEGRATION ECU)
13.CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - ECM)

OK

14.REPLACE AIR FUEL RATIO SENSOR

NG

REPAIR OR REPLACE HARNESS OR CONNECTOR

14.REPLACE AIR FUEL RATIO SENSOR
a.

Replace the air fuel ratio sensor.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>AIR FUEL RATIO SENSOR>REMOVAL

HINT:

Perform "Inspection After Repair" after replacing the air fuel ratio sensor.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION



Result:
Proceed to
NEXT



NEXT

15.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172)
15.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172)
a.

Connect the GTS to the DLC3.


b.

Turn the ignition switch to ON.


c.

Turn the GTS on.


d.

Clear the DTCs.

Powertrain > Engine and ECT > Clear DTCs
50002 234

e.

Turn the ignition switch off and wait for at least 30 seconds.


f.

Turn the ignition switch to ON.


g.

Turn the GTS on.


h.

Start the engine and warm it up.


i.

Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.


j.

Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.


k.

Read the DTCs.

Powertrain > Engine and ECT > Trouble Codes
50001 234

Result:
Result Proceed to
DTC P0171 or P0172 is output A
DTCs are not output B



A

16.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY CONNECTOR CONNECTION)

B

END

16.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY CONNECTOR CONNECTION)
a.

Check the connection and terminal contact pressure of connectors and wire harnesses between the mass air flow meter sub-assembly and ECM.

Click hereGeneral>INTRODUCTION>HOW TO TROUBLESHOOT ECU CONTROLLED SYSTEMS>ELECTRONIC CIRCUIT INSPECTION PROCEDURE

HINT:

Repair any problems.



Result:
Proceed to
NEXT



NEXT

17.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172)
17.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172)
a.

Connect the GTS to the DLC3.


b.

Turn the ignition switch to ON.


c.

Turn the GTS on.


d.

Clear the DTCs.

Powertrain > Engine and ECT > Clear DTCs
50002 234

e.

Turn the ignition switch off and wait for at least 30 seconds.


f.

Turn the ignition switch to ON.


g.

Turn the GTS on.


h.

Start the engine and warm it up.


i.

Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.


j.

Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.


k.

Read the DTCs.

Powertrain > Engine and ECT > Trouble Codes
50001 234

Result:
Result Proceed to
DTC P0171 or P0172 is output A
DTCs are not output B



A

18.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY - ECM)

B

END

18.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY - ECM)

OK

19.REPLACE MASS AIR FLOW METER SUB-ASSEMBLY

NG

REPAIR OR REPLACE HARNESS OR CONNECTOR

19.REPLACE MASS AIR FLOW METER SUB-ASSEMBLY
a.

Replace the mass air flow meter sub-assembly.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>MASS AIR FLOW METER>REMOVAL

HINT:
·

If the result of the inspection performed in step 6 indicated no problem, proceed to the next step without replacing the mass air flow meter sub-assembly.

·

Perform "Inspection After Repair" after replacing the mass air flow meter sub-assembly.

Click hereEngine / Hybrid System>1AR-FE ENGINE CONTROL>SFI SYSTEM>INITIALIZATION




Result:
Proceed to
NEXT



NEXT

20.CONFIRM WHETHER MALFUNCTION HAS BEEN SUCCESSFULLY REPAIRED
20.CONFIRM WHETHER MALFUNCTION HAS BEEN SUCCESSFULLY REPAIRED
a.

Connect the GTS to the DLC3.


b.

Turn the ignition switch to ON.


c.

Turn the GTS on.


d.

Clear the DTCs.

Powertrain > Engine and ECT > Clear DTCs
50002 234

e.

Turn the ignition switch off and wait for at least 30 seconds.


f.

Turn the ignition switch to ON.


g.

Turn the GTS on.


h.

Start the engine and warm it up.


i.

Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.


j.

Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.


k.

Read the DTCs.

Powertrain > Engine and ECT > Trouble Codes
50001 234

Result:
Result Proceed to
DTCs are not output A
DTC P0171 or P0172 is output B



A

END

B

21.CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - SEMICONDUCTOR PWR INTEGRATION ECU)

OK

REPLACE SEMICONDUCTOR PWR INTEGRATION ECU

NG

REPAIR OR REPLACE HARNESS OR CONNECTOR