You asked

Is the canon rf 35mm f 1 8 macro is stm better than the sigma 30mm f 1 4 for portraits on my canon eos r50?

Here is what the site says about that.

From Canon RF 35mm f/1.8 Macro IS STM: Canon RF 35mm f/1.8 Macro IS STM: A macro lens by Canon for Full frame cameras, 35mm f/1.8. Specs - Maker: Canon - Focal length: 35mm (macro) - Maximum aperture: f/1.8 - Made for: Full frame sensors - Mounts: Canon RF - Stabilised: yes - Autofocus: yes What it frames like - On full frame (Canon RF): as marked, 35mm. - On APS-C (Canon) (Canon RF): like 56mm on full frame; f/1.8 gives about the depth of ...

From Canon EOS R50: Canon EOS R50: A mirrorless camera by Canon with a 24.2-megapixel APS-C (Canon) sensor, announced in 2023. Small, simple and very good at autofocus: one of the best first cameras. Specs - Maker: Canon - Mount: Canon RF - Sensor: APS-C (Canon), 22.3 x 14.9mm, crop factor 1.6 - Resolution: 24.2 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2023 - Type: mirrorless camera Focal ...

Quoted from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.