-
Notifications
You must be signed in to change notification settings - Fork 220
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
Can't install R packages for Jupyter : Windows #729
Comments
Conda's R does not use Rtools, instead opting to use the MSYS2 mingw-w64 toolchain (they're both mingw-w64 toolchains though and pretty similar). We now provide prebuilt readxl, so the easiest thing to do is just:
(and if you are using conda >= 4.3 then you don't even need Otherwise, (and for other packages) to setup a dev-environment that works with R and devtools, please do the following from a cmd.exe shell in which your conda R environment is activated (or your root env if that's where you installed R/r-essentials):
Then in
|
Sorry to comment on an old issue, but for anyone who lands here as I did, there are a few more steps.
There's got to be a wiki or document somewhere that explains this, but I can't seem to find it. I bet a lot of people are installing Rtools and setting |
If you use
I could make a metapackage called I am also wondering whether to change |
I think the |
Hi, i still have problems installing (non-anaconda) R packages which require compilation.
The example from above
only yields
pulling the source code and building from command line also fails:
So do i need to install Rtools from cran or is there an equivalent available in conda? And where exactly do i have to create the /tmp folder for base environment? The path from above didn't seem to work either |
@zaphot please open a new issue instead of commenting on an issue that has already been closed. |
@zaphot, I added some wikis with help on installing R packages from source or CRAN. Note I didn't use devtools or try to install from a clone, but if I grab the link from the CRAN
hope this helps! |
thanks for the answer! Unfortunately this didn't work. Therefore, i created a new issue: #9184 |
I have several issues installing R packages for Jupyter.
When I browse to that address, I do find the package is available.
Rcpp
and follow their solution (will not work 4 me)devtools
and dependencies to install them withinstall_github
,It seems like there's a bigger problem now with Rtools.
So it seems that I just shouldn't use
readxl
and go with another tool likeopenxlsx
.The reason why I think this is related to Anaconda is because I have another installation of R running locally on my computer, and it does install the packages as its supposed to, and I'm able to use
readxl
there.If someone else has similar issues, maybe it will be worth it to try to solve it.
Cheers from Mexico.
The text was updated successfully, but these errors were encountered: