[R] single character in R, and how to manipulate it

2023-03-30 Thread Jinsong Zhao
Hi there, I just noticed that "crt" is a graphical parameter, which is stated as follows in the help page of "par": A numerical value specifying (in degrees) how single characters should be rotated. It is unwise to expect values other than multiples of 90 to work... However, I did not find an

Re: [R] single character in R, and how to manipulate it

2023-03-30 Thread Rui Barradas
Às 09:25 de 30/03/2023, Jinsong Zhao escreveu: Hi there, I just noticed that "crt" is a graphical parameter, which is stated as follows in the help page of "par": A numerical value specifying (in degrees) how single characters should be rotated. It is unwise to expect values other than multip

[R] Problems with foreign

2023-03-30 Thread José Oscar Delgado Bautista
Good day My name is José Oscar, I'm from Mexico and I have some questions about foreign in your write.foreig( ) function. We know that this function generates the inputs to be able to run them or execute them in another program like SPSS, SAS or Stata. In these cases, when creating an example file

Re: [R] Problems with foreign

2023-03-30 Thread David Winsemius
On 3/30/23 10:36, José Oscar Delgado Bautista wrote: Good day My name is José Oscar, I'm from Mexico and I have some questions about foreign in your write.foreig( ) function. We know that this function generates the inputs to be able to run them or execute them in another program like SPSS, S

[R] seqMK function

2023-03-30 Thread Nick Wray
Hello does anyone know how to set the confidence level within the seqMK() function in the pheno package. It seems to be set automatically at 0.05 and there seems to be neither an input function to set a different level, as there are with some changepoint functions, nor an output to give one the p-

Re: [R] single character in R, and how to manipulate it

2023-03-30 Thread Jim Lemon
Hi Jinsong, Maybe "srt" will do what you want. As you noted non-orthogonal rotations may not work on some devices. You may be able to download mirror fonts from places like fontmirror.com, but it more complicated. Jim On Thu, Mar 30, 2023 at 7:25 PM Jinsong Zhao wrote: > > Hi there, > > > I just

Re: [R] single character in R, and how to manipulate it

2023-03-30 Thread Jim Lemon
Also see the "arctext" function in the plotrix package. Jim On Fri, Mar 31, 2023 at 11:12 AM Jim Lemon wrote: > > Hi Jinsong, > Maybe "srt" will do what you want. As you noted non-orthogonal > rotations may not work on some devices. You may be able to download > mirror fonts from places like fon

Re: [R] single character in R, and how to manipulate it

2023-03-30 Thread Paul Murrell
Hi From R 4.2.0, mirroring is possible (if a little awkward) ... library(grid) grid.newpage() grid.define(textGrob("R"), name="r") grid.use("r", transform=function(group, device) viewportTransform(group, flip=groupFlip(flipX=TRUE))) ... although only on pdf() and Cairo-bas