r/RStudio • • Nov 03 '26

Studium rin Modul mit R

Hi, ich wollte mir einen laptop fürs Studium kaufen. Wir haben im 2. Semester ein Modul Statistik, wo wir mit R arbeiten und die Prüfung auf windows haben. Meine frage ist jetzt: wenn ich die ganze zeit auf dem Macbook üben würde, hätte ich dann Schwierigkeiten die Prüfung in R auf dem windows pc def Hochschule abzulegen?

15 Upvotes

3 comments sorted by

6

u/yossarian_jakal Nov 03 '26

This is a fair question, depends on how you work, biggest difference will be in how you use paths etc. If you do it all in a project you will probs be okay but watch out for the differences such as backslashes in math names etc that differ between OS systems.

3

u/vaelux 29d ago

Just to clarify this, Mac file paths just copy over and work, on Windows they use the other slash so you have to change it.

Or just use something like:

data <- file.choose()

And you can open your files with a dialogue box and not have to worry about it.

1

u/Fornicatinzebra 29d ago

On windows "/" in paths works fine from R. I just avoid "\" entirely in favour of "/" since that works everywhere