Displaying 20 results from an estimated 4000 matches similar to: "show colums x till end"
2011 Jun 27
3
assign using =
Hey all,
I learned that using the equals sign "=" to assign objects is generally OK, but will not work in some cases.
As I always use "<-" for assignments, I have not encoutered any problems.
Could somebody provide an example or explanation, why getting used to "=" is not a good idea?
Or is it?
Thanks ahead,
Berry
-------------------------------------
Berry
2014 Feb 03
1
seq range argument
Hello dear developers,
I find myself often having the result of "range" oder "extendrange", which I want to create a sequence with.
But "seq" needs two seperate arguments "from" and "two".
Could an argument "range" be added?
Otherwise I will have to create an object with the range (may come from a longer calculation), index twice from
2011 Sep 07
1
access objects
hi,
say I have consecutively numbered objects obj1, obj2, ... in my R workspace.
I want to acces one of them inside a function, with the number given as an argument.
Where can I find help on how to do that? Somebody must have been trying to do this before...
Some keywords to start a search are appreciated as well.
Here's an example, I hope it clarifies what I'm trying to do:
obj1 <-
2011 Sep 06
1
Histogram messed up
Hey all,
I encountered a problem drawing a histogram.
You can view the picture here:
http://dl.dropbox.com/u/4836866/Bad_Histogramm.png
What happens:
the bars are drawn with different starting points, thus no straight zero-line is there.
And bars are overlapping. (or sometimes apart from each other.)
How it happens:
hist(volcano, breaks=10) # and any other data
This also happens with
2011 Jul 22
1
default par
Hello dear R-developers,
two questions on an otherwise magnificent program:
1)
Is there a way to set defaults for par differently than R offers normally?
I for example would like to have las default to 1. (or in the same style, sometimes type in plot() could be "l" per default).
Tthe following post desribes pretty much exactly that:
2012 Jul 18
1
check whether connection can be opened
Hi all,
I'm working on a function that reads online data that is only available to certain IPs. It then writes a subset of the data into a file.
So whenever I'm logged in elsewhere or am not connected to the internet, I get an error, and the function is terminated.
I want it to rather print a message into the file.
Is there any way to test whether a connection can be opened?
Analogous to
2013 Jan 14
1
tabstop in graphics
Hi,
I'm curious about Tab stops in graphics:
plot(1)
text(1.2, 1.2, "Char\nMoreChar")
works fine, but
text(1.2, 0.8, "Char\tMoreChar")
doesn't.
Exporting with pdf tells me that the sign width is unknown.
I'm not into informatics, so I don't know how a tabstop actually works. Is this at all possible in graphical commands as it is in write.table and the like?
2012 Aug 02
0
buffering output to the console
Hey all,
I was wondering about the order of execution of functions and found that, in fact, I should look at the topic of buffering output to the console.
Which I did - below are some links of related topics, in case anyone wants to read up on it.
I decided to change the concerning lines in the file "Rconsole" in the "etc"-folder to
?? ## Default setting for console
2018 May 29
2
readLines function with R >= 3.5.0
On 28.05.2018 16:38, Martin Maechler wrote:
> Then, I now do think this needs to be dealt with as a bug
> (but I'm not delving into fixing it!)
Ok. Can somebody with write privileges in bugzilla add the bug report? I
can also do this myself, if somebody with the required privileges can
create a user for me.
Greetings
Ralf
PS: I get an error message from
2006 Nov 05
1
lme4 install error
Dear all,
I'm trying to install lme4 (after having installed R 2.4.0 from source, and
having installed the latest Matrix package). lme4 fails with the following
message:
pedigree.o definition of _lme4_xSym in section (__DATA,__common)
pedigree.o definition of _lme4_ySym in section (__DATA,__common)
make: *** [lme4.so] Error 1
ERROR: compilation failed for package 'lme4'
** Removing
1998 Apr 24
1
incorrect file copy in w95
we are running samba (1.9.18p4) on a sun ultra(solaris 2.5)
------------------------------------------------------------------------------
any now discribed file operations on the w95-pc are done using MS EXPLORER.
- on a w95-pc a unix partition is mounted.
- a file is copied from the mounted unix partition to the local pc-disk.
- the just now copied file is changed on the unix host and shall
2018 Sep 12
1
Environments and parallel processing
On 12.09.2018 20:20, G?bor Cs?rdi wrote:
> This is all normal, a fork cluster works with processes, that do not
> share memory.
And if you are after shared-memory parallelism, you can try the 'Rdsm'
package: https://cran.r-project.org/package=Rdsm
Greetings
Ralf
--
Ralf Stubner
Senior Software Engineer / Trainer
daqana GmbH
Dortustra?e 48
14467 Potsdam
T: +49 331 23 61 93 11
F:
2018 May 28
5
readLines function with R >= 3.5.0
On 28.05.2018 11:07, G?bor Cs?rdi wrote:
> stdin() is not the same as file("stdin"), see the note in ?stdin.
In particular stdin() works in an interactive session but not when R -f
/ Rscript is used, since it does not wait for the user to input anything:
$ R -f readLines.R
R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Copyright (C) 2018 The R Foundation for Statistical
2018 May 25
2
readLines function with R >= 3.5.0
Dear all,
I would like to draw you attention to this question on SO:
https://stackoverflow.com/questions/50372043/readlines-function-with-new-version-of-r
Based on the OP's code I used the script
#######################################
create_matrix <- function() {
cat("Write the numbers of vertices: ")
user_input <- readLines("stdin", n=1)
user_input <-
2013 Mar 06
1
print justify
Hi everyone,
I'm trying to print a table justified to the left, but it doesn't work.
Any hints?
KennArt <- data.frame(NR=c(171,172,174,175,176,177,181,411,980), TYP=c("K?rnermais",
?"Corn Cob Mix", "Zuckermais", "Mischanbau (Silo)Mais/Sonnenblumen",
?"Mais mit Bejagungsschneise in gutem landwirtschaftlichen und ?kologischen Zustand",
2004 Apr 23
1
Domain Admin Group privaleges
Using Samba 3.0.2 (specifically the samba-3.0.2-7.FC1 Fedora package)
with LDAP as a passdb backend I'm encountering problems with Domain
Groups. I have come across various postings, some to this list, with
people that are experiencing similar problems. However I have not found
any information as to the cause/solution. The problem is as follows. I
have the following group configurations in
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?.
pdf(file= 'my_file.pdf' ,onefile=T,paper='A4')
plot(sin, -pi, 2*pi)
dev.off()
Thank's in advance
Juan A. Hernandez
Spain
[[alternative HTML version deleted]]
2011 Nov 14
1
about R instalation
Hello,
I would like to get help on the instalation of R.
I have too few free space in my pc hard disk. So I wonder if it is possible
to install R on an external removable hard drive.
Can it be done? How should I proceed?
Thank you for your help.
best regards,
Francisca A. S. dos Santos Bronner
--
2009 Mar 12
1
read.xls and name of worksheet
Hi,
I would like to some excel files with some worksheets. I tried this with
the following R script:
library(gdata)
i<-1
rc<-0
while(rc != "try-error") {
wksh<-try(read.xls("cluster-microarray-FW.xls",sheet=i,verbose=TRUE,perl="perl"))
rc<-class(wksh)
print(sprintf("------- i=%2d rc=%s ---------------",i,rc))
if (rc !=
2018 Sep 21
1
Bias in R's random integers?
On 9/20/18 5:15 PM, Duncan Murdoch wrote:
> On 20/09/2018 6:59 AM, Ralf Stubner wrote:
>> It is difficult to do this in a package, since R does not provide access
>> to the random bits generated by the RNG. Only a float in (0,1) is
>> available via unif_rand().
>
> I believe it is safe to multiply the unif_rand() value by 2^32, and take
> the whole number part as an