Displaying 20 results from an estimated 30000 matches similar to: "use R to read/print the system hardware configuration"
2013 Aug 26
1
plot categorical variable with percentage infomation
Dear All,
Suppose I have a categorical variable
a=as.factor(sample(1:3,10,replace=T))
plot(a) and hist(as.numeric(a),freq=F) would give the histogram of it.
But I do not know how to add the counts or percentage information for
plot.factor().
hist() can do it but as a numeric variable, the x-axis is not 3
categories in this case.
Thank you for any suggestion.
Best wishes,
Jie
2013 Mar 09
2
read.table freezes the computer
Hi All,
I have a txt file to read into R. The size of it is about 500MB.
This txt file is produced by calling write.table(M, file =
"xxx.txt"), where M is a large matrix
After running MM = read.table("xxx.txt"), the R gui keeps a cpu
core/thread fully occupied forever.
64 bit R with 16GB RAM on Win7 64, i5 cpu should be capable. So if
anyone knows the reason, that will be
2013 Apr 30
2
Quote as element of a vector/list
Dear All,
I would like to store quote as part of an vector.
For instance, I would like to get an character object as
x = " 12"ab"34 "
or
y = c("1", "2", """, "a", "b", """, "3", "4")
Is that possible? Thank you.
Best wishes,
Jie
[[alternative HTML version deleted]]
2012 Sep 14
2
ctrl+r does not work sometimes
Dear All,
This might be a tiny question but I do not know the reason. On my desktop,
sometimes when I use the mouse or ctrl+A select a piece of R script, and
use ctrl+R to run it,
there is no action. If I redo it, it may work.
On my laptop, it is fine. Both are running windows 7.
Best wishes,
Jie
[[alternative HTML version deleted]]
2012 Jul 31
2
protential rounding error concern
Dear All,
I am running a r code on 32bit win, involving absolutely small numbers.
Although I tried sth like the ratio of numers like 10^(-100) and did not
have issue to get the correct answer,
but still a little concerned about it.
Could anyone give some suggestion or have any experience?
Best wishes,
Jie
[[alternative HTML version deleted]]
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
On Mon, Sep 14, 2020 at 05:48:07PM +0300, Dan Carpenter wrote:
> Hi Jie,
>
> url: https://github.com/0day-ci/linux/commits/Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20200911-115013
> base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
> config: parisc-randconfig-m031-20200913 (attached as .config)
> compiler: hppa-linux-gcc (GCC)
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
On Mon, Sep 14, 2020 at 05:48:07PM +0300, Dan Carpenter wrote:
> Hi Jie,
>
> url: https://github.com/0day-ci/linux/commits/Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20200911-115013
> base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
> config: parisc-randconfig-m031-20200913 (attached as .config)
> compiler: hppa-linux-gcc (GCC)
2013 Jul 23
1
p-values from multiple testing
Dear All,
I performed thousands of testings and obtained p-values.
And then I did two-sided uniform KS test of the p-values, the result
claimed it is uniform.
So does it mean that my model are wrong? Because I expect more small
p-values near 0.
This is a preliminary step before correcting the multiplicity.
Attached is hist of p-values (does this list allow attachment?). The ks test:
One-sample
2013 Mar 11
1
Allocate virtual memory on hard drive
Dear All,
I have a long sequence and want to find the quantile, or sort it first.
It seems sort() or quantile() reaches the memory limit.
Is there a way to allocate more memoy on SSD for R when startup, so
that R can use both RAM and hard drive space?
Thank you.
Best wishes,
Jie
2014 Aug 22
3
parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
Hi,
Both under the current R-devel (r66456) and a version from about 3
months ago, I experience the following behavior:
> parallel::detectCores(TRUE)
Error in system(cmd, TRUE) : error in running command
> traceback()
3: system(cmd, TRUE)
2: gsub("^ +", "", system(cmd, TRUE)[1])
1: parallel::detectCores(TRUE)
>
This is on Ubuntu 14.04. Does anybody else see this? [I
2011 Sep 02
2
how to return back to go on my cycle while read my files
hi ,when i read a lots of files
for (i in 1:totnum)
{
cop_x_data<-read.table(flnm[i],skip=2)
if(i==1) {cop_data=cop_x_data}
else {cop_data=rbind(cop_data,cop_x_data)}
}
some of the files are missing . so this loop can not go on .I wonder how can
I go on
the loop cycle while reading the files just like the command
read(unit,err=linenum) in fortran ?
thank you .
--
TANG Jie
[[alternative
2011 Nov 17
2
how to read a freetext line ?
hi everyone .
Here I have a text where there are some integer and string variables.But I
can not read them by readLines and scan
the text is :
weight ;30;130
food:2;1;12
color:white;black
the first column is the names of the variables and others are the value of
them.
the column in different line are different.
Can anyone help me ?
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
2012 Aug 08
1
random number generator with SNOW/ Parallel/ foreach
Dear All,
I have three classes of questions about generating random numbers with
different packages (windows xp 32bit R).
.
1. Suppose I would like to use package *foreach*, can I use current
Sys.time as a seed?
Although I can get the time up to1e-6 second precesion, the code below dose
not work well on a local machine with two cores. #################
library(foreach)
library(snow)
2012 Mar 07
1
how to read a file containing a series filename
hi everyone .
I have a group of files that needs to be read in .
And I put their filename into one file with the name "file.txt"
And in the file.txt,the filename are shown as below :
H20100902.TXT
H20100903.TXT
H20100904.TXT
H20100905.TXT
H20100906.TXT
H20100907.TXT
H20100908.TXT
Now I want to read these file from the file.txt by such codes:
filename <-("file.txt")
pp
2019 Apr 14
2
[A bug?] Failed to use BuildMI to add R7 - R12 registers for tADDi8 and tPUSH of ARM
Hi Craig,
Thanks for the information. Can you point to the source that specifies tGPR to be R0 - R7?
I tried to search in ARMInstrThumb.td but couldn’t find it.
Thanks,
- Jie
On Apr 14, 2019, at 15:28, Craig Topper <craig.topper at gmail.com<mailto:craig.topper at gmail.com>> wrote:
I believe there is probably a separate instruction in LLVM for thumb2 add. Probably starting with t2
2019 Oct 20
3
How to configure cmake to not rebuild .inc (tablegen) files?
Dear all,
I’m developing Clang&LLVM on MacOS Catalina 10.15.
Now every time I "make clang", the building systems rebuilds
all the .inc files generated by cmake, which essentially
rebuilds all the tablegen files in llvm, although I did not
change any of the tablegen files. The building is unnecessary
and slow, especially when it builds the X86GenSubtargetInfo.inc.
Is there a way to
2001 Aug 24
1
Recursive flag needs fixing 2.4.7pre1
Martin,
Just a minor fix.
Jie,
Try the -r option (or the --recurse) option instead.
It looks like the source changed to this:
options.c: {"recurse", 'r', POPT_ARG_NONE, &recurse},
But the help is still at:
options.c: rprintf(F," -r, --recursive recurse into
directories\n");
eric
Jie Gao wrote:
>
> rsync: --recursive:
2012 Jun 12
1
how to skip out and go on read while the read.table meet with a null file
hi ,R users
I read a series of file by the command shown as below.
cop_x_data<-read.table(flnm,skip=2)
the first two line of the files are headfile and I skip them.
and sometimes the original data file is null and there is no any data
in the file except for the head information.
At this situation,my command would be in the error and tell me that
there is not data in the file and can not go
2019 Apr 14
2
[A bug?] Failed to use BuildMI to add R7 - R12 registers for tADDi8 and tPUSH of ARM
Sorry for not being specific enough. ARMv7-M includes Thumb and Thumb2.
It has 12 regular registers (R0 - R12), and R8 - R12 are used.
I can generate mov instruction that from/ R8-R12 to/from R0-R6.
From this ARM page http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/ch03s03s01.html
R9 - R12 have their conventional usage, but I don’t if this is the reason we cannot
use them
2001 Aug 23
5
rsync hangs on solaris
Hi All,
I've got a cron-run rsync (2.4.6) hang on both sides (solaris to
solaris). The platform is:
SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-80
Sorry if this has been asked before, for I couldn't find a
searchable archive for this list on .
Regards,
Jie