[R] Pesky file encoding problem

2016-11-06 Thread Joshua Banta
Dear everyone, Please consider the following code, which I am using to make a custom text file. (I need to build the text file line-by-line like this for some idiosyncratic reasons that I will not get into here. But basically the real text file I am making is longer and more complicated than

[R] Parse character strings so they align (line up/match) properly

2014-01-03 Thread Joshua Banta
Dear listserv, I don't know if this question is more appropriate for the Bioconductor listserv or the general R listserv. I am asking it here because I believe this problem can be solved using regular R commands in the base package. I suspect you all will be very helpful. I have genetic

[R] Data parsing question: adding characters within a string of characters

2014-01-02 Thread Joshua Banta
Dear Listserve, I have a data-parsing question for you. I recognize this is more in the domain of PERL/Python, but I don't know those languages! On the other hand, I am pretty good overall with R, so I'd rather get the job done within the R ecosphere. Here is what I want to do. Consider the