Re: [R] C stack error in as.vector() starting in R 3.3.0

2016-07-06 Thread Eric Archer - NOAA Federal
version incompatibility, with one of the packages loaded when > load("problem.method.rdata"). This includes > > adegenet > apex > copula > Rcpp > DBI > sp > colorspace > > and any dependencies these are bringing in. > > Best, > > luke &g

[R] C stack error in as.vector() starting in R 3.3.0

2016-07-01 Thread Eric Archer - NOAA Federal
Apologies for the long post. This is an issue I have been struggling with and I have tried to be as complete, to the point, and reproducible as possible. In documenting a package with roxygen2, I have come across an error that does not occur in R 3.2.4 revised, but does occur in R 3.3.0 and

[R] command not found from system() call in GUI with proper PATH

2014-10-24 Thread Eric Archer - NOAA Federal
Apologies for the cross-posting, but I couldn't tell if this was a general R issue, or Mac-specific When running a system file from within R, I have just started to get a command not found error although my PATH seems to be properly set and I can run the same system file from the terminal. The

Re: [R] Transferring commas in character vector to expression

2013-07-15 Thread Eric Archer - NOAA Federal
quickly so you should bury it in a function. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Eric Archer - NOAA Federal Sent: Saturday, July 06, 2013 10:55 PM To: Duncan

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Eric Archer - NOAA Federal
Duncan, Thanks for the suggestion, but that won't work for my situation. I'm trying to use a character vector to label some axis ticks. There are some elements in the vector that have either a comma, or both Greek symbols and a comma, like the the third and fourth elements in x.lab below: x -

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Eric Archer - NOAA Federal
Duncan, Thanks! That was the tip I needed. With that, I was able to get this to work perfectly: x.lab - c(a*a, bbb, c,cc*c, d,dd) x.lab - gsub(\\*, *Delta*, x.lab) x.lab - gsub(,, *symbol(\54\)*, x.lab) dotchart(1:length(x.lab), labels = parse(text = x.lab)) On Sat, Jul 6, 2013 at 9:38

Re: [R] Substituting Greek symbols in some tick labels

2013-07-05 Thread Eric Archer - NOAA Federal
dwinsem...@comcast.netwrote: On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote: I have a character vector that I'm using to label ticks in a dotchart. Some of the elements in the vector have an asterisk (*) where a Greek Delta needs to be placed when the plot is generated. Here's

Re: [R] Substituting Greek symbols in some tick labels

2013-07-05 Thread Eric Archer - NOAA Federal
David, That's perfect! I just didn't think to use 'parse'. Thanks! Cheers, eric On Fri, Jul 5, 2013 at 8:20 AM, David Winsemius dwinsem...@comcast.netwrote: On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote: I have a character vector that I'm using to label ticks in a dotchart

[R] Transferring commas in character vector to expression

2013-07-05 Thread Eric Archer - NOAA Federal
I'm trying to format a given character vector as an expression with Greek symbols to be used in labeling axis ticks. Thanks to some help from David Winsemius, I've learned how to make the substitution and place the Greek symbols in, however I've run into another problem: Some of my labels have

[R] Substituting Greek symbols in some tick labels

2013-07-04 Thread Eric Archer - NOAA Federal
I have a character vector that I'm using to label ticks in a dotchart. Some of the elements in the vector have an asterisk (*) where a Greek Delta needs to be placed when the plot is generated. Here's a simple example: x - 1:4 x.lab - c(a*a, bbb, c*c, ddd) dotchart(x, labels = x.lab) The first