I just installed a squeaky clean R 3.2.1 on a new Windows 7 system. Was able to load installr using install.packages. Was able to load it using library(installr), and got the expected messages.
When I actually try to run one of the subprograms, however, (updateR, install.RStudio, etc.) all I get is the above message.
I have done several Google searches and found very little. One entry suggested uninstalling RGui and reinstalling from the website. I've done that also. I'm quickly running out of ideas...
Here's a sample session:
Error in file(file, 'rt'): cannot open the connection. Hi, I am using R package 'QT' which call runs alongwith SAS I get this error: ' Error in file(file, 'rt.
R version 3.2.1 (2015-06-18) -- 'World-Famous Astronaut'
Copyright (C) 2015 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
[Previously saved workspace restored]
library(installr)
Welcome to installr version 0.16.0
More information is available on the installr project website:
https://github.com/talgalili/installr/
Contact: [email protected]
Suggestions and bug-reports can be submitted at: https://github.com/talgalili/installr/issues
install.RStudio() Hi there,Error in file(con, 'r') : cannot open the connection updateR() Error in file(con, 'r') : cannot open the connection I migrated from Windows7 to Ubuntu (11.10) and am trying to get my R back online. I've switched from Tinn-R to RKWard which seems to work well. My problem at the moment is that I'm no longer able to read in the data file I was working on before.
popafr <- read.table(file='~/Documents/My PhD/Modelling/SAS/SAS
datasets/SAS export sets/Final reference curve sets/SAS_for_R AFRO11jan11.txt',header=T, sep='t') Error in file(file, 'rt') : cannot open the connection Calls: read.table -> file In addition: Warning message: In file(file, 'rt') : cannot open file '/home/me/Documents/My PhD/Modelling/SAS/SAS datasets/SAS export sets/Final reference curve sets/SAS_for_R AFRO 11jan11.txt': No such file or directory > I get the same results with:
popafr <- read.table(file.choose()) The file is physically present in both the getwd() and the directorypopafr <- read.table(file='SAS_for_R AFRO 11jan11.txt',header=T, sep='t') listed above even with the .choose option I receive the same error. Does this have to do with file permissions? I've tried running sudo su and then starting R in a terminal with the same error. any help is much appreciated. Hopefully yours, Daniel Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |