this is the error after i run it
Attaching package: ‘gplots’
The following object is masked from ‘package:stats’:
lowess
Error in make.names(col.names, unique = TRUE) :
invalid multibyte string at '<fe><ff>'
Calls: read.csv -> read.table -> make.names
In addition: Warning messages:
1: In read.table(file = file, header = header, sep = sep, quote = quote, :
line 1 appears to contain embedded nulls
2: In read.table(file = file, header = header, sep = sep, quote = quote, :
line 2 appears to contain embedded nulls
3: In read.table(file = file, header = header, sep = sep, quote = quote, :
line 3 appears to contain embedded nulls
4: In read.table(file = file, header = header, sep = sep, quote = quote, :
line 4 appears to contain embedded nulls
5: In read.table(file = file, header = header, sep = sep, quote = quote, :
line 5 appears to contain embedded nulls
Execution halted



You're missing a double quote.
Thats me typing on here. its all good in my R script. I corrected that on the post. In my script its all good. But error persists
Why is your R script binary? Have you tried
Rscripts myscripts.R? Thecannot execute binary filetypically has something with incompatible architectures.to be honest I am not sure what you mean.
What does it return with the command
file HeatMap.R?it returns this,
You ran
Eric asked you to run
file Heatmap.Rgave the following and didnt generate anything in folderI apologies for late response. I am limited to few post per certain hours.
The
fileutility tells you what kind of fileHeatmap.Ris, it does nothing else - that's expected. Think of it as a sanity check on the file. It is strange that you getdata.I think it should be
Rscript file.R, notRscripts.gave this
sorry for late response, I am limited to ew posts
Of course. Now everybody knows I hardly run any R script. :D
Running R scripts from command line.
I tried to execute the commands one at a time on command line and upon reaching
it gave the error
Your R script has errors then. Please fix them before trying to execute the script from the command line.
You shouldn't execute an Rscript with bash.
Please follow up on all your previous posts:
If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.

You need to run your file as:
You cannot run Rscripts with the
Rbinary or with bash. Your shebang line should be taking care of this though.What do you get for
which -a Rscript?