Use cat
cat(runif(20))
see ?cat for additional options, for example to brake the output into several
lines.
Best regards,
Ales
Gregor Gorjanc pravi:
Hello!
I am writing some numbers and character vectors to an ascii file and
would like to get rid of [1] ... as shown bellow (a dummy
1.: Did you try to extract the zip file manually? It seem that something
is wrong with the zip file, not the procedure. Try downloading
(compiling) it again.
2.: You should not use \ in your paths, you should either \\ of /
instead.
Best,
Ales Ziberna
[EMAIL PROTECTED] pravi:
Hello all,
for the Unwilling S User)
Aleš Žiberna wrote:
Hello!
I would like to convert rows of a matrix to a elements of a list.
#For example, if I have
mat-matrix(1:100,ncol=5, nrow=20)
#I can do:
list-apply(mat,1,list)
list
#however this is not quite what I want. To get what I want, I have to
do
Or, you should put the whole path to that file, for example
file='C:/My documents/x111.csv'
Best,
Ales Ziberna
Johann Jacoby pravi:
carl,
you wrote:
I would imagine I'm not putting my csv file in the right location for R
to be able to read it. If that's the case, where should I put
Hello!
I would like to convert rows of a matrix to a elements of a list.
#For example, if I have
mat-matrix(1:100,ncol=5, nrow=20)
#I can do:
list-apply(mat,1,list)
list
#however this is not quite what I want. To get what I want, I have to do:
list-lapply(list,function(x)x[[1]])
list
Is there
See
?par
Look for arguments
mfrow and mfcol
Hope this is what you are looking for,
Ales Ziberna
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of R Granell, Medicine
Sent: Monday, January 30, 2006 12:35 PM
To: r-help@stat.math.ethz.ch
Subject: [R]
Dear expeRts!
I'm thinking of buying a new computer and am considering dual-core
processors, such as AMD Athlon64 X2. Since I'm not a computer expert, pleas
forgive me if some of my questions are silly.
First, am I correct that using a dual-core processor is (for R point of
view) the same as
Dear useRs!
I athought this was a trival question, however I could not fin dan answer in
the help files for print, format or formatC. I would like to print a
numerical matrix so that all cells (all rows/colums) are printed:
a) with the same number of decimal places (numbers after the decimal
Dear R users!
I was wondering if there exists (in R) any general algorithm for finding
optimal partition (optimal allocation of n units into k groups or bins),
such as local search, genetic algorithm, tabu search, ...
By general I mean such that would find an (approximately) optimal partition
Hello!
I would like to unload a package form a current R session. I tried
datach(package:packagename), however it does not work. The reason I want to
unload it is that I want to correct some files in the package and reinstall
it without closing an R session.
Best,
Ales Ziberna
PS: I am using R
Hello!
I am creating a packege and I would like to inclued some Fortrun subrutines.
I have two questions.
1. Can I use free form fortan - compiles well usinf g77 -ffree-form.
2. Is it enough to place the .for files in scr folder?
Thank you in advance for any help!
Ales Ziberna
P.S.: I am
Hello!
I have a problem checking the package. Firstly, I do not know how to specify
the package to check. I tied specify it by supplying the path and by runing
the R CMD check in the directory of the package.
In addition to that, I get an error bellow. Any suggestions on how to set
TMPDIR
Hello!
I would like to know if it is possible (and how) to get xpinch and ypinch
values that R gets (from the system) for drawing plots.
If I understand correctly; with this values I could save the same picture as
I see on computer 1 on computer 2 as a let say wmf file.
Thank you in advance,
Hello!
I would like to know if it is possible (and how) to get xpinch and ypinch
values that R gets (from the system) for drawing plots.
If I understand correctly; with this values I could save the same picture as
I see on computer 1 on computer 2 as a let say wmf file.
Thank you in advance,
Hello!
I have two functions.
The first one prepares the arguments for the second one. What is the best
way to put all resoults of the first one into the second one? I tried
attach, however the object in the main enviorment have a priority over the
ones in list. An example is at the end.
You can simply do
plot(xx)
plot(yy,add=T)
Ale iberna
- Original Message -
From: Mike Jones [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Thursday, June 02, 2005 9:53 PM
Subject: [R] overlaying plots
surely this not hard, but i can't figure it out. i'd like to overlay
the
Hello!
Does anyone now if there exist a function that would compute a null space
(or kernel - Ker) of a matrix and maybe also one that would compute an
image (Im) of a matrix.
I tried R-site search and google, However I found notnihg useful!
Thanks for any sugestions! I am also not sure
Thank you very much for your reply and your *dirty* sloution, which does the
trick for me!
Ale iberna
- Original Message -
From: Uwe Ligges [EMAIL PROTECTED]
To: Ale iberna [EMAIL PROTECTED]
Cc: R-help r-help@stat.math.ethz.ch
Sent: Saturday, May 28, 2005 7:58 PM
Subject: Re: [R]
Hello!
I have the following problem.
I would like to plot the hclust object hcd (bellow, at the end of the
mail) with ticks at seq(0.05,0.25,by=0.05). I tried using the code
plot(hcd)
and
plot(hcd,axes=FALSE)
axis(2,seq(0.05,0.25,by=0.05))
In both cases, the resoult is the same, ticks at
Does your data (that you want to plot have any Inf or -Inf values?
Ales Ziberna
- Original Message -
From: [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Monday, May 23, 2005 5:16 PM
Subject: [R] Trouble with drplot
Hi, I am a newbie with R, so I hope my question isn't too
20 matches
Mail list logo