Back

US MBA mortgage applications rose 3.2%, easing from the previous 11% increase, latest reported figures

US MBA mortgage applications rose by 3.2% in the week to 6 March. The previous week recorded an 11% increase. The new figure shows a slower rise compared with the prior week. The data refers to the weekly Mortgage Bankers Association applications index.

Mortgage Demand Slows With Higher Rates

We see the slowdown in mortgage applications from 11% to 3.2% as a direct signal of housing market sensitivity to interest rates. This sharp deceleration comes as 30-year fixed mortgage rates have again climbed above 7.0%, a psychological barrier that clearly deters potential homebuyers. This confirms the housing sector is beginning to cool under the pressure of sustained high borrowing costs. This cooling is exactly what the Federal Reserve has wanted to see to help tame inflation, which has remained persistent. However, with the most recent February inflation reports still showing a stubborn 3.4% annual rate, this housing data alone won’t be enough to trigger a policy change. The Fed is caught between this sign of a slowing economy and its primary inflation mandate. For traders, this creates significant uncertainty about the Fed’s next move, which means interest rate volatility is likely to increase. We believe strategies that benefit from this uncertainty, such as buying options on SOFR or Treasury futures, are now more attractive. This allows for profiting from a large rate move in either direction without betting on the specific outcome. This slowdown also presents a direct headwind for homebuilder stocks and related industries. Consequently, purchasing put options on housing ETFs could serve as an effective hedge or a targeted bearish position for the coming weeks. We are also monitoring regional banks, as a sustained drop in loan origination volume will negatively impact their earnings outlook. Looking back, this environment is reminiscent of the market dynamics we observed in 2023. As we saw then, once mortgage rates pushed past that 7% level after the Fed’s aggressive tightening in 2022, a similar stall in housing activity followed. That period led to months of choppy trading in interest rate markets as traders debated the timing of a Fed pivot.

Parallels To The 2023 Rate Shock

Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

WTI trades near $86.30, rising 1.20%, as Middle East tensions prompt G7 and IEA reserve talks

WTI US oil traded near $86.30 on Wednesday, up 1.20%, as markets tracked rising tensions in the Middle East and possible policy steps to support global supply. G7 energy ministers said they support “in principle” the use of strategic oil reserves to address disruptions. No final decision has been made, and the issue is due to be discussed by G7 leaders.

Strategic Reserve Release Debate

The Wall Street Journal reported that the IEA has proposed a coordinated release of about 400 million barrels. The idea was discussed at an emergency meeting on Tuesday involving officials from the IEA’s 32 member countries. Focus remained on the Strait of Hormuz, which normally carries roughly one-fifth of the world’s oil supply. Iranian attacks on tankers and the risk of maritime mines have disrupted shipments through the corridor. US Central Command said US forces eliminated sixteen Iranian mine-laying vessels near the strait. Israel reported a new wave of strikes inside Iran after explosions in Tehran, and also targeted Hezbollah-linked infrastructure in Lebanon. Saudi Arabia, the United Arab Emirates, Kuwait and Iraq have reduced output by more than six million barrels per day. The largest oil refinery in the United Arab Emirates halted operations after a drone strike.

Market Outlook And Trading Risk

As of today, March 11, 2026, we see oil prices pushing past $86, driven by real conflict and supply disruptions in the Middle East. The key tension for traders is the physical risk to supply versus the potential for a massive, coordinated strategic reserve release. This uncertainty creates a challenging but opportunity-rich environment for the coming weeks. This situation is a classic recipe for extreme volatility, and we are already seeing it in the market. The CBOE Crude Oil Volatility Index (OVX) has surged over 60% in the last month, now sitting at levels we haven’t seen since the supply chain shocks of 2022. For traders, this means any directional bet carries enormous risk of a violent reversal. Given this, we believe strategies that profit from large price swings, regardless of direction, are the most prudent. Buying options, such as straddles or strangles, allows traders to capitalize on the inevitable price spikes or drops that news headlines will trigger. This approach limits risk to the premium paid while offering significant upside. The proposed 400-million-barrel reserve release from the IEA is the biggest bearish threat and should not be underestimated. This is especially true as it would come when US Strategic Petroleum Reserve inventories are already near 40-year lows, sitting at just over 360 million barrels at the end of last year. A release of this magnitude would be a significant show of force by consumer nations. However, we should remember the lessons from 2022 when a similar, albeit smaller, coordinated release was announced. While prices did dip in the immediate aftermath, the underlying structural supply issues caused by the Ukraine conflict meant that prices rebounded and pushed even higher within months. A reserve release is a temporary solution to a potentially permanent supply problem. The physical reality is that over six million barrels per day are already offline, and the world’s most critical chokepoint, the Strait of Hormuz, is nearly impassable. These are not paper barrels being shuffled around; this is a real-world supply crisis. An SPR release can fill the gap for a time, but it cannot fix a disabled refinery or a blocked shipping lane. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

UBS’s Paul Donovan says February US CPI still matters; underlying inflation looks benign; Fed should heed broad rises

US February CPI data was collected before recent market volatility, but it is still used for Federal Reserve policy decisions. The data is expected to show benign underlying inflation pressures. Central banks generally respond to broad-based price rises that point to wider economic imbalance. The Federal Reserve has limited capacity to deal with isolated disruptions, such as potential shipping problems in the Gulf.

Inflation Perception And Everyday Prices

US affordability concerns are linked to how people perceive inflation, which is shaped by frequent, everyday purchases. Changes in commonly bought items can influence inflation perceptions more than less frequent costs. A near 27% rise in petrol prices from January lows will not appear in the February CPI figures. However, consumers may still notice higher prices for selected grocery items. The latest inflation data from February 2026 suggests underlying price pressures are easing, which is important for policy. Core CPI has now cooled to a 2.8% annual rate, giving the Federal Reserve room to remain patient. This may lead traders to price in a less aggressive path for interest rates through options on SOFR futures. We believe the Fed will not react to specific supply shocks, like the ongoing tensions in the Strait of Hormuz that are keeping crude oil above $85 a barrel. They lack the tools to solve these issues, meaning they won’t raise rates just because energy prices are high. This creates an environment where commodity-linked derivatives could perform well without triggering an immediate, economy-wide policy tightening.

Volatility And Market Pricing

Despite the benign core data, consumers are feeling the pinch from things they buy often. The national average for gasoline is now near $3.85 a gallon, a sharp rise since January that the official February data does not yet reflect. This disconnect between official data and public perception is likely why the CBOE Volatility Index (VIX) has remained elevated near 19, suggesting options premiums may stay attractive for sellers. We remember how the Fed acted decisively with rate hikes back in 2022 and 2023 when inflation was broad across the entire economy. The current environment seems different, with price spikes feeling more isolated to specific sectors like energy. This implies that strategies profiting from continued volatility in single stocks or sectors, rather than broad market direction, could be more effective in the coming weeks. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

Deutsche Bank sees Brent reversing sharply, sliding 11% amid Iran optimism, Aramco news, US remarks, IEA talks

Deutsche Bank reported a sharp reversal in Brent crude after conflict-related headlines, as concern about Iran-linked supply risks eased. Brent fell 11.28% in one day to $87.80 a barrel, the largest daily drop since March 2022, and was slightly lower again the next morning. The 12-month Brent future dropped 1.93% to $72.05 a barrel. Brent was about 27% below Monday’s intra-day highs, but still around 20% above levels seen before US and Israeli strikes against Iran.

Drivers Of The Reversal

Price swings followed several news events, including US political comments and a statement from Saudi Aramco. Saudi Aramco said it would raise crude flows through its pipeline to the Red Sea to 7mb/day within a few days, allowing it to resume 70% of its usual oil shipments. Late-session reports about possible mining of the Strait of Hormuz briefly lifted prices. Prices then fell again after the Wall Street Journal reported that the IEA proposed the largest oil reserve release in history to address rising prices. Looking back at the sharp reversal in 2025, we are reminded how quickly geopolitical news can drive the oil market. That event, which saw an 11% one-day drop, serves as a crucial lesson for the current environment. With Brent currently trading around $92/bbl amid renewed Mideast shipping concerns, the potential for similar volatility remains high. Given the memory of 2025’s sudden price collapse, traders should consider strategies that profit from volatility itself. Implied volatility on Brent options has already crept up, with the OVX index rising from 30 to 35 in the last two weeks. This suggests using straddles or strangles could be more effective than taking a simple directional bet on prices. The underlying supply and demand fundamentals remain tight, which contrasts with the headline risks. The latest OPEC+ meeting maintained production cuts into the second quarter, and the EIA’s March 2026 outlook slightly lowered its forecast for US shale growth. This suggests that while a sudden diplomatic breakthrough could cause a price drop, the fundamental floor is higher than it was a year ago.

Positioning And Risk Management

We saw in 2025 how announcements from Saudi Aramco or the IEA could reverse a rally in a matter of hours. Therefore, holding long positions without protection is very risky in the coming weeks. Traders should consider using call spreads to cap upside but lower entry costs, or buying puts as a direct hedge against a sudden drop. The futures curve also tells a story, with the 12-month forward price around $81/bbl, indicating sustained tightness but not panic. This backwardation supports holding long positions, but the lessons from 2025 teach us to be prepared for sudden news to overwhelm fundamentals. Watch for any statements regarding strategic petroleum reserve releases, as this was a key driver of the sell-off back then. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

Gold falls beneath $5,200 to a fresh session low as traders await US CPI data

Gold fell below $5,200 on Wednesday and reached a new daily low in early European trading. The drop came as the US dollar firmed after rebounding from a one-week low. The dollar’s move lacked strong momentum as markets judged that Crude Oil prices may not be high enough to block US Federal Reserve rate cuts. This expectation can support non-yielding gold.

Oil Pullback And Gold Sensitivity

Crude Oil pulled back after rising to its highest level since June 2022 earlier this week, following comments from US President Donald Trump about the Middle East war possibly ending soon. The Wall Street Journal also reported that the International Energy Agency has proposed the largest release of oil reserves in its history. Fighting continued, with Iran facing the most intense US-Israeli strikes on Tuesday. The Islamic Revolutionary Guard Corps said it would target opponents’ technological infrastructure in the region. Traders are waiting for US Consumer Price Index data due later today, with the US PCE Price Index due on Friday. Attention remains on risks tied to the Strait of Hormuz and oil supply disruption. Technically, gold moved above the rising 100-hour simple moving average, but buying did not continue. MACD (12, 26, close, 9) is below its signal line, and RSI (14) fell from above 70 to the mid-50s. Resistance is near $5,228, then $5,260. Support is at $5,190, then $5,160, with $5,140 below that.

Safe Haven And Fed Watch

Given the persistent conflict in the Middle East, gold remains a primary safe-haven asset, holding strong above the $5,200 level. The unpredictable situation around the Strait of Hormuz is creating significant volatility in crude oil markets, which directly impacts inflation expectations. This setup suggests that any news from the region will cause sharp, immediate moves in both gold and oil futures. The Federal Reserve is caught in a difficult position, as we have seen throughout early 2026. February’s CPI report showed core inflation holding firm at 3.1%, making the Fed hesitant to signal the rate cuts the market desires. Consequently, upcoming inflation data will be scrutinized for any signs that energy price shocks, with WTI futures holding above $90, are feeding into the broader economy. For derivatives traders, this environment suggests that buying calls on gold during any corrective dip towards the $5,160 support level could be a viable strategy. Given the high implied volatility, which we have seen spike over 25% on any escalation news, using call spreads can help manage the premium cost. This allows for participation in the upside while defining risk in case of a sudden de-escalation. We saw a similar dynamic in late 2025 when tensions first flared, where dips were aggressively bought and volatility spiked. Short-dated options that expire just after the US inflation data release could be a tactical way to play the event itself. A break above the $5,228 resistance level following a soft CPI number would likely trigger a rapid move higher, rewarding those positioned for it. On the other hand, the risk of a sudden peace agreement or a massive strategic petroleum reserve release, as has been proposed, cannot be ignored. Such an event would likely cause a sharp drop in both crude oil and gold prices. Therefore, holding some protective puts or structuring trades like collars could be prudent to hedge against a sudden reversal. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

MUFG’s Derek Halpenny says IEA oil reserve releases may ease Hormuz shocks, as attention shifts to US inflation

MUFG said an IEA-coordinated oil reserve release could temporarily offset supply disruption in the Strait of Hormuz, while market attention turns towards US inflation. The February US CPI release is due today, with price effects from the attack expected to appear more clearly in next month’s data. Consensus forecasts point to headline CPI rising 0.3% month-on-month, up from 0.2%, while core CPI is expected at 0.2%, down 0.1 percentage points. Annual rates are forecast to stay at 2.4% for headline and 2.5% for core.

Energy Shock And Cpi Watch

Energy is expected to transmit the shock fastest, with the AAA national daily average petrol price up 18% in March to date through 9 March. That takes it to the highest level since July 2024. Energy’s weight in headline CPI was 6.38% as of December. A scenario with Nymex crude at USD 100 per barrel in Q1–Q2, then back to USD 70 by year-end, implies energy CPI could peak at 15–20% by mid-year. Under that scenario, headline CPI could rise by about 1.0 percentage point, assuming smaller increases in natural gas prices. US year-on-year energy CPI in Q4 was -20%. We are again focused on how an energy shock could drive inflation, much like the situation we saw around this time in 2025 following the Strait of Hormuz conflict. With Brent crude futures recently breaking above $95 per barrel due to renewed maritime tensions, the market is on edge. The potential for a coordinated reserve release is being discussed, but its impact may be temporary.

Market Positioning And Volatility

All eyes are on the upcoming US CPI data for February 2026, which will be critical in shaping the Federal Reserve’s next move. Early indications suggest a hotter-than-expected print, with some economists forecasting a 0.4% month-over-month rise in the headline number. This would be a significant acceleration and challenge the narrative of disinflation. We must remember the lesson from last year when a similar situation unfolded. In March 2025, we saw US gasoline prices surge by 18% in just the first nine days of the month. This pass-through from energy prices ultimately added nearly a full percentage point to headline CPI by the middle of that year. The current situation is developing rapidly, as the national average for gasoline is already up 10% so far this March. If oil prices remain elevated near $100 per barrel through the second quarter, we could see energy CPI once again peak in the 15-20% year-over-year range. This presents a clear upside risk to inflation forecasts for the coming months. Traders should consider positioning for increased volatility and persistent inflation. The CBOE Volatility Index (VIX) has already climbed to over 18, reflecting rising uncertainty. Options strategies on energy futures and inflation swaps could offer a direct way to hedge or speculate on these unfolding price pressures. This environment also calls for a close watch on interest rate derivatives, as a sticky, energy-driven CPI could force the Fed to delay any planned rate cuts. This implies opportunities in trades that benefit from a stronger US dollar. It would also be prudent to look at downside protection on major equity indices, as sustained high energy prices could dampen economic growth. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

DBS says DXY’s 99.7 rejection suggests 2026 risk sentiment shift as G7/IEA curb Dollar demand

DBS Group Research said the DXY Index failed to break above 99.7 after an oil price fall. The note linked the move to weaker demand for the US Dollar as a safe haven as the “energy apocalypse” trade faded and G7/IEA actions reduced pressure. The report said Federal Reserve policy is already restrictive, with a positive real policy rate of +0.75%. It contrasted this with a real policy rate of -5.65% at the start of the Ukraine crisis.

Dollar Upside Now Limited

DBS noted US unemployment is 4.4% and said this limits the scope for further US Dollar gains compared with 2022. It added that expecting two Fed cuts in 2026 reduces the chance of a rate-hike driven rise in the Dollar. The note said only a renewed Iran conflict that triggers a long inflation spiral could remove expectations for two 2026 cuts. It also said the gap between the real rate stance and labour market conditions puts a ceiling on the Dollar that it did not face in 2022. The US Dollar Index’s failure to break the 99.7 level suggests a major shift in market sentiment. With oil prices dropping significantly since late 2025, the intense demand for the dollar as a safe haven has cooled. This technical rejection at a key resistance point should be seen as a strong signal that the dollar’s upside is now limited. Unlike the environment in 2022, the Federal Reserve is no longer aggressively fighting inflation. The current real interest rate is a restrictive +0.75%, and with unemployment ticking up to 4.4%, the Fed’s focus has clearly shifted toward engineering a soft landing. This removes the powerful rate-hike momentum that previously drove the dollar higher.

Strategy Implications For Dxy

Recent data reinforces this view, as February’s Consumer Price Index came in at a manageable 3.1%, supporting the market’s expectation for rate cuts later this year. The drop in WTI crude prices to below $80 a barrel further eases inflationary pressures, giving the Fed more room to maneuver. For us, this means the dollar lacks a compelling reason to rally strongly from here. Given this ceiling on the dollar, we should consider strategies that profit from range-bound price action or a slight decline. Selling DXY call options with strike prices above 100 or establishing bearish call spreads could be effective ways to capitalize on this capped upside. These positions benefit as long as the index stays below key resistance and from a likely decrease in implied volatility. This environment also makes being long other currencies against the dollar more attractive. After looking back at the Bank of Japan’s hawkish shift in late 2025, buying call options on the Japanese Yen seems particularly compelling. A stagnant dollar combined with a less dovish central bank in Japan creates a favorable setup for JPY strength. The primary risk to this outlook is a sudden escalation of geopolitical conflict, particularly concerning Iran, that could trigger a new energy crisis. Such an event would reignite inflation fears and force markets to abandon the pricing of two Fed rate cuts for 2026. This would provide the dollar with a new, unexpected tailwind, invalidating the current capped-upside thesis. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

In January, Spain’s year-on-year retail sales increased to 4%, up from 2.9% previously

Spain’s retail sales rose by 4% year on year in January. This was up from 2.9% in the previous period. The data shows faster annual growth in retail activity compared with the prior reading. It indicates an increase of 1.1 percentage points from the previous figure.

Spanish Consumer Resilience Signals Upside

The jump in Spanish retail sales to 4% shows surprising strength and resilience from the consumer. We should reconsider any overly pessimistic views on Eurozone domestic demand that have been priced into the market. This underlying strength could provide a positive catalyst for regional equities in the coming weeks. This data directly supports a more bullish stance on Spain’s IBEX 35 index. Consumer-facing stocks, in particular, should be on our radar for potential upside. We see opportunities in short-dated call options on the index or on individual retail and travel giants, anticipating that the market has not yet fully absorbed this positive signal. This robust data point complicates the picture for the European Central Bank. With the latest Eurozone core inflation figures we saw last week still stubbornly high at a reported 2.3%, this consumer strength makes a near-term interest rate cut less probable. Consequently, we should be prepared for upward pressure on short-term European government bond yields. From a currency perspective, this reinforces the narrative of Spain outperforming its peers, especially after Germany reported weaker industrial production numbers for January. This divergence adds a layer of support for the Euro, particularly against currencies with a more dovish central bank outlook. We could see the EUR/USD pair test its recent highs on the back of this relative economic strength.

Market Echoes From The 2025 Cycle

We recall how the market consistently underestimated the consumer recovery throughout 2025. Similar strong data points back then were initially dismissed before leading to a sustained rally in European assets. This January 2026 figure feels like an echo of that period, suggesting current market positioning might again be too cautious. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

Danske analysts say EUR/USD holds below 1.1650 as US CPI awaited; two-year Bund and Treasury yields ease

EUR/USD was little changed and stayed below 1.1650. Over the prior session, 2‑year Bund yields fell about 6bp and 2‑year US Treasury yields fell 2bp. Markets are focused on the US February CPI release. Danske forecasts headline CPI at +0.3% m/m (seasonally adjusted) and 2.5% y/y, with energy inflation supported by rising US petrol prices that started before the war in Iran.

Us February Cpi In Focus

Danske also forecasts core CPI at +0.2% m/m (seasonally adjusted) and 2.5% y/y. The view is based on a low housing contribution. The report says the forecasts are marginally above consensus. It also states this is not expected to materially change current market pricing for the US dollar or interest rates. Attention is also on planned remarks from ECB Executive Board member Isabel Schnabel. The ECB silent period ahead of the March meeting begins tomorrow, and both Luis de Guindos and Schnabel are scheduled to speak today. We see the EUR/USD is holding steady below 1.0800, a marked difference from the 1.1650 level we were observing this time last year. The main driver continues to be inflation, with the most recent US CPI data for February 2026 coming in at 2.8%, just above market forecasts. This release will likely reinforce the current strength of the US dollar.

Policy Divergence And Trading Implications

This persistent inflation supports the view that the Federal Reserve will maintain its hawkish stance, especially when contrasted with the European Central Bank which held rates steady last week. This policy divergence should continue to favour the dollar. We see one-month implied volatility for EUR/USD has consequently risen to 9.2%, suggesting traders are pricing in more uncertainty. Much like how we watched energy prices during the conflict in Iran back in 2025, we are now focused on ongoing global supply chain reports. Comments from ECB officials will be closely watched for any deviation from their current dovish tone before they enter their silent period. Any change in their language could create short-term trading opportunities. The yield difference between 2-year US Treasuries and German Bunds has now widened to 160 basis points, making long-dollar positions more attractive. Derivative traders should consider strategies that benefit from a stable or stronger dollar, such as selling out-of-the-money call options on the Euro. This approach takes advantage of both the interest rate differential and elevated volatility. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

G7 ministers back proactive actions, including deploying strategic oil reserves, to tackle energy pressures, Reuters reports

The G7 said on Wednesday that its energy ministers backed, in principle, proactive steps to respond to current conditions, including using strategic reserves, according to Reuters. This followed a Wall Street Journal report that the International Energy Agency (IEA) proposed its largest-ever release of oil reserves to help bring down crude prices during the US-Israel conflict with Iran. The IEA’s 32 member states held an emergency meeting on Tuesday to review the Middle East situation and its effect on oil prices. In market trading, WTI rose back towards $85 but remained about 1% lower on the day.

Wti Benchmark Overview

WTI (West Texas Intermediate) is one of three main crude benchmarks, alongside Brent and Dubai Crude. It is described as “light” and “sweet” due to low density and low sulphur content, is sourced in the United States, and is distributed via the Cushing hub. WTI prices are driven mainly by supply and demand, with global growth affecting consumption and conflicts, sanctions, and political instability affecting supply. OPEC production decisions and the US Dollar also influence prices because oil is traded in US Dollars. Weekly inventory reports from the API (Tuesday) and the EIA (Wednesday) can move prices, as falling stocks can imply stronger demand and rising stocks can imply higher supply. Their results are within 1% of each other 75% of the time. The G7 and IEA are signaling a major release from strategic reserves to combat high prices. However, the market seems hesitant, with WTI crude holding near $85 because the underlying US-Israel conflict with Iran continues to threaten actual supply. This sets up a classic battle between a potential artificial supply glut and a very real geopolitical risk premium for traders to navigate.

Trading Implications And Volatility

We should consider the possibility of a sharp, short-term price drop if this is the largest reserve release in history. Looking back, the coordinated 180 million barrel release throughout 2022 was effective in helping push prices down from over $120 to below $90 within a few months. Traders anticipating a repeat of this playbook might look at buying May WTI put options or establishing bear call spreads. On the other hand, an SPR release could be a drop in the ocean if the conflict disrupts actual production or shipping through the Strait of Hormuz. The latest EIA report showed a surprise inventory draw of 3.1 million barrels, suggesting the physical market is already extremely tight. We also hear credible rumors that OPEC+ is considering an emergency meeting to announce deeper production cuts to counteract any IEA release. Given these opposing forces, the most certain outcome in the coming weeks is higher volatility. The crude oil volatility index (OVX) has surged past 45 in recent days, a level not sustained since the early days of the conflict last year. This suggests that non-directional derivative strategies like long straddles or strangles, which profit from a large price move in either direction, could be more prudent than betting on a specific outcome. Create your live VT Markets account and start trading now.

Start trading now – Click here to create your real VT Markets account

Back To Top
server

Hello there 👋

How can I help you?

Chat with our team instantly

Live Chat

Start a live conversation through...

  • Telegram
    hold On hold
  • Coming Soon...

Hello there 👋

How can I help you?

telegram

Scan the QR code with your smartphone to start a chat with us, or click here.

Don’t have the Telegram App or Desktop installed? Use Web Telegram instead.

QR code