Re: [Rd] Encoding issues

2019-02-18 Thread Gábor Csárdi
On Mon, Feb 18, 2019 at 4:42 PM Iñaki Ucar wrote: > > On Mon, 18 Feb 2019 at 17:27, Gábor Csárdi wrote: > > > > From "Writing R Extensions": > > > > "Only ASCII characters (and the control characters tab, formfeed, LF > > and CR) should be used in code files." > > > > So I am afraid you cannot us

Re: [Rd] Encoding issues

2019-02-18 Thread Tomas Kalibera
On 2/18/19 4:36 PM, Iñaki Ucar wrote: > Hi, > > We found a (to our eyes) strange behaviour that might be a bug. First > a little bit of context. The 'units' package allows us to set the unit > using both SE or NSE. E.g., these both work in the same way: > > units::set_units(1:10, "μm") > #> Units:

Re: [Rd] Encoding issues

2019-02-18 Thread Iñaki Ucar
On Mon, 18 Feb 2019 at 17:27, Gábor Csárdi wrote: > > From "Writing R Extensions": > > "Only ASCII characters (and the control characters tab, formfeed, LF > and CR) should be used in code files." > > So I am afraid you cannot use μm. Thanks, Gábor, I missed that bit. Then, is an .Rd file conside

Re: [Rd] Encoding issues

2019-02-18 Thread Gábor Csárdi
>From "Writing R Extensions": "Only ASCII characters (and the control characters tab, formfeed, LF and CR) should be used in code files." So I am afraid you cannot use μm. Gabor On Mon, Feb 18, 2019 at 3:36 PM Iñaki Ucar wrote: > > Hi, > > We found a (to our eyes) strange behaviour that might

Re: [Rd] encoding issues even w/o accents (background on single quotes)

2007-01-19 Thread Ross Boylan
On Wed, Jan 17, 2007 at 11:56:15PM -0800, Ross Boylan wrote: > An earlier thread (in 10/2006) discussed encoding issues in the > context of R data and the desire to represent accented characters. > > It matters in another setting: the output generated by R and the > seemingly order character "'" (