| Question on StatET Eclipse [message #905696]
||Thu, 30 August 2012 22:45
| V A
Registered: August 2012
I tried to learn R and I started by installing the StatET plugin on Eclipse.
I spent the entire day reading the manual for StaET, going step by step.
After many failed attempts to load my data, I tried through R Studio and Terminal and there was nothing wrong with my script! Yet the same script was not working on Eclipse.
My question is whether they are that different as platforms or if I am doing something wrong.
I type this input:
Datafile_1 <- read.csv ("/home/myname/R/Datasets/Datafile_1.csv", row.names = 1 , header = TRUE)
and in the console I get the output :
> source("/home/myname/EclipseWorkspace/1st tries/data loading.R")
source("/home/myname/EclipseWorkspace/1st tries/data loading.R")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file '/home/myname/R/Datasets/Datafile_1.csv': There is no such file or directory
I don't understand where is the problem. It works on R studio and Terminal.
Also, is there a way that I can save the ouput of the console?
Is copy-paste the only way? How does sweave work? How do I access it and store my ouput?
With these problems I faced, even terminal is less scary
I am not a programmer.-
I was not sure where to post this topic, I apologise if it is very misplaced.
[Updated on: Thu, 30 August 2012 22:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.14754 seconds