[R] Using clustering functions
Hi. I need to use a few different clustering functions. I managed to run the kmeans() one which is in my "stats" library, but I can't use any function, such as agnes(), that is in my "cluster" library. Any idea how to access other libraries? Thanks! -- View this message in context: http://www.nabble.com/Using-clustering-functions-tf4401159.html#a12554686 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Saving plot into file
Hello. I am using R with Mac X11. I am looping through a few hundreds of text lines, making a plot() for each of them. I would like to save these plots graphical images into separate graphical files and I didn't succeed doing that. I would be grateful for any suggestion. -- View this message in context: http://www.nabble.com/Saving-plot-into-file-tf4359947.html#a12425669 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Reading lines from file
Hi. I have a text file containing a few hundred lines of numbers, each line has a different length. For example: 1 4 1 1 7 3 11 1 1 1 1 1 1 2 2 4 1 2 And so on. I need to do a simple plot function for each line, and then to save each plot into a separate file. Is there any way doing it from within R? Alternatively, is there a way to run R from another language or from the X11 (Linux) terminal, sending as input each line, then plotting and saving? Thank you very much for any idea. -- View this message in context: http://www.nabble.com/Reading-lines-from-file-tf4347936.html#a12387556 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.