-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Positron to be installed without admin rights on Windows #3703
Comments
We should be able to add this, thanks for logging the ask! |
@averyrobbins I suspect your problem may be different? On my Windows VM, the library paths are: .libPaths()
#> [1] "D:/Users/jenny/AppData/Local/R/win-library/4.3"
#> [2] "C:/Program Files/R/R-4.3.3/library" Created on 2024-07-01 with reprex v2.1.0 Note that the first place a new package will be installed is in my user library. And I feel like this (including the creation of this library) is the default behaviour on Windows. So I would try to figure out why you don't have a user library. (And then, yes, it does seem like you don't have permission to write to the system library, but I suppose that is expected for you.) |
Thank you for your response, @jennybc. You were right, a different issue. I'm currently using Windows 11, where it seems like R wanted to be installed in "C:/Program Files..." I reinstalled it in "C:/Users/username..." where I have write permissions and that solved the problem. Excited to try Positron (great name btw). Thanks. |
I'm glad you are unstuck. For others who come by:
yes, that is the usual place for R installation on Windows and will "just work" for lots of people. But it sounds like your machine is locked down in such a way that you need to depart from the default. |
@petetronic can we address some of the problems raised in #3874 with changes to our Windows build as well? |
I also second this! Specially with the daily releases you have… I don't have a problem to install it on my Mac with homebrew and usually I get updates every day or two days, but on my corporate computer I don't have admin rights and I need to ask if I want to update, which is a a little bit a pain in the… |
We're just testing a "user" level windows installer today and will push for download to Positron this week. |
Verified FixedPositron Version(s) : 2024.07.0-134 Test scenario(s)New user package correctly installs on a standard user (non-admin) account without needing UAC elevation. As noted above, a package will be released this week. Link(s) to TestRail test cases run or created:n/a |
2024.08.0-5 is now available and contains a new "User" installer for windows that doesn't require elevation. |
I just tested this. I could install it, but Positron doesn't find my R installation (only Python) Is there a setting to specify the path to the R installation? (RStudio does work) |
My R is in C:\Program Files\R. It doesn't seem to be in the PATH (because it was installed by the IT) I have 4.3.2 I don't think I can manually edit the PATH (due to the lack of admin rights) I have 4.3.2 It is in C:\Program Files\R\R-4.3.2\bin\R.exe and C:\Program Files\R\R-4.3.2\bin\x64\R.exe. RStudio seems to be using the first one. |
Actually, I have been able to fix it by manually adding my R installation to the PATH via Modify Environment Variables for your account! Appending the R PATH to the Path variable here seems to have done the trick! https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/ |
I would have expected your installation to be discovered primarily from its totally normal location:
so I wouldn't expect it to be necessary to put it on the PATH. (But of course I'm glad that's working, it's fresh from the oven!) If you'd like to pursue this, open an new issue or question and share the R discovery bits from the Positron R Extension output channel. |
@b-trochimowicz can you open a new issue or discussion outlining the problem you are observing? |
VScode is installable without admin rights. Is it possible that Positron does the same? (on June 27, it didn't)
The text was updated successfully, but these errors were encountered: