I am on R-3.3.0 and set up RStudio. This is the output I get when I try to find the version in RStudio
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 3.0
year 2016
month 05
day 03
svn rev 70573
language R
version.string R version 3.3.0 (2016-05-03)
nickname Supposedly Educational
I want to change it to point to the R-2.5.1 instance I have installed in my machine. How do I go about this?
Related
I'm using R scripts inside Emacs on Windows 10 Enterprise to analyze data. It works well but recently after sending a tk_choose.dir command, emacs closes (but not R ; the script keeps on running after choosing the folder).
If someone can tell me the result of the following command :
library(tcltk)
c_folder <- tk_choose.dir("c:/")
If needed, here is the output of the version command:
version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 1.3
year 2022
month 03
day 10
svn rev 81868
language R
version.string R version 4.1.3 (2022-03-10)
nickname One Push-Up
Thanks in advance for your help,
Newb'R
I had to re-downloaded the latest R and Rstudio with all previous packages deleted...
Now I cannot plot 3D Lidar points with the lidR package, but plotting other graphs is fine. I wonder if it is because some dependent packages are missing? It doesn't give me any clue of why R studio crashed. Can any one help?
> version
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 2.0
year 2022
month 04
day 22
svn rev 82229
language R
version.string R version 4.2.0 (2022-04-22 ucrt)
R freezes when trying to install packages using install.packages. This happens with all packages. No warning displayed:
install.packages("TSA")
Also tried:
download.file(destfile = "C:\\Users\\XXX\\Downloads\\TSA_1.3.zip",
url = "https://cran.r-project.org/bin/windows/contrib/4.2/TSA_1.3.zip")
I got:
trying URL 'https://cran.r-project.org/bin/windows/contrib/4.2/TSA_1.3.zip'
Details:
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 1.0
year 2021
month 05
day 18
svn rev 80317
language R
version.string R version 4.1.0 (2021-05-18)
nickname Camp Pontanezen
Using the browser, I can download the package install it directly using the link:
install.packages("C:\\Users\\XXX\\Downloads\\TSA_1.3.zip",repos=NULL,type="win.binary")
But I want to download it from IDE. Is it a windows firewall issue?
I have installed the most recent version of R just some minutes ago (version 4.04).
But when I open R studio and run version in my console, it appears to be opened still using the 3.6.1 version:
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 6.1
year 2019
month 07
day 05
svn rev 76782
language R
version.string R version 3.6.1 (2019-07-05)
nickname Action of the Toes
How can I open R studio trough the new version of R I just installed?
You just have to uninstall the old versions of R gathered in your computer from the Panel Control and RStudio will initiate with the oldest version of R.
I use R version:
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 5.1
year 2018
month 07
day 02
svn rev 74947
language R
version.string R version 3.5.1 (2018-07-02)
nickname Feather Spray
and use R.markdown, as I want to publish a tutorial in Rpubs. When I was using a previous R version, I was able to do so, by going upper right in the script section and hitting on "Publish Document" (RPubs would appear as an option). Now it requires that I can connect to an R Studio server, which I don't wish to do.
How can I connect directly to Rpubs and publish there directly?