Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Question on StatET Eclipse (script that works on R Studio and Terminal does not work on StatEt Eclipse)
icon7.gif  Question on StatET Eclipse [message #905696] Thu, 30 August 2012 22:45 Go to next message
V A is currently offline V AFriend
Messages: 1
Registered: August 2012
Junior Member
Hello,
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)
head(Datafile_1)

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 Laughing
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

Re: Question on StatET Eclipse [message #905995 is a reply to message #905696] Fri, 31 August 2012 12:36 Go to previous message
Joseph Carroll is currently offline Joseph CarrollFriend
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

This forum is for Eclipse Platform discussions. Please post your question in the appropriate 'StatET' forum.

As for the console, there is not a feature that allows you to save the displayed output from the workbench. Bug 61721

If you have specific issues or questions that relate to the Eclipse Platform (and not features that run on the platform) please post those here.

Thanks,

JD
Previous Topic:Moved: Dependency satisfaction with different bundle versions
Next Topic:Autocorrect - the apple way
Goto Forum:
  


Current Time: Fri Apr 19 16:51:29 GMT 2024

Powered by FUDForum. Page generated in 0.01991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top