Because R and R Studio don’t necessarily warn you when they need upgrading, I had to figure it out myself when I started getting some weird bugs running assignments during an R class. Mac OSX Mavericks and RStudio troubleshooting I have been trying to download RStudio on my Mac OSX with the mavericks operating system. I have R installed and it is working fine but when I install RStudio a yellow exclamation sign comes up and the program will not open.
Active4 years, 2 months ago
I followed this guide http://eriqande.github.io/2014/12/19/setting-up-rodbc.html to get RODBC working with MAC and I am able to connect to the DB.
The configuration files are set according to the guide.
I install the RODBC package
And when I try it out it seems that it does not use my UnixODBC libraries.
When I try to connect via ODBC Sims 4 studio for mac update.
The error message indicates to me that RODBC is still using iODBC. I browsed the internet for days now but I can't find a solution for the problem.Would be really amazing if anybody here could point me in the right direction.
Marco
Marco BlumeMarco Blume
1 Answer
A clean reinstall of my Mac seem to have solved the library issues.I just followed the guide exactly again and it worked.
Marco BlumeMarco Blume
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged rmacosrstudiounixodbcrodbc or ask your own question.
When was the last time you update your R and RStudio?
I installed RStudio and R a year ago, and never update it since then. Today I just noticed I cannot install new R packages because of my old R version. So I explore some ways to update R and would like to share with someone who is also looking to update R on RStudio.
The problem
RStudio and R cannot update on their own because some packages may not work after switching to the new version (You can still downgrade R version in RStudio if something went wrong though). After you install the new version, the previously installed packages will not go to next version. So it is required extra procedures to move the packages.
Here are 3 ways you can update R version in RStudio. Note that we need to move the install R packages, which I will show how at the end.
3 Solutions to update R on RStudio
Solution 1) Manually install (Recommended if you don't care about the old packages)
The first method is to download a new version of R from R website > CRAN. Then restart your RStudio. The new R version will be loaded automatically.
The new R version appear right after I install R and restart RStudio
Update 29/05/2019: For Mac users, solution 3 is too painful and not working well for me. This method is fast and working well. I would recommend to save your time from headache and use this method. Take note of your previous packages so you can install them again as needed.
Solution 2) Windows only – use installr
installr is the R package which helps install and update software.
The R code you will need for updating R is: (credit goes to Cara Wogsland for the code)
install.packages('installr')
library(installr)
![Itunes troubleshooting for mac Itunes troubleshooting for mac](/uploads/1/2/6/2/126282015/466161689.png)
updateR()
You can find the tutorial on how to use installr to update RStudio on R-Statistics website.
Solution 3) Mac only – use updateR
Similar to installr, updateR is the package to help updating R on Mac OS.
The R code you will need is these 5 lines: (credit goes to jroberayalas for the code)
install.packages('devtools') #assuming it is not already installed
Itunes Troubleshooting For Mac
library(devtools)
install_github('andreacirilloac/updateR')
library(updateR)
https://grupocelestial.weebly.com/blog/pinnacle-studio-ultimate-for-mac. updateR(admin_password = 'Admin user password')
You can find in-depth tutorial on how to use updateR package on this blog. Visual studio equivalent for mac.
How to move the previously installed R packages
This is the instructions for Mac OS user (who used solution 1 or 3 above). For Windows user, installr package will do this for you
(credit goes to RyanStochastic and micstr):
1. Move all folders from your old R version to new R version.
/Library/Frameworks/R.framework/Versions/x.xx/Resources/library
Replace x.xx with the old and new R version at a time.
Note that you have to move only the packages that are not currently in the destination folder (because those are the base packages, and you don’t want to ruin them). But if you already did replaced everything, the next step will solve this for you.
If you cannot find the proper path, you can run this command to check: installed.packages()
2. Update the moved packages
Run the following command in R. Type ‘y’ for every question that popped up.
update.packages(checkBuilt=TRUE)
![R Studio Troubleshooting For Mac R Studio Troubleshooting For Mac](/uploads/1/2/6/2/126282015/127321142.jpg)
3. Type the following command in R to check if everything went well
version
packageStatus()
That’s it! Hope you guys success in updating R. If not, please check in the reference link below.
Hp Officejet Pro 8710 Troubleshooting For Mac
References: https://stackoverflow.com/questions/13656699/update-r-using-rstudio